pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-zconfig



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan 24 10:17:04 UTC 2018

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

Log Message:
py-zconfig: use ALTERNATIVES; clean-up


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-zconfig/ALTERNATIVES
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-zconfig/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-zconfig/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-zconfig/Makefile
diff -u pkgsrc/devel/py-zconfig/Makefile:1.17 pkgsrc/devel/py-zconfig/Makefile:1.18
--- pkgsrc/devel/py-zconfig/Makefile:1.17       Sat Nov 25 12:39:16 2017
+++ pkgsrc/devel/py-zconfig/Makefile    Wed Jan 24 10:17:03 2018
@@ -1,21 +1,26 @@
-# $NetBSD: Makefile,v 1.17 2017/11/25 12:39:16 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2018/01/24 10:17:03 adam Exp $
 
-DISTNAME=              ZConfig-3.2.0
-PKGNAME=               ${PYPKGPREFIX}-${DISTNAME:tl}
-CATEGORIES=            devel python
-MASTER_SITES=          ${MASTER_SITE_PYPI:=Z/ZConfig/}
-
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=             http://www.zope.org/Members/fdrake/zconfig/
-COMMENT=               Configuration library
-#LICENSE=              zope-public-license-v2.1
+DISTNAME=      ZConfig-3.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION=   1
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=Z/ZConfig/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/zopefoundation/ZConfig
+COMMENT=       Configuration library
+LICENSE=       zpl-2.1
 
 # TEST_DEPENDS
-BUILD_DEPENDS+=                ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
-#BUILD_DEPENDS+=               ${PYPKGPREFIX}-manuel-[0-9]*:../../?/py-manuel
-#BUILD_DEPENDS+=               ${PYPKGPREFIX}-zope-testrunner-[0-9]*:../../?/py-zope-testrunner
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-manuel-[0-9]*:../../?/py-manuel
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-zope-testrunner-[0-9]*:../../?/py-zope-testrunner
+
+USE_LANGUAGES= # none
 
-USE_LANGUAGES=         # empty
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} zconfig zconfig${PYVERSSUFFIX} && \
+       ${MV} zconfig_schema2html zconfig_schema2html${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-zconfig/PLIST
diff -u pkgsrc/devel/py-zconfig/PLIST:1.5 pkgsrc/devel/py-zconfig/PLIST:1.6
--- pkgsrc/devel/py-zconfig/PLIST:1.5   Sat Nov 25 12:39:16 2017
+++ pkgsrc/devel/py-zconfig/PLIST       Wed Jan 24 10:17:03 2018
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.5 2017/11/25 12:39:16 wiz Exp $
-bin/zconfig
-bin/zconfig_schema2html
+@comment $NetBSD: PLIST,v 1.6 2018/01/24 10:17:03 adam Exp $
+bin/zconfig${PYVERSSUFFIX}
+bin/zconfig_schema2html${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt

Added files:

Index: pkgsrc/devel/py-zconfig/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-zconfig/ALTERNATIVES:1.1
--- /dev/null   Wed Jan 24 10:17:04 2018
+++ pkgsrc/devel/py-zconfig/ALTERNATIVES        Wed Jan 24 10:17:03 2018
@@ -0,0 +1,2 @@
+bin/zconfig @PREFIX@/bin/zconfig@PYVERSSUFFIX@
+bin/zconfig_schema2html @PREFIX@/bin/zconfig_schema2html@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index