svn commit: r496774 - head/archivers/py-xopen

Jason W. Bacon jwb at FreeBSD.org
Sun Mar 24 20:05:16 UTC 2019


Author: jwb
Date: Sun Mar 24 20:05:14 2019
New Revision: 496774
URL: https://svnweb.freebsd.org/changeset/ports/496774

Log:
  archivers/py-xopen: Upgrade to 0.5.0
  
  Add do-test target

Modified:
  head/archivers/py-xopen/Makefile
  head/archivers/py-xopen/distinfo

Modified: head/archivers/py-xopen/Makefile
==============================================================================
--- head/archivers/py-xopen/Makefile	Sun Mar 24 19:52:48 2019	(r496773)
+++ head/archivers/py-xopen/Makefile	Sun Mar 24 20:05:14 2019	(r496774)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	xopen
-DISTVERSION=	0.3.5
+DISTVERSION=	0.5.0
 CATEGORIES=	archivers python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,10 +10,18 @@ MAINTAINER=	jwb at FreeBSD.org
 COMMENT=	Open compressed files transparently
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-NO_ARCH=	yes
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}bz2file>=0.98:archivers/py-bz2file@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.4+
 USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
 
 .include <bsd.port.mk>

Modified: head/archivers/py-xopen/distinfo
==============================================================================
--- head/archivers/py-xopen/distinfo	Sun Mar 24 19:52:48 2019	(r496773)
+++ head/archivers/py-xopen/distinfo	Sun Mar 24 20:05:14 2019	(r496774)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530899151
-SHA256 (xopen-0.3.5.tar.gz) = 3a418d5d3eacc6645d8f002635308651bb6e47b9cabb19ae3abad600aa117ce3
-SIZE (xopen-0.3.5.tar.gz) = 4736
+TIMESTAMP = 1553347516
+SHA256 (xopen-0.5.0.tar.gz) = b097cd25e8afec42b6e1780c1f6315016171b5b6936100cdf307d121e2cbab9f
+SIZE (xopen-0.5.0.tar.gz) = 9616


More information about the svn-ports-all mailing list