pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-packageurl py-packageurl: updated to 0.9.8.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42e2a6e27644
branches:  trunk
changeset: 373757:42e2a6e27644
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Feb 12 18:08:48 2022 +0000

description:
py-packageurl: updated to 0.9.8.1

0.9.8.1
- Fix generic sourceforge PackageURL generation

0.9.8
- Do not create a generic PackageURL for URLs without a path in url2purl
- Use project name as the Package name when creating generic sourceforge PackageURLs
- Update PyPI route pattern in url2purl to handle different file name formats
- Create generic PackageURL for code.google.com archive URLs
- Capture more download types for bitbucket URLs

diffstat:

 devel/py-packageurl/Makefile |  12 ++++++++++--
 devel/py-packageurl/PLIST    |  14 +++++++-------
 devel/py-packageurl/distinfo |   8 ++++----
 3 files changed, 21 insertions(+), 13 deletions(-)

diffs (64 lines):

diff -r fbdd94fcf229 -r 42e2a6e27644 devel/py-packageurl/Makefile
--- a/devel/py-packageurl/Makefile      Sat Feb 12 18:05:08 2022 +0000
+++ b/devel/py-packageurl/Makefile      Sat Feb 12 18:08:48 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/02/08 08:52:43 adam Exp $
+# $NetBSD: Makefile,v 1.4 2022/02/12 18:08:48 adam Exp $
 
-DISTNAME=      packageurl-python-0.9.7
+DISTNAME=      packageurl-python-0.9.8.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-python//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/packageurl-python/}
@@ -10,5 +10,13 @@
 COMMENT=       Purl aka. Package URL parser and builder
 LICENSE=       mit
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-isort>0:../../devel/py-isort
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fbdd94fcf229 -r 42e2a6e27644 devel/py-packageurl/PLIST
--- a/devel/py-packageurl/PLIST Sat Feb 12 18:05:08 2022 +0000
+++ b/devel/py-packageurl/PLIST Sat Feb 12 18:08:48 2022 +0000
@@ -1,4 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2021/12/07 18:02:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/02/12 18:08:48 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/packageurl/__init__.py
 ${PYSITELIB}/packageurl/__init__.pyc
 ${PYSITELIB}/packageurl/__init__.pyo
@@ -23,9 +29,3 @@
 ${PYSITELIB}/packageurl/contrib/url2purl.py
 ${PYSITELIB}/packageurl/contrib/url2purl.pyc
 ${PYSITELIB}/packageurl/contrib/url2purl.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r fbdd94fcf229 -r 42e2a6e27644 devel/py-packageurl/distinfo
--- a/devel/py-packageurl/distinfo      Sat Feb 12 18:05:08 2022 +0000
+++ b/devel/py-packageurl/distinfo      Sat Feb 12 18:08:48 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2022/02/08 08:52:43 adam Exp $
+$NetBSD: distinfo,v 1.3 2022/02/12 18:08:48 adam Exp $
 
-BLAKE2s (packageurl-python-0.9.7.tar.gz) = e9105cc25e015af08f0a2ed8e46623ad318818bcdc13a28d9ad84ca10f2218cf
-SHA512 (packageurl-python-0.9.7.tar.gz) = 659fdfc8fbd9b25f27ae15787e538666d6bee161ea62bc5ebe9e49cf92eb181b1d497a0a68acffc2eb49fd90fd49264aedca5572f53ab96ace7fabfc2c33e4a0
-Size (packageurl-python-0.9.7.tar.gz) = 28844 bytes
+BLAKE2s (packageurl-python-0.9.8.1.tar.gz) = ae27bbacea9d1226f99bf2a24ff68f4a808df6246bb2ae640709d0594df7c382
+SHA512 (packageurl-python-0.9.8.1.tar.gz) = 313e4dfca230f015e2ba1b8c0c913ac71b2e99d5868e26aef1d58a7e2ec7a273ba5fa8d27fc425dbcee1ba61f90a84e78458089de58df9c05318c30affdf0fbb
+Size (packageurl-python-0.9.8.1.tar.gz) = 30046 bytes



Home | Main Index | Thread Index | Old Index