pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-scour py-scour: rename scour to scour-${PY...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/833ed0e79cbd
branches:  trunk
changeset: 372699:833ed0e79cbd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 29 07:36:00 2022 +0000

description:
py-scour: rename scour to scour-${PYVERSSUFFIX} to avoid self-conflict

Bump PKGREVISION.

diffstat:

 graphics/py-scour/ALTERNATIVES |  1 +
 graphics/py-scour/Makefile     |  8 ++++++--
 graphics/py-scour/PLIST        |  4 ++--
 3 files changed, 9 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 2ff1be2ec91b -r 833ed0e79cbd graphics/py-scour/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-scour/ALTERNATIVES    Sat Jan 29 07:36:00 2022 +0000
@@ -0,0 +1,1 @@
+bin/scour @PREFIX@/bin/scour-@PYVERSSUFFIX@
diff -r 2ff1be2ec91b -r 833ed0e79cbd graphics/py-scour/Makefile
--- a/graphics/py-scour/Makefile        Sat Jan 29 07:32:57 2022 +0000
+++ b/graphics/py-scour/Makefile        Sat Jan 29 07:36:00 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:12 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/29 07:36:00 wiz Exp $
 
 DISTNAME=      scour-0.38.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/scour/}
 
@@ -17,5 +17,9 @@
 
 USE_LANGUAGES= # none
 
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/scour \
+               ${DESTDIR}${PREFIX}/bin/scour-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2ff1be2ec91b -r 833ed0e79cbd graphics/py-scour/PLIST
--- a/graphics/py-scour/PLIST   Sat Jan 29 07:32:57 2022 +0000
+++ b/graphics/py-scour/PLIST   Sat Jan 29 07:36:00 2022 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2021/07/18 18:06:39 gutteridge Exp $
-bin/scour
+@comment $NetBSD: PLIST,v 1.2 2022/01/29 07:36:00 wiz Exp $
+bin/scour-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index