pkgsrc-WIP-changes archive

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

wip/py-distro: rename distro => distro-${PYVERSSUFFIX} to avoid conflicts.



Module Name:	pkgsrc-wip
Committed By:	Aleksej Lebedev <root%zta.lk@localhost>
Pushed By:	zhtw
Date:		Fri Feb 8 13:07:53 2019 +0000
Changeset:	70dc7743af3ac6a76638f468995bf5259327668d

Modified Files:
	py-distro/Makefile
	py-distro/PLIST

Log Message:
wip/py-distro: rename distro => distro-${PYVERSSUFFIX} to avoid conflicts.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=70dc7743af3ac6a76638f468995bf5259327668d

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

diffstat:
 py-distro/Makefile | 3 +++
 py-distro/PLIST    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-distro/Makefile b/py-distro/Makefile
index 7f87b4cbea..0d197c812a 100644
--- a/py-distro/Makefile
+++ b/py-distro/Makefile
@@ -12,5 +12,8 @@ LICENSE=	apache-2.0
 
 USE_LANGUAGES=	# none
 
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && ${MV} distro distro-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-distro/PLIST b/py-distro/PLIST
index e6a496befb..237347a070 100644
--- a/py-distro/PLIST
+++ b/py-distro/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/distro
+bin/distro-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt


Home | Main Index | Thread Index | Old Index