Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 11:51:32 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409599 - head/sysutils/py-shutilwhich
Message-ID:  <201602261151.u1QBpWaG047410@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Fri Feb 26 11:51:32 2016
New Revision: 409599
URL: https://svnweb.freebsd.org/changeset/ports/409599

Log:
  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)

Modified:
  head/sysutils/py-shutilwhich/Makefile
  head/sysutils/py-shutilwhich/distinfo

Modified: head/sysutils/py-shutilwhich/Makefile
==============================================================================
--- head/sysutils/py-shutilwhich/Makefile	Fri Feb 26 11:27:30 2016	(r409598)
+++ head/sysutils/py-shutilwhich/Makefile	Fri Feb 26 11:51:32 2016	(r409599)
@@ -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 usin
 
 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>

Modified: head/sysutils/py-shutilwhich/distinfo
==============================================================================
--- head/sysutils/py-shutilwhich/distinfo	Fri Feb 26 11:27:30 2016	(r409598)
+++ head/sysutils/py-shutilwhich/distinfo	Fri Feb 26 11:51:32 2016	(r409599)
@@ -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



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