pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-distro



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Oct  2 10:04:59 UTC 2019

Modified Files:
        pkgsrc/devel/py-distro: Makefile
Added Files:
        pkgsrc/devel/py-distro: ALTERNATIVES

Log Message:
py-distro: cleanup


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-distro/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-distro/Makefile

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

Modified files:

Index: pkgsrc/devel/py-distro/Makefile
diff -u pkgsrc/devel/py-distro/Makefile:1.1 pkgsrc/devel/py-distro/Makefile:1.2
--- pkgsrc/devel/py-distro/Makefile:1.1 Tue Oct  1 13:22:55 2019
+++ pkgsrc/devel/py-distro/Makefile     Wed Oct  2 10:04:59 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2019/10/01 13:22:55 triaxx Exp $
+# $NetBSD: Makefile,v 1.2 2019/10/02 10:04:59 adam Exp $
 
 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 @@ HOMEPAGE=    https://github.com/nir0s/distr
 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"

Added files:

Index: pkgsrc/devel/py-distro/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-distro/ALTERNATIVES:1.1
--- /dev/null   Wed Oct  2 10:04:59 2019
+++ pkgsrc/devel/py-distro/ALTERNATIVES Wed Oct  2 10:04:59 2019
@@ -0,0 +1 @@
+bin/distro @PREFIX@/bin/distro-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index