pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-unidiff: Add ALTERNATIVES and fix potential conflicts
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Oct 8 03:12:27 2017 +0200
Changeset: f29e0e65898783be366df7ad58518397601000f4
Modified Files:
py-unidiff/Makefile
py-unidiff/PLIST
Added Files:
py-unidiff/ALTERNATIVES
Log Message:
py-unidiff: Add ALTERNATIVES and fix potential conflicts
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f29e0e65898783be366df7ad58518397601000f4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-unidiff/ALTERNATIVES | 1 +
py-unidiff/Makefile | 4 ++++
py-unidiff/PLIST | 2 +-
3 files changed, 6 insertions(+), 1 deletion(-)
diffs:
diff --git a/py-unidiff/ALTERNATIVES b/py-unidiff/ALTERNATIVES
new file mode 100644
index 0000000000..f4d30dcb82
--- /dev/null
+++ b/py-unidiff/ALTERNATIVES
@@ -0,0 +1 @@
+bin/unidiff @PREFIX@/bin/unidiff@PYVERSSUFFIX@
diff --git a/py-unidiff/Makefile b/py-unidiff/Makefile
index 2d51c96791..e05c63e335 100644
--- a/py-unidiff/Makefile
+++ b/py-unidiff/Makefile
@@ -16,6 +16,10 @@ USE_LANGUAGES= # none
EGG_NAME= ${DISTNAME:S/python-//}
+post-install:
+ ${RUN} ${MV} ${DESTDIR}${PREFIX}/bin/unidiff \
+ ${DESTDIR}${PREFIX}/bin/unidiff${PYVERSSUFFIX}
+
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-unidiff/PLIST b/py-unidiff/PLIST
index 5a4a4d6adf..68ba0fb57c 100644
--- a/py-unidiff/PLIST
+++ b/py-unidiff/PLIST
@@ -1,5 +1,5 @@
@comment $NetBSD$
-bin/unidiff
+bin/unidiff${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index