aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2016-02-21 18:51:07 +0800
committerkoobs <koobs@FreeBSD.org>2016-02-21 18:51:07 +0800
commitd8dd2ff8913e44b3372011d5e481e8e3e4c2b549 (patch)
tree718a56aa73dc27ec20500ace151a6f40d2393c6e
parentb62d3fb2c4c8a3ebdeed50eae7aa75aad290873f (diff)
downloadfreebsd-ports-gnome-d8dd2ff8913e44b3372011d5e481e8e3e4c2b549.tar.gz
freebsd-ports-gnome-d8dd2ff8913e44b3372011d5e481e8e3e4c2b549.tar.zst
freebsd-ports-gnome-d8dd2ff8913e44b3372011d5e481e8e3e4c2b549.zip
devel/py-d2to1: Update to 0.2.12.post1
- Update DISTVERSION and distinfo checksum (0.2.12.post1) - Add setuptools as an explicit RUN_DEPENDS (PEP20) - Add TEST_DEPENDS and test target - Switch to GITHUB because test package isnt in the source distribution
-rw-r--r--devel/py-d2to1/Makefile12
-rw-r--r--devel/py-d2to1/distinfo4
2 files changed, 12 insertions, 4 deletions
diff --git a/devel/py-d2to1/Makefile b/devel/py-d2to1/Makefile
index d357610be734..53a1b2ffa1b4 100644
--- a/devel/py-d2to1/Makefile
+++ b/devel/py-d2to1/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= d2to1
-PORTVERSION= 0.2.11
+DISTVERSION= 0.2.12.post1
CATEGORIES= devel python
-MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
@@ -12,7 +11,16 @@ COMMENT= Distutils2-like setup.cfg files with setuptools setup.py
LICENSE= BSD3CLAUSE
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-setuptools${PYTHON_SUFFIX}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
+
USES= python
+USE_GITHUB= yes
USE_PYTHON= distutils autoplist
+GH_ACCOUNT= embray
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
.include <bsd.port.mk>
diff --git a/devel/py-d2to1/distinfo b/devel/py-d2to1/distinfo
index 9494ca61cfd9..7e6ca45311a6 100644
--- a/devel/py-d2to1/distinfo
+++ b/devel/py-d2to1/distinfo
@@ -1,2 +1,2 @@
-SHA256 (d2to1-0.2.11.tar.gz) = 64097a1b9270458898a0047034e9ba422a6456f51771105f33edb6b38e19bfa8
-SIZE (d2to1-0.2.11.tar.gz) = 25237
+SHA256 (embray-d2to1-0.2.12.post1_GH0.tar.gz) = 80e026ccc604850d8171fd8599b3130d234c0d443e1dc4e2039be0b204cea9b4
+SIZE (embray-d2to1-0.2.12.post1_GH0.tar.gz) = 41671