pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-zconfig py-zconfig: use ALTERNATIVES; clean-up
details: https://anonhg.NetBSD.org/pkgsrc/rev/8849ea940eff
branches: trunk
changeset: 374491:8849ea940eff
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jan 24 10:17:03 2018 +0000
description:
py-zconfig: use ALTERNATIVES; clean-up
diffstat:
devel/py-zconfig/ALTERNATIVES | 2 ++
devel/py-zconfig/Makefile | 31 ++++++++++++++++++-------------
devel/py-zconfig/PLIST | 6 +++---
3 files changed, 23 insertions(+), 16 deletions(-)
diffs (62 lines):
diff -r c1d391880106 -r 8849ea940eff devel/py-zconfig/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-zconfig/ALTERNATIVES Wed Jan 24 10:17:03 2018 +0000
@@ -0,0 +1,2 @@
+bin/zconfig @PREFIX@/bin/zconfig@PYVERSSUFFIX@
+bin/zconfig_schema2html @PREFIX@/bin/zconfig_schema2html@PYVERSSUFFIX@
diff -r c1d391880106 -r 8849ea940eff devel/py-zconfig/Makefile
--- a/devel/py-zconfig/Makefile Wed Jan 24 09:06:43 2018 +0000
+++ b/devel/py-zconfig/Makefile Wed Jan 24 10:17:03 2018 +0000
@@ -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/}
+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= http://www.zope.org/Members/fdrake/zconfig/
-COMMENT= Configuration library
-#LICENSE= zope-public-license-v2.1
+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= # empty
+USE_LANGUAGES= # none
+
+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"
diff -r c1d391880106 -r 8849ea940eff devel/py-zconfig/PLIST
--- a/devel/py-zconfig/PLIST Wed Jan 24 09:06:43 2018 +0000
+++ b/devel/py-zconfig/PLIST Wed Jan 24 10:17:03 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index