summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-02-12 18:08:48 +0000
committeradam <adam@pkgsrc.org>2022-02-12 18:08:48 +0000
commit001d7f83583e74e57f4084095b7c340562326318 (patch)
tree25a5ea12f2b5126cfca0240cb1456d1b0af430e2 /devel
parenta7bc7a9a72875f6bfe7704e1973d1e4e6516dfcd (diff)
downloadpkgsrc-001d7f83583e74e57f4084095b7c340562326318.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/py-packageurl/Makefile12
-rw-r--r--devel/py-packageurl/PLIST14
-rw-r--r--devel/py-packageurl/distinfo8
3 files changed, 21 insertions, 13 deletions
diff --git a/devel/py-packageurl/Makefile b/devel/py-packageurl/Makefile
index 883cfb73a14..a29a96dbe89 100644
--- a/devel/py-packageurl/Makefile
+++ b/devel/py-packageurl/Makefile
@@ -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 @@ HOMEPAGE= https://github.com/package-url/packageurl-python
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 --git a/devel/py-packageurl/PLIST b/devel/py-packageurl/PLIST
index bf7432d23c7..59f87bfd2c0 100644
--- a/devel/py-packageurl/PLIST
+++ b/devel/py-packageurl/PLIST
@@ -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/route.pyo
${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 --git a/devel/py-packageurl/distinfo b/devel/py-packageurl/distinfo
index 86ea86d280d..67e30a20aca 100644
--- a/devel/py-packageurl/distinfo
+++ b/devel/py-packageurl/distinfo
@@ -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