pkgsrc-Bugs archive

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

pkg/49746: devel/py-requests: Remove needless dependencies



>Number:         49746
>Category:       pkg
>Synopsis:       devel/py-requests: Remove needless dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 14 21:20:00 +0000 2015
>Originator:     Christian Hattemer
>Release:        6.1
>Organization:
>Environment:
NetBSD webster.lan 6.1_STABLE NetBSD 6.1_STABLE (WEBSTER) #0
>Description:
The package has needless dependencies. I don't know what they were supposed to do, but requests is also working without them. I verified that manually and with www/py-httpie. When installing with pip into a virtualenv they aren't installed as well.
>How-To-Repeat:
Look at the package, notice that there are needless dependencies
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-requests/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	9 Mar 2015 16:57:04 -0000	1.13
+++ Makefile	14 Mar 2015 20:39:26 -0000
@@ -10,12 +10,6 @@
 COMMENT=	HTTP library, written in Python, for human beings
 LICENSE=	apache-2.0
 
-DEPENDS+=	${PYPKGPREFIX}-docutils>=0.10:../../textproc/py-docutils
-DEPENDS+=	${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
-DEPENDS+=	${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
-DEPENDS+=	${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
-DEPENDS+=	${PYPKGPREFIX}-sphinx>=1.1.3:../../textproc/py-sphinx
-
 USE_LANGUAGES=	c
 REPLACE_PYTHON=	requests/certs.py requests/packages/chardet/chardetect.py
 



Home | Main Index | Thread Index | Old Index