svn commit: r307723 - head/devel/py-rauth

Wesley Shields wxs at FreeBSD.org
Sat Nov 24 19:17:23 UTC 2012


Author: wxs
Date: Sat Nov 24 19:17:23 2012
New Revision: 307723
URL: http://svnweb.freebsd.org/changeset/ports/307723

Log:
  Update to 0.4.17.
  Switch to github.
  Add tests.
  
  PR:		ports/173855
  Submitted by:	Kubilay Kocak <koobs.freebsd at gmail.com> (maintainer)
  Feature safe:	yes

Modified:
  head/devel/py-rauth/Makefile   (contents, props changed)
  head/devel/py-rauth/distinfo   (contents, props changed)
  head/devel/py-rauth/pkg-descr   (contents, props changed)

Modified: head/devel/py-rauth/Makefile
==============================================================================
--- head/devel/py-rauth/Makefile	Sat Nov 24 19:15:54 2012	(r307722)
+++ head/devel/py-rauth/Makefile	Sat Nov 24 19:17:23 2012	(r307723)
@@ -6,9 +6,8 @@
 #
 
 PORTNAME=	rauth
-PORTVERSION=	0.4.15
+PORTVERSION=	0.4.17
 CATEGORIES=	devel www python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs.freebsd at gmail.com
@@ -18,8 +17,29 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0.12.0:${PORTSDIR}/www/py-requests
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	litl
+GH_COMMIT=	219d35f
+
+OPTIONS_DEFINE=	TESTS
+TESTS_DESC=	Install tools for unit testing
+OPTIONSFILE?=	${PORT_DBDIR}/py-${PORTNAME}/options
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MTESTS}
+BUILD_DEPENDS:=	${TEST_DEPENDS}
+.endif
+
 # Python3 ready
-USE_PYTHON=	yes
-USE_PYDISTUTILS=easy_install
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	easy_install
+
+TEST_DEPENDS:=	${RUN_DEPENDS} \
+		nosetests:${PORTSDIR}/devel/py-nose \
+		${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+
+regression-test: build
+	@cd ${WRKSRC} && nosetests
 
 .include <bsd.port.mk>

Modified: head/devel/py-rauth/distinfo
==============================================================================
--- head/devel/py-rauth/distinfo	Sat Nov 24 19:15:54 2012	(r307722)
+++ head/devel/py-rauth/distinfo	Sat Nov 24 19:17:23 2012	(r307723)
@@ -1,2 +1,2 @@
-SHA256 (rauth-0.4.15.tar.gz) = cf33e9def3754a61cb7f0d97ba7c19f2194f581f2bf0ad91c84d37dd9e7aecdd
-SIZE (rauth-0.4.15.tar.gz) = 13622
+SHA256 (rauth-0.4.17.tar.gz) = c3fcfa6e9f0366074806dfc6346511ec664bde5a30a85108c037ecfe70bdded6
+SIZE (rauth-0.4.17.tar.gz) = 214637

Modified: head/devel/py-rauth/pkg-descr
==============================================================================
--- head/devel/py-rauth/pkg-descr	Sat Nov 24 19:15:54 2012	(r307722)
+++ head/devel/py-rauth/pkg-descr	Sat Nov 24 19:17:23 2012	(r307723)
@@ -6,4 +6,4 @@ package is wrapped around the superb Pyt
 - Service wrappers for convenient connection initialization
 - Well tested (100% coverage)
 
-WWW: https://github.com/litl/rauth
+WWW:	https://github.com/litl/rauth


More information about the svn-ports-head mailing list