View | Details | Raw Unified | Return to bug 193097
Collapse All | Expand All

(-)./Makefile (-14 / +7 lines)
Lines 2-10 Link Here
2
# $FreeBSD: head/www/py-requests-oauthlib/Makefile 341731 2014-01-29 13:18:39Z miwi $
2
# $FreeBSD: head/www/py-requests-oauthlib/Makefile 341731 2014-01-29 13:18:39Z miwi $
3
3
4
PORTNAME=	requests-oauthlib
4
PORTNAME=	requests-oauthlib
5
PORTVERSION=	0.3.2
5
PORTVERSION=	0.4.1
6
PORTREVISION=	2
7
CATEGORIES=	www python
6
CATEGORIES=	www python
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
9
10
MAINTAINER=	koobs@FreeBSD.org
10
MAINTAINER=	koobs@FreeBSD.org
Lines 12-29 Link Here
12
12
13
LICENSE=	ISCL
13
LICENSE=	ISCL
14
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oauthlib>=0.4.2:${PORTSDIR}/security/py-oauthlib \
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}oauthlib>=0.6.2:${PORTSDIR}/security/py-oauthlib \
16
		${PYTHON_PKGNAMEPREFIX}requests1>0:${PORTSDIR}/www/py-requests1
16
		${PYTHON_PKGNAMEPREFIX}requests>=2:${PORTSDIR}/www/py-requests
17
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
17
18
18
USES=		python
19
USE_GITHUB=	yes
19
USE_PYTHON=	distutils autoplist
20
GH_ACCOUNT=	requests
21
GH_TAGNAME=	v${PORTVERSION}
22
GH_COMMIT=	0b1fe5c
23
24
USE_PYTHON=		yes
25
USE_PYDISTUTILS=	yes
26
PYDISTUTILS_AUTOPLIST=	yes
27
20
28
regression-test: build
21
regression-test: build
29
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
22
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (requests-oauthlib-0.3.2.tar.gz) = 93f6252c16537d7d42ca6777e97425a7de801772afc2df5244ae65eaf5b74f51
1
SHA256 (requests-oauthlib-0.4.1.tar.gz) = c6d2550c4fefc2a03d7422caf61e72ca7827854e0deefe201deb34a91527d88e
2
SIZE (requests-oauthlib-0.3.2.tar.gz) = 13926
2
SIZE (requests-oauthlib-0.4.1.tar.gz) = 14439
(-)./files/patch-setup.py (-12 lines)
Lines 1-12 Link Here
1
--- ./setup.py.orig	2013-05-04 16:37:49.000000000 +1000
2
+++ ./setup.py	2013-05-04 17:04:12.135652732 +1000
3
@@ -43,6 +43,9 @@
4
         'Programming Language :: Python :: 2.6',
5
         'Programming Language :: Python :: 2.7',
6
     ),
7
+    zip_safe=False,
8
+    tests_require = ['mock'],
9
+    test_suite="tests",
10
 )
11
 
12
 

Return to bug 193097