pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-txgithub



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr  3 20:27:21 UTC 2018

Modified Files:
        pkgsrc/devel/py-txgithub: Makefile PLIST
Added Files:
        pkgsrc/devel/py-txgithub: ALTERNATIVES

Log Message:
py-txgithub: use ALTERNATIVES; bump revision


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-txgithub/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-txgithub/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-txgithub/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-txgithub/Makefile
diff -u pkgsrc/devel/py-txgithub/Makefile:1.1 pkgsrc/devel/py-txgithub/Makefile:1.2
--- pkgsrc/devel/py-txgithub/Makefile:1.1       Fri Sep 29 14:31:29 2017
+++ pkgsrc/devel/py-txgithub/Makefile   Tue Apr  3 20:27:21 2018
@@ -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 @@ HOMEPAGE=    https://github.com/tomprince/t
 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"

Index: pkgsrc/devel/py-txgithub/PLIST
diff -u pkgsrc/devel/py-txgithub/PLIST:1.3 pkgsrc/devel/py-txgithub/PLIST:1.4
--- pkgsrc/devel/py-txgithub/PLIST:1.3  Sat Sep 30 20:58:00 2017
+++ pkgsrc/devel/py-txgithub/PLIST      Tue Apr  3 20:27:21 2018
@@ -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

Added files:

Index: pkgsrc/devel/py-txgithub/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-txgithub/ALTERNATIVES:1.1
--- /dev/null   Tue Apr  3 20:27:21 2018
+++ pkgsrc/devel/py-txgithub/ALTERNATIVES       Tue Apr  3 20:27:21 2018
@@ -0,0 +1,2 @@
+bin/get-github-token @PREFIX@/bin/get-github-token-@PYVERSSUFFIX@
+bin/gist @PREFIX@/bin/gist-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index