Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2016 10:51:08 +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: r409282 - head/devel/py-d2to1
Message-ID:  <201602211051.u1LAp8co097123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Feb 21 10:51:07 2016
New Revision: 409282
URL: https://svnweb.freebsd.org/changeset/ports/409282

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

Modified:
  head/devel/py-d2to1/Makefile
  head/devel/py-d2to1/distinfo

Modified: head/devel/py-d2to1/Makefile
==============================================================================
--- head/devel/py-d2to1/Makefile	Sun Feb 21 10:41:59 2016	(r409281)
+++ head/devel/py-d2to1/Makefile	Sun Feb 21 10:51:07 2016	(r409282)
@@ -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
 
 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>

Modified: head/devel/py-d2to1/distinfo
==============================================================================
--- head/devel/py-d2to1/distinfo	Sun Feb 21 10:41:59 2016	(r409281)
+++ head/devel/py-d2to1/distinfo	Sun Feb 21 10:51:07 2016	(r409282)
@@ -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



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