aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2016-02-26 19:51:32 +0800
committerkoobs <koobs@FreeBSD.org>2016-02-26 19:51:32 +0800
commit16b6226a6143997ce0a460aa303d08072788744f (patch)
tree951f62dc199bfe6ef2b522d1651f1d277e1deb9f /sysutils
parentdfa766fc4750f8f5a0dd23e77b8f949322671547 (diff)
downloadfreebsd-ports-gnome-16b6226a6143997ce0a460aa303d08072788744f.tar.gz
freebsd-ports-gnome-16b6226a6143997ce0a460aa303d08072788744f.tar.zst
freebsd-ports-gnome-16b6226a6143997ce0a460aa303d08072788744f.zip
sysutils/py-shutilwhich: Update to 1.1.0
- Update PORTVERSION and distinfo checksum (1.1.0) - Switch to GITHUB for DISTFILES (includes tests) - Add TEST_DEPENDS and test target - Limit Python versions to -3.3. 3.4+ is a noop - Enable NO_ARCH (achitecture independent)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-shutilwhich/Makefile15
-rw-r--r--sysutils/py-shutilwhich/distinfo4
2 files changed, 14 insertions, 5 deletions
diff --git a/sysutils/py-shutilwhich/Makefile b/sysutils/py-shutilwhich/Makefile
index 69d56d84cb0b..649aede16b05 100644
--- a/sysutils/py-shutilwhich/Makefile
+++ b/sysutils/py-shutilwhich/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= shutilwhich
-PORTVERSION= 1.0.1
+PORTVERSION= 1.1.0
CATEGORIES= sysutils python
-MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
@@ -12,7 +11,17 @@ COMMENT= shutil.which for those not using Python 3.3
LICENSE= PSFL
-USES= python
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
+USES= python:-3.3
+USE_GITHUB= yes
USE_PYTHON= autoplist distutils
+GH_ACCOUNT= mbr
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs
+
.include <bsd.port.mk>
diff --git a/sysutils/py-shutilwhich/distinfo b/sysutils/py-shutilwhich/distinfo
index d8d7d9bc5caa..bb5ffd868b63 100644
--- a/sysutils/py-shutilwhich/distinfo
+++ b/sysutils/py-shutilwhich/distinfo
@@ -1,2 +1,2 @@
-SHA256 (shutilwhich-1.0.1.tar.gz) = 698b144c49d10730500ba6bd1446bb0c45c4bb01b005f24c6cc1c1e6567de037
-SIZE (shutilwhich-1.0.1.tar.gz) = 2099
+SHA256 (mbr-shutilwhich-1.1.0_GH0.tar.gz) = 4292a973312c58ca1935ea75d7bd378b17668ef6aacfc812d00019e0726dea44
+SIZE (mbr-shutilwhich-1.1.0_GH0.tar.gz) = 2144