Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 20:06:55 +1100 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173855: [MAINTAINER] devel/py27-rauth: update to 0.4.17, Use GITHUB, Add TESTS option
Message-ID:  <20121123090655.E1B6F3A38F@freebsd-9-amd64.localdomain>
Resent-Message-ID: <201211230910.qAN9A0hk054413@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173855
>Category:       ports
>Synopsis:       [MAINTAINER] devel/py27-rauth: update to 0.4.17, Use GITHUB, Add TESTS option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 23 09:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul  7 21:26:56 EST
>Description:
- Update to 0.4.17
- Use GITHUB mastersite (remove CHEESESHOP)
- Add TESTS option and related bits
- Add TEST_DEPENDS and regression-test target

Changes: https://github.com/litl/rauth/commits/0.4.17

====[QA]====
portlint: WARN: Makefile: only one MASTER_SITE configured (FP)
porttest: OK
unittest: Ran 87 tests in 0.270s - OK
============

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-rauth-0.4.17.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/py-rauth/Makefile ./Makefile
--- /usr/ports/devel/py-rauth/Makefile	2012-11-17 16:56:50.000000000 +1100
+++ ./Makefile	2012-11-16 23:51:26.000000000 +1100
@@ -2,13 +2,12 @@
 # Date created:				2012-06-17
 # Whom:					koobs <koobs.freebsd@gmail.com>
 #
-# $FreeBSD: ports/devel/py-rauth/Makefile,v 1.4 2012/11/17 05:56:50 svnexp Exp $
+# $FreeBSD: ports/devel/py-rauth/Makefile,v 1.1 2012/06/17 19:16:34 rm Exp $
 #
 
 PORTNAME=	rauth
-PORTVERSION=	0.4.15
+PORTVERSION=	0.4.17
 CATEGORIES=	devel www python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs.freebsd@gmail.com
@@ -18,8 +17,29 @@
 
 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>
diff -ruN --exclude=CVS /usr/ports/devel/py-rauth/distinfo ./distinfo
--- /usr/ports/devel/py-rauth/distinfo	2012-08-17 06:09:06.000000000 +1000
+++ ./distinfo	2012-11-16 23:50:22.000000000 +1100
@@ -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
diff -ruN --exclude=CVS /usr/ports/devel/py-rauth/pkg-descr ./pkg-descr
--- /usr/ports/devel/py-rauth/pkg-descr	2012-08-17 06:09:06.000000000 +1000
+++ ./pkg-descr	2012-06-18 05:16:34.000000000 +1000
@@ -6,4 +6,4 @@
 - Service wrappers for convenient connection initialization
 - Well tested (100% coverage)
 
-WWW: https://github.com/litl/rauth
+WWW:	https://github.com/litl/rauth
diff -ruN --exclude=CVS /usr/ports/devel/py-rauth/pkg-plist ./pkg-plist
--- /usr/ports/devel/py-rauth/pkg-plist	2012-11-17 16:56:50.000000000 +1100
+++ ./pkg-plist	2012-06-18 05:16:34.000000000 +1000
@@ -1,4 +1,4 @@
-@comment $FreeBSD: ports/devel/py-rauth/pkg-plist,v 1.2 2012/11/17 05:56:50 svnexp Exp $
+@comment $FreeBSD: ports/devel/py-rauth/pkg-plist,v 1.1 2012/06/17 19:16:34 rm Exp $
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/__init__.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rauth/__init__.pyo
--- py27-rauth-0.4.17.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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