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:
sthen 2015-06-30 13:42:15 +00:00
parent 3a123739c9
commit ad63d3c832
2 changed files with 15 additions and 3 deletions

View File

@ -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>

View 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,