Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2019 20:05:14 +0000 (UTC)
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496774 - head/archivers/py-xopen
Message-ID:  <201903242005.x2OK5Fd6052490@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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