Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 23:30:30 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475926 - head/devel/py-dateutil
Message-ID:  <201807302330.w6UNUUox059354@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Jul 30 23:30:30 2018
New Revision: 475926
URL: https://svnweb.freebsd.org/changeset/ports/475926

Log:
  devel/py-dateutil: Update to 2.7.3
  
    - dateutil now uses setuptools_scm to derive its version which requires
  	a PyPI sdist or git checkout. USE_GITHUB uses tarballs, so switch to
  	CHEESEHOP accordingly.
  
  Changelog:
  
    https://github.com/dateutil/dateutil/blob/2.7.3/NEWS
  
  PR:		230062
  Submitted by:	Radim Kolar <hsn sendmail cz>

Modified:
  head/devel/py-dateutil/Makefile
  head/devel/py-dateutil/distinfo

Modified: head/devel/py-dateutil/Makefile
==============================================================================
--- head/devel/py-dateutil/Makefile	Mon Jul 30 23:25:56 2018	(r475925)
+++ head/devel/py-dateutil/Makefile	Mon Jul 30 23:30:30 2018	(r475926)
@@ -2,9 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	dateutil
-PORTVERSION=	2.6.1
+PORTVERSION=	2.7.3
 CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	python-${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	koobs@FreeBSD.org
 COMMENT=	Extensions to the standard Python datetime module
@@ -12,15 +14,18 @@ COMMENT=	Extensions to the standard Python datetime mo
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}freezegun>0:devel/py-freezegun@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hypothesis>=3.30:devel/py-hypothesis@${PY_FLAVOR}
 
 USES=		python
-USE_GITHUB=	yes
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
 
 .include <bsd.port.mk>

Modified: head/devel/py-dateutil/distinfo
==============================================================================
--- head/devel/py-dateutil/distinfo	Mon Jul 30 23:25:56 2018	(r475925)
+++ head/devel/py-dateutil/distinfo	Mon Jul 30 23:30:30 2018	(r475926)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499770849
-SHA256 (dateutil-dateutil-2.6.1_GH0.tar.gz) = ea1872b3296efca80dec69aef6217895d7776008fcfba3532fb53bbdc7814ad1
-SIZE (dateutil-dateutil-2.6.1_GH0.tar.gz) = 259460
+TIMESTAMP = 1532990877
+SHA256 (python-dateutil-2.7.3.tar.gz) = e27001de32f627c22380a688bcc43ce83504a7bc5da472209b4c70f02829f0b8
+SIZE (python-dateutil-2.7.3.tar.gz) = 302871



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807302330.w6UNUUox059354>