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.10.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b918b483175
branches:  trunk
changeset: 386932:2b918b483175
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 18 08:52:52 2022 +0000

description:
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.

diffstat:

 devel/py-packageurl/Makefile |  4 ++--
 devel/py-packageurl/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 06399a7b0e76 -r 2b918b483175 devel/py-packageurl/Makefile
--- a/devel/py-packageurl/Makefile      Tue Oct 18 08:50:08 2022 +0000
+++ b/devel/py-packageurl/Makefile      Tue Oct 18 08:52:52 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2022/09/16 13:05:04 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/10/18 08:52:52 adam Exp $
 
-DISTNAME=      packageurl-python-0.10.3
+DISTNAME=      packageurl-python-0.10.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/-python//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/packageurl-python/}
diff -r 06399a7b0e76 -r 2b918b483175 devel/py-packageurl/distinfo
--- a/devel/py-packageurl/distinfo      Tue Oct 18 08:50:08 2022 +0000
+++ b/devel/py-packageurl/distinfo      Tue Oct 18 08:52:52 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2022/09/16 13:05:04 adam Exp $
+$NetBSD: distinfo,v 1.8 2022/10/18 08:52:52 adam Exp $
 
-BLAKE2s (packageurl-python-0.10.3.tar.gz) = cd28a78723ab2bc96472bc22c758daf69cfa4611655b54d670ee4ed9e1b260e0
-SHA512 (packageurl-python-0.10.3.tar.gz) = 94314f9be81577a14e831a4cc79cbc62c54d419d8b261bfd9bb8faa5f4aa73290c3f57af3a2e5d77989db4181e6e47dae156cf485ed250bfcdf3b4e478670676
-Size (packageurl-python-0.10.3.tar.gz) = 31693 bytes
+BLAKE2s (packageurl-python-0.10.4.tar.gz) = c5e96cf455c303bcff6686e23d3daf5df67dfd41edc10c2ec7947df49708a18f
+SHA512 (packageurl-python-0.10.4.tar.gz) = d997c209870c45d0842164d3ae82c32ebb702409a3a65949430dbaccf1d8feb22ee6214b41b7a93bacfa0afe809f0be34b300355d390cc7c2728efee58a41e3d
+Size (packageurl-python-0.10.4.tar.gz) = 34187 bytes



Home | Main Index | Thread Index | Old Index