py-packageurl: updated to 0.10.4 0.10.4 (2022-10-17) ------------------- - Refactor the purl2url functions and utilities - Split purl2url into `get_repo_url()` and `get_download_url()` returning accordingly a "Repository URL" and a "Download URL". - A new `get_inferred_urls` function is available to get return all inferred URLs (repository and download) values. - Add support in purl2url for npm, pypi, hackage, and nuget. - Package URL qualifiers can now be provided to `purl_from_pattern()`. - The `download_url` qualifier is returned in `get_download_url()` when available. - Usage of `purl2url.purl2url` and `purl2url.get_url` is still available for backward compatibility but should be migrated to `purl2url.get_repo_url`. - Include the `version_prefix` ("v" or "V") as a qualifier in build_github_purl This allow to infer valid URLs in the context of purl2url.diff -r1.9 -r1.10 pkgsrc/devel/py-packageurl/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2022/09/16 13:05:04 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.10 2022/10/18 08:52:52 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= packageurl-python-0.10.3 | 3 | DISTNAME= packageurl-python-0.10.4 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/packageurl-python/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/packageurl-python/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://github.com/package-url/packageurl-python | 9 | HOMEPAGE= https://github.com/package-url/packageurl-python | |
10 | COMMENT= Purl aka. Package URL parser and builder | 10 | COMMENT= Purl aka. Package URL parser and builder | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-isort>0:../../devel/py-isort | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-isort>0:../../devel/py-isort | |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test | |
15 | 15 | |||
16 | USE_LANGUAGES= # none | 16 | USE_LANGUAGES= # none |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2022/09/16 13:05:04 adam Exp $ | 1 | $NetBSD: distinfo,v 1.8 2022/10/18 08:52:52 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (packageurl-python-0.10.3.tar.gz) = cd28a78723ab2bc96472bc22c758daf69cfa4611655b54d670ee4ed9e1b260e0 | 3 | BLAKE2s (packageurl-python-0.10.4.tar.gz) = c5e96cf455c303bcff6686e23d3daf5df67dfd41edc10c2ec7947df49708a18f | |
4 | SHA512 (packageurl-python-0.10.3.tar.gz) = 94314f9be81577a14e831a4cc79cbc62c54d419d8b261bfd9bb8faa5f4aa73290c3f57af3a2e5d77989db4181e6e47dae156cf485ed250bfcdf3b4e478670676 | 4 | SHA512 (packageurl-python-0.10.4.tar.gz) = d997c209870c45d0842164d3ae82c32ebb702409a3a65949430dbaccf1d8feb22ee6214b41b7a93bacfa0afe809f0be34b300355d390cc7c2728efee58a41e3d | |
5 | Size (packageurl-python-0.10.3.tar.gz) = 31693 bytes | 5 | Size (packageurl-python-0.10.4.tar.gz) = 34187 bytes |