pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-pygments Rename bin/pygmentize to pygmenti...
details: https://anonhg.NetBSD.org/pkgsrc/rev/153f3ac53428
branches: trunk
changeset: 643913:153f3ac53428
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 01 11:36:07 2015 +0000
description:
Rename bin/pygmentize to pygmentize${PYVERSSUFFIX} to fix conflict with
other python versions of the same package. Add ALTERNATIVES file.
Bump PKGREVISION.
diffstat:
textproc/py-pygments/ALTERNATIVES | 1 +
textproc/py-pygments/Makefile | 7 ++++++-
textproc/py-pygments/PLIST | 4 ++--
3 files changed, 9 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 4d05b0d7c89e -r 153f3ac53428 textproc/py-pygments/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pygments/ALTERNATIVES Thu Jan 01 11:36:07 2015 +0000
@@ -0,0 +1,1 @@
+bin/pygmentize @PREFIX@/bin/pygmentize@PYVERSSUFFIX@
diff -r 4d05b0d7c89e -r 153f3ac53428 textproc/py-pygments/Makefile
--- a/textproc/py-pygments/Makefile Thu Jan 01 11:31:12 2015 +0000
+++ b/textproc/py-pygments/Makefile Thu Jan 01 11:36:07 2015 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2014/11/23 15:08:11 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2015/01/01 11:36:07 wiz Exp $
DISTNAME= Pygments-2.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= http://pypi.python.org/packages/source/P/Pygments/
@@ -11,6 +12,7 @@
LICENSE= 2-clause-bsd
USE_LANGUAGES= #none
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
.include "../../mk/bsd.prefs.mk"
@@ -19,5 +21,8 @@
TEST_TARGET= test
.endif
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/pygmentize ${DESTDIR}${PREFIX}/bin/pygmentize${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 4d05b0d7c89e -r 153f3ac53428 textproc/py-pygments/PLIST
--- a/textproc/py-pygments/PLIST Thu Jan 01 11:31:12 2015 +0000
+++ b/textproc/py-pygments/PLIST Thu Jan 01 11:36:07 2015 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2014/11/19 12:57:55 wiz Exp $
-bin/pygmentize
+@comment $NetBSD: PLIST,v 1.11 2015/01/01 11:36:07 wiz Exp $
+bin/pygmentize${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index