pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-requests py-requests: use TEST_DEPENDS; added...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1fdb4c4fc7a
branches:  trunk
changeset: 380860:d1fdb4c4fc7a
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed May 23 09:59:33 2018 +0000

description:
py-requests: use TEST_DEPENDS; added "python" to CATEGORIES

diffstat:

 devel/py-requests/Makefile |  29 +++++++++++------------------
 1 files changed, 11 insertions(+), 18 deletions(-)

diffs (52 lines):

diff -r e81d13a2f234 -r d1fdb4c4fc7a devel/py-requests/Makefile
--- a/devel/py-requests/Makefile        Wed May 23 09:44:08 2018 +0000
+++ b/devel/py-requests/Makefile        Wed May 23 09:59:33 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2017/11/27 07:33:47 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2018/05/23 09:59:33 adam Exp $
 
 DISTNAME=      requests-2.18.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel www
+CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests/}
 
 MAINTAINER=    imil%NetBSD.org@localhost
@@ -10,28 +10,21 @@
 COMMENT=       HTTP library, written in Python, for human beings
 LICENSE=       apache-2.0
 
-USE_LANGUAGES=         # none
-REPLACE_PYTHON+=       requests/certs.py
-REPLACE_PYTHON+=       tests/test_requests.py
-
+DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=0.14:../../security/py-OpenSSL
 DEPENDS+=      ${PYPKGPREFIX}-certifi>=2017.4.17:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet
 DEPENDS+=      ${PYPKGPREFIX}-cryptography>=1.3.4:../../security/py-cryptography
-DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=0.14:../../security/py-OpenSSL
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
 DEPENDS+=      ${PYPKGPREFIX}-urllib3>=1.12.1:../../www/py-urllib3
+TEST_DEPENDS+= ${PYPKGPREFIX}-Socks>=1.5.8:../../net/py-Socks
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-Socks>=1.5.6:../../net/py-Socks
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test>=2.8.0:../../devel/py-test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-# cyclic dependency
-# py-test-httpbin
-# py-httpbin
-# py-raven
-# py-requests
-#BUILD_DEPENDS+=       ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
+USE_LANGUAGES=         # none
+REPLACE_PYTHON+=       requests/certs.py
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"



Home | Main Index | Thread Index | Old Index