don't let setuptools in py-jwt fetch pytest-runner over the network at build
time. ok johan huldtgren, landry@
This commit is contained in:
parent
3a123739c9
commit
ad63d3c832
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/06/26 07:35:50 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2015/06/30 13:42:15 sthen Exp $
|
||||
|
||||
COMMENT = JSON Web Token implementation in Python
|
||||
|
||||
@ -20,7 +20,8 @@ MODPY_SETUPTOOLS = Yes
|
||||
|
||||
RUN_DEPENDS = security/py-cryptography
|
||||
|
||||
TEST_DEPENDS = devel/py-test \
|
||||
devel/py-test-cov
|
||||
# tests are available, but need pytest-runner plus dep's (which aren't in
|
||||
# tree) at build time; if adding these, remove patch-setup_py
|
||||
NO_TEST = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
www/py-jwt/patches/patch-setup_py
Normal file
11
www/py-jwt/patches/patch-setup_py
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1 2015/06/30 13:42:16 sthen Exp $
|
||||
--- setup.py.orig Tue Jun 30 08:58:03 2015
|
||||
+++ setup.py Tue Jun 30 08:58:06 2015
|
||||
@@ -61,7 +61,6 @@ setup(
|
||||
'Topic :: Utilities',
|
||||
],
|
||||
test_suite='tests',
|
||||
- setup_requires=['pytest-runner'],
|
||||
tests_require=tests_require,
|
||||
extras_require=dict(
|
||||
test=tests_require,
|
Loading…
x
Reference in New Issue
Block a user