svn commit: r375209 - in head/www/py-requests-oauthlib: . files

Kubilay Kocak koobs at FreeBSD.org
Mon Dec 22 05:31:50 UTC 2014


Author: koobs
Date: Mon Dec 22 05:31:48 2014
New Revision: 375209
URL: https://svnweb.freebsd.org/changeset/ports/375209
QAT: https://qat.redports.org/buildarchive/r375209/

Log:
  security/py-requests-oauthlib: Update to 0.4.2
  
  - Update to 0.4.2
  - Switch distribution files from Github -> PyPi (CHEESESHOP)
  - Add TESTS option for running the test suite
  - Update RUN_DEPENDS and TEST_DEPENDS
  - Use modern Python framework bits
  - Remove unecessary patch (upstreamed)
  
  Changes:
  
    * https://github.com/requests/requests-oauthlib/blob/master/HISTORY.rst
  
  PR:		193097
  Submitted by:	Muhammad Moinur Rahman <5u623l20 at gmail com> (with changes)

Deleted:
  head/www/py-requests-oauthlib/files/
Modified:
  head/www/py-requests-oauthlib/Makefile
  head/www/py-requests-oauthlib/distinfo

Modified: head/www/py-requests-oauthlib/Makefile
==============================================================================
--- head/www/py-requests-oauthlib/Makefile	Mon Dec 22 05:07:43 2014	(r375208)
+++ head/www/py-requests-oauthlib/Makefile	Mon Dec 22 05:31:48 2014	(r375209)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	requests-oauthlib
-PORTVERSION=	0.3.2
-PORTREVISION=	2
+PORTVERSION=	0.4.2
 CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs at FreeBSD.org
@@ -12,18 +12,18 @@ COMMENT=	OAuthlib authentication support
 
 LICENSE=	ISCL
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oauthlib>=0.4.2:${PORTSDIR}/security/py-oauthlib \
-		${PYTHON_PKGNAMEPREFIX}requests1>0:${PORTSDIR}/www/py-requests1
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	requests
-GH_TAGNAME=	v${PORTVERSION}
-GH_COMMIT=	0b1fe5c
-
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oauthlib>=0.6.2:${PORTSDIR}/security/py-oauthlib \
+		{PYTHON_PKGNAMEPREFIX}requests>=2.0.0:${PORTSDIR}/www/py-requests
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
+		${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
+
+OPTIONS_DEFINE=	TESTS
+
+TESTS_DESC=		Install test suite dependencies
+TESTS_BUILD_DEPENDS=	${TEST_DEPENDS}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
 
 regression-test: build
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

Modified: head/www/py-requests-oauthlib/distinfo
==============================================================================
--- head/www/py-requests-oauthlib/distinfo	Mon Dec 22 05:07:43 2014	(r375208)
+++ head/www/py-requests-oauthlib/distinfo	Mon Dec 22 05:31:48 2014	(r375209)
@@ -1,2 +1,2 @@
-SHA256 (requests-oauthlib-0.3.2.tar.gz) = 93f6252c16537d7d42ca6777e97425a7de801772afc2df5244ae65eaf5b74f51
-SIZE (requests-oauthlib-0.3.2.tar.gz) = 13926
+SHA256 (requests-oauthlib-0.4.2.tar.gz) = 9e0223b89518edac61a97b56ff78f271056ce08c8a17c6b644aef244fac83f23
+SIZE (requests-oauthlib-0.4.2.tar.gz) = 53341


More information about the svn-ports-head mailing list