Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-bottle py-bottle: do not use .py suffix for bin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bd8ab4f90d6
branches:  trunk
changeset: 436467:1bd8ab4f90d6
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 03 13:58:05 2020 +0000

description:
py-bottle: do not use .py suffix for binaries

diffstat:

 www/py-bottle/ALTERNATIVES |  2 +-
 www/py-bottle/Makefile     |  5 +++--
 www/py-bottle/PLIST        |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 44e7c36f4c46 -r 1bd8ab4f90d6 www/py-bottle/ALTERNATIVES
--- a/www/py-bottle/ALTERNATIVES        Mon Aug 03 13:51:48 2020 +0000
+++ b/www/py-bottle/ALTERNATIVES        Mon Aug 03 13:58:05 2020 +0000
@@ -1,1 +1,1 @@
-bin/bottle.py @PREFIX@/bin/bottle-@PYVERSSUFFIX@.py
+bin/bottle @PREFIX@/bin/bottle-@PYVERSSUFFIX@
diff -r 44e7c36f4c46 -r 1bd8ab4f90d6 www/py-bottle/Makefile
--- a/www/py-bottle/Makefile    Mon Aug 03 13:51:48 2020 +0000
+++ b/www/py-bottle/Makefile    Mon Aug 03 13:58:05 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2020/02/11 17:26:04 adam Exp $
+# $NetBSD: Makefile,v 1.12 2020/08/03 13:58:05 adam Exp $
 
 DISTNAME=      bottle-0.12.18
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/bottle/}
@@ -14,7 +15,7 @@
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} bottle.py bottle-${PYVERSSUFFIX}.py || ${TRUE}
+       ${MV} bottle.py bottle-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 44e7c36f4c46 -r 1bd8ab4f90d6 www/py-bottle/PLIST
--- a/www/py-bottle/PLIST       Mon Aug 03 13:51:48 2020 +0000
+++ b/www/py-bottle/PLIST       Mon Aug 03 13:58:05 2020 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2018/11/30 12:23:34 adam Exp $
-bin/bottle-${PYVERSSUFFIX}.py
+@comment $NetBSD: PLIST,v 1.4 2020/08/03 13:58:05 adam Exp $
+bin/bottle-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index