From 16b6226a6143997ce0a460aa303d08072788744f Mon Sep 17 00:00:00 2001 From: koobs Date: Fri, 26 Feb 2016 11:51:32 +0000 Subject: 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) --- sysutils/py-shutilwhich/Makefile | 15 ++++++++++++--- sysutils/py-shutilwhich/distinfo | 4 ++-- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'sysutils') 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 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 -- cgit