pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-distro py-distro: cleanup
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5a653b57217
branches: trunk
changeset: 401964:f5a653b57217
user: adam <adam%pkgsrc.org@localhost>
date: Wed Oct 02 10:04:59 2019 +0000
description:
py-distro: cleanup
diffstat:
devel/py-distro/ALTERNATIVES | 1 +
devel/py-distro/Makefile | 7 +++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 4d9ecc8b5d85 -r f5a653b57217 devel/py-distro/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-distro/ALTERNATIVES Wed Oct 02 10:04:59 2019 +0000
@@ -0,0 +1,1 @@
+bin/distro @PREFIX@/bin/distro-@PYVERSSUFFIX@
diff -r 4d9ecc8b5d85 -r f5a653b57217 devel/py-distro/Makefile
--- a/devel/py-distro/Makefile Wed Oct 02 09:12:55 2019 +0000
+++ b/devel/py-distro/Makefile Wed Oct 02 10:04:59 2019 +0000
@@ -2,7 +2,7 @@
DISTNAME= distro-1.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel
+CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/distro/}
MAINTAINER= root%zta.lk@localhost
@@ -10,8 +10,11 @@
COMMENT= OS platform information API
LICENSE= apache-2.0
+USE_LANGUAGES= # none
+
post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} distro distro-${PYVERSSUFFIX}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} distro distro-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index