pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-requests-kerberos py-requests-kerberos: s/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/279a08407031
branches:  trunk
changeset: 379538:279a08407031
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed May 02 10:59:49 2018 +0000

description:
py-requests-kerberos: s/pykerberos/kerberos/

Make sure python requires matches dependencies, to keep pip happy.

diffstat:

 security/py-requests-kerberos/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r e81ea4675921 -r 279a08407031 security/py-requests-kerberos/Makefile
--- a/security/py-requests-kerberos/Makefile    Wed May 02 10:53:26 2018 +0000
+++ b/security/py-requests-kerberos/Makefile    Wed May 02 10:59:49 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2018/01/19 09:10:04 adam Exp $
+# $NetBSD: Makefile,v 1.3 2018/05/02 10:59:49 markd Exp $
 
 DISTNAME=      requests-kerberos-0.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests-kerberos/}
 
@@ -16,5 +17,10 @@
 
 USE_LANGUAGES= # none
 
+SUBST_CLASSES+=                requires
+SUBST_STAGE.requires=  post-patch
+SUBST_FILES.requires=  setup.py
+SUBST_SED.requires=    -e 's/pykerberos/kerberos/'
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index