pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-livereload



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Aug 31 10:02:00 UTC 2018

Modified Files:
        pkgsrc/www/py-livereload: Makefile PLIST
Added Files:
        pkgsrc/www/py-livereload: ALTERNATIVES

Log Message:
py-livereload: fix binary name, use ALTERNATIVES


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-livereload/ALTERNATIVES
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-livereload/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-livereload/PLIST

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

Modified files:

Index: pkgsrc/www/py-livereload/Makefile
diff -u pkgsrc/www/py-livereload/Makefile:1.3 pkgsrc/www/py-livereload/Makefile:1.4
--- pkgsrc/www/py-livereload/Makefile:1.3       Fri Aug 31 09:20:31 2018
+++ pkgsrc/www/py-livereload/Makefile   Fri Aug 31 10:02:00 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/08/31 09:20:31 adam Exp $
+# $NetBSD: Makefile,v 1.4 2018/08/31 10:02:00 adam Exp $
 
 DISTNAME=      livereload-2.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -15,5 +15,9 @@ DEPENDS+=     ${PYPKGPREFIX}-tornado-[0-9]*:
 
 USE_LANGUAGES= # none
 
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} livereload livereload-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-livereload/PLIST
diff -u pkgsrc/www/py-livereload/PLIST:1.2 pkgsrc/www/py-livereload/PLIST:1.3
--- pkgsrc/www/py-livereload/PLIST:1.2  Fri Aug 31 09:20:31 2018
+++ pkgsrc/www/py-livereload/PLIST      Fri Aug 31 10:02:00 2018
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2018/08/31 09:20:31 adam Exp $
-bin/livereload
+@comment $NetBSD: PLIST,v 1.3 2018/08/31 10:02:00 adam Exp $
+bin/livereload-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt

Added files:

Index: pkgsrc/www/py-livereload/ALTERNATIVES
diff -u /dev/null pkgsrc/www/py-livereload/ALTERNATIVES:1.1
--- /dev/null   Fri Aug 31 10:02:01 2018
+++ pkgsrc/www/py-livereload/ALTERNATIVES       Fri Aug 31 10:02:00 2018
@@ -0,0 +1 @@
+bin/livereload @PREFIX@/bin/livereload-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index