pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-txgithub py-txgithub: use ALTERNATIVES; bump ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ee9779c26a6
branches:  trunk
changeset: 378222:0ee9779c26a6
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 03 20:27:21 2018 +0000

description:
py-txgithub: use ALTERNATIVES; bump revision

diffstat:

 devel/py-txgithub/ALTERNATIVES |   2 ++
 devel/py-txgithub/Makefile     |  14 +++++++++++---
 devel/py-txgithub/PLIST        |   6 +++---
 3 files changed, 16 insertions(+), 6 deletions(-)

diffs (51 lines):

diff -r 13f649ed6796 -r 0ee9779c26a6 devel/py-txgithub/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-txgithub/ALTERNATIVES    Tue Apr 03 20:27:21 2018 +0000
@@ -0,0 +1,2 @@
+bin/get-github-token @PREFIX@/bin/get-github-token-@PYVERSSUFFIX@
+bin/gist @PREFIX@/bin/gist-@PYVERSSUFFIX@
diff -r 13f649ed6796 -r 0ee9779c26a6 devel/py-txgithub/Makefile
--- a/devel/py-txgithub/Makefile        Tue Apr 03 20:19:47 2018 +0000
+++ b/devel/py-txgithub/Makefile        Tue Apr 03 20:27:21 2018 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2017/09/29 14:31:29 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2018/04/03 20:27:21 adam Exp $
 
 DISTNAME=      txgithub-15.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel net
+PKGREVISION=   1
+CATEGORIES=    devel net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/txgithub/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,8 +11,15 @@
 COMMENT=       GitHub API client using Twisted
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
 DEPENDS+=      ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+DEPENDS+=      ${PYPKGPREFIX}-twisted>=12.3.0:../../net/py-twisted
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} get-github-token get-github-token-${PYVERSSUFFIX} && \
+               ${MV} gist gist-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 13f649ed6796 -r 0ee9779c26a6 devel/py-txgithub/PLIST
--- a/devel/py-txgithub/PLIST   Tue Apr 03 20:19:47 2018 +0000
+++ b/devel/py-txgithub/PLIST   Tue Apr 03 20:27:21 2018 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.3 2017/09/30 20:58:00 joerg Exp $
-bin/get-github-token
-bin/gist
+@comment $NetBSD: PLIST,v 1.4 2018/04/03 20:27:21 adam Exp $
+bin/get-github-token-${PYVERSSUFFIX}
+bin/gist-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index