diff options
author | rillig <rillig@pkgsrc.org> | 2019-10-06 12:55:30 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2019-10-06 12:55:30 +0000 |
commit | 1d663cc30b9e677524fffc3dcf0d877783bec550 (patch) | |
tree | 86ead7a90acafc1341c49bf583920123d4704963 /pkgtools/url2pkg | |
parent | 87856dc35a97c71923d4392ec74f9b390e3413cf (diff) | |
download | pkgsrc-1d663cc30b9e677524fffc3dcf0d877783bec550.tar.gz |
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 (limited to 'pkgtools/url2pkg')
-rw-r--r-- | pkgtools/url2pkg/Makefile | 10 | ||||
-rw-r--r-- | pkgtools/url2pkg/PLIST | 3 |
2 files changed, 5 insertions, 8 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile index fb2dc9820b4..346a1a4ce4b 100644 --- a/pkgtools/url2pkg/Makefile +++ b/pkgtools/url2pkg/Makefile @@ -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 @@ -21,7 +21,6 @@ do-extract: ${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 @@ do-test: 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 --git a/pkgtools/url2pkg/PLIST b/pkgtools/url2pkg/PLIST index dd972e4b523..8fa88d6613c 100644 --- a/pkgtools/url2pkg/PLIST +++ b/pkgtools/url2pkg/PLIST @@ -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 |