From 70dc7743af3ac6a76638f468995bf5259327668d Mon Sep 17 00:00:00 2001 From: Aleksej Lebedev Date: Fri, 8 Feb 2019 13:07:53 +0000 Subject: [PATCH] wip/py-distro: rename distro => distro-${PYVERSSUFFIX} to avoid conflicts. --- py-distro/Makefile | 3 +++ py-distro/PLIST | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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