pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg pkgtools/url2pkg: update to 19.3.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81381be1573d
branches:  trunk
changeset: 402280:81381be1573d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 06 12:55:30 2019 +0000

description:
pkgtools/url2pkg: update to 19.3.3

Changes since 19.3.2:

* Replaced the Perl implementation with the Python implementation.

* Improved detection of WRKSRC: only directories are candidates, regular
  files are ignored.

* R packages are handled by R2pkg instead of url2pkg.

diffstat:

 pkgtools/url2pkg/Makefile |  10 ++++------
 pkgtools/url2pkg/PLIST    |   3 +--
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs (47 lines):

diff -r 614b7466d655 -r 81381be1573d pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Sun Oct 06 12:52:38 2019 +0000
+++ b/pkgtools/url2pkg/Makefile Sun Oct 06 12:55:30 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.105 2019/10/05 22:02:32 rillig Exp $
+# $NetBSD: Makefile,v 1.106 2019/10/06 12:55:30 rillig Exp $
 
-PKGNAME=       url2pkg-19.3.2
+PKGNAME=       url2pkg-19.3.3
 CATEGORIES=    pkgtools
 
 MAINTAINER=    rillig%NetBSD.org@localhost
@@ -21,7 +21,6 @@
        ${RUN} cd ${FILESDIR} && cp *.* ${WRKSRC}/
 
 do-test:
-       ${RUN} cd ${WRKSRC} && env PKGSRCDIR=${PKGSRCDIR} perl -I. url2pkg.t
        ${RUN} cd ${WRKSRC} && env PKGSRCDIR=${PKGSRCDIR} MAKE=${MAKE:Q} \
                ${PREFIX}/bin/pytest-${PYVERSSUFFIX}
 
@@ -30,13 +29,12 @@
 SUBST_CLASSES+=                up
 SUBST_STAGE.up=                do-configure
 SUBST_MESSAGE.up=      Replacing variable placeholders
-SUBST_FILES.up=                url2pkg.pl MakeMaker.pm url2pkg.py
+SUBST_FILES.up=                MakeMaker.pm url2pkg.py
 SUBST_VARS.up=         MAKE PERL5 PKGSRCDIR PYTHONBIN
 SUBST_SED.up=          -e 's,@LIBDIR@,${PREFIX}/lib/url2pkg,g'
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/url2pkg.pl ${DESTDIR}${PREFIX}/bin/url2pkg
-       ${INSTALL_SCRIPT} ${WRKSRC}/url2pkg.py ${DESTDIR}${PREFIX}/bin/url2pkg-py
+       ${INSTALL_SCRIPT} ${WRKSRC}/url2pkg.py ${DESTDIR}${PREFIX}/bin/url2pkg
        ${INSTALL_MAN} ${FILESDIR}/url2pkg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
        ${INSTALL_DATA} ${WRKSRC}/Build.pm ${DESTDIR}${PREFIX}/lib/url2pkg/Module/
        ${INSTALL_DATA} ${WRKSRC}/MakeMaker.pm ${DESTDIR}${PREFIX}/lib/url2pkg/ExtUtils/
diff -r 614b7466d655 -r 81381be1573d pkgtools/url2pkg/PLIST
--- a/pkgtools/url2pkg/PLIST    Sun Oct 06 12:52:38 2019 +0000
+++ b/pkgtools/url2pkg/PLIST    Sun Oct 06 12:55:30 2019 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.7 2019/10/05 22:02:32 rillig Exp $
+@comment $NetBSD: PLIST,v 1.8 2019/10/06 12:55:30 rillig Exp $
 bin/url2pkg
-bin/url2pkg-py
 lib/url2pkg/ExtUtils/MakeMaker.pm
 lib/url2pkg/Module/Build.pm
 lib/url2pkg/distutils/__init__.py



Home | Main Index | Thread Index | Old Index