Use pypi PURLs instead of plain pypi names

This allows us to include a version and we already use PURL
for other things, so might as well remove the pypi special case.

Normalize the names, since that is required for PURLs.
This commit is contained in:
Christoph Reiter 2025-02-16 20:54:00 +01:00
parent e349a29314
commit a0902f1e21
60 changed files with 60 additions and 60 deletions

View File

@ -10,7 +10,7 @@ msys2_references=(
"cpe: cpe:/a:ansible:ansible"
"cpe: cpe:/a:redhat:ansible"
"cpe: cpe:/a:redhat:ansible_engine"
"pypi:ansible-core"
"purl: pkg:pypi/ansible-core"
)
license=('spdx:GPL-3.0-or-later')
depends=('python' 'python-yaml' 'python-jinja' 'python-packaging')

View File

@ -10,7 +10,7 @@ msys2_references=(
"cpe: cpe:/a:ansible:ansible"
"cpe: cpe:/a:redhat:ansible"
"cpe: cpe:/a:redhat:ansible_engine"
"pypi:ansible"
"purl: pkg:pypi/ansible"
)
license=('spdx:GPL-3.0-or-later')
depends=(

View File

@ -8,7 +8,7 @@ arch=('any')
url='https://asciidoc.org/'
msys2_repository_url="https://github.com/asciidoc-py/asciidoc-py"
msys2_references=(
"pypi:asciidoc"
"purl: pkg:pypi/asciidoc"
)
license=('GPL')
depends=('python' 'libxslt' 'docbook-xsl')

View File

@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
url='https://www.breezy-vcs.org/'
msys2_repository_url="https://github.com/breezy-team/breezy"
msys2_references=(
"pypi:breezy"
"purl: pkg:pypi/breezy"
)
license=('GPL2')
groups=('VCS')

View File

@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
url='https://cython.org/'
msys2_repository_url="https://github.com/cython/cython"
msys2_references=(
"pypi:Cython"
"purl: pkg:pypi/cython"
)
license=('spdx:Apache-2.0')
depends=('python')

View File

@ -7,7 +7,7 @@ pkgdesc="A scalable distributed SCM tool"
arch=('i686' 'x86_64')
url="https://www.mercurial-scm.org/"
msys2_references=(
"pypi:mercurial"
"purl: pkg:pypi/mercurial"
"cpe: cpe:/a:mercurial:mercurial"
)
license=('spdx:GPL-2.0-or-later')

View File

@ -8,7 +8,7 @@ arch=('any')
url="https://mesonbuild.com/"
msys2_repository_url="https://github.com/mesonbuild/meson"
msys2_references=(
"pypi:meson"
"purl: pkg:pypi/meson"
)
license=('spdx:Apache-2.0')
depends=('python' 'ninja' 'pkgconf')

View File

@ -8,7 +8,7 @@ pkgdesc='A small Python module for determining appropriate platform-specific dir
arch=('any')
url="https://github.com/ActiveState/appdirs"
msys2_references=(
"pypi:appdirs"
"purl: pkg:pypi/appdirs"
)
license=('spdx:MIT')
depends=('python')

View File

@ -11,7 +11,7 @@ license=('spdx:MIT')
url='https://www.attrs.org/'
msys2_repository_url='https://github.com/python-attrs/attrs'
msys2_references=(
"pypi:attrs"
"purl: pkg:pypi/attrs"
)
depends=('python')
makedepends=(

View File

@ -11,7 +11,7 @@ license=('PSF')
url="https://beaker.readthedocs.org"
msys2_repository_url="https://github.com/bbangert/beaker"
msys2_references=(
"pypi:Beaker"
"purl: pkg:pypi/beaker"
"cpe: cpe:/a:python:beaker"
)
depends=("python")

View File

@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
license=('MIT')
url='https://github.com/google/brotli'
msys2_references=(
"pypi:Brotli"
"purl: pkg:pypi/brotli"
"cpe: cpe:/a:google:brotli"
)
depends=('python')

View File

@ -8,7 +8,7 @@ pkgdesc="A simple, correct Python build frontend"
arch=('any')
url='https://github.com/pypa/build'
msys2_references=(
"pypi:build"
"purl: pkg:pypi/build"
)
license=('spdx:MIT')
depends=("python-packaging"

View File

@ -8,7 +8,7 @@ pkgdesc="Setuptools extension for CalVer package versions"
arch=('any')
url="https://github.com/di/calver"
msys2_references=(
"pypi:calver"
"purl: pkg:pypi/calver"
)
license=('spdx:Apache-2.0')
depends=(

View File

@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="Python package for providing Mozilla's CA Bundle"
url='https://pypi.python.org/pypi/certifi'
msys2_references=(
"pypi:certifi"
"purl: pkg:pypi/certifi"
)
license=('spdx:MPL-2.0')
arch=('any')

View File

@ -10,7 +10,7 @@ arch=('any')
license=('spdx:BSD-3-Clause')
url="https://github.com/DiffSK/configobj"
msys2_references=(
"pypi:configobj"
"purl: pkg:pypi/configobj"
)
depends=('python')
makedepends=(

View File

@ -15,7 +15,7 @@ makedepends=(
'python-installer'
)
msys2_references=(
'pypi: docutils'
'purl: pkg:pypi/docutils'
)
source=("https://downloads.sourceforge.net/$_name/$_name-$pkgver.tar.gz")
sha256sums=('3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f')

View File

@ -9,7 +9,7 @@ pkgdesc='Pure-Python implementation of the Git file formats and protocols'
arch=('any')
url='https://www.dulwich.io'
msys2_references=(
"pypi:dulwich"
"purl: pkg:pypi/dulwich"
)
license=('spdx:Apache-2.0 OR GPL-2.0-or-later')
depends=(

View File

@ -8,7 +8,7 @@ pkgdesc='A Python library for creating editable wheels'
arch=(any)
url='https://github.com/pfmoore/editables'
msys2_references=(
"pypi:editables"
"purl: pkg:pypi/editables"
)
license=('spdx:MIT')
depends=('python')

View File

@ -7,7 +7,7 @@ pkgdesc='Implementation of bencode with optional fast C extensions'
arch=('i686' 'x86_64')
url='https://github.com/breezy-team/fastbencode'
msys2_references=(
"pypi: fastbencode"
"purl: pkg:pypi/fastbencode"
)
license=(spdx:GPL-2.0-or-later)
depends=(python)

View File

@ -10,7 +10,7 @@ arch=('any')
license=('spdx:GPL-2.0-or-later')
url="https://pypi.python.org/pypi/fastimport/"
msys2_references=(
"pypi:fastimport"
"purl: pkg:pypi/fastimport"
)
depends=('python')
makedepends=(

View File

@ -8,7 +8,7 @@ pkgdesc='Simplified packaging of Python modules (core backend)'
arch=('any')
url='https://github.com/pypa/flit'
msys2_references=(
'pypi: flit-core'
'purl: pkg:pypi/flit-core'
)
license=('spdx:BSD-3-Clause')
depends=("python")

View File

@ -10,7 +10,7 @@ arch=('any')
license=('spdx:MIT')
url="https://github.com/hynek/hatch-fancy-pypi-readme"
msys2_references=(
"pypi:hatch-fancy-pypi-readme"
"purl: pkg:pypi/hatch-fancy-pypi-readme"
)
depends=('python'
'python-hatchling')

View File

@ -7,7 +7,7 @@ pkgrel=2
pkgdesc="Hatch plugin for versioning with your preferred VCS"
url="https://github.com/ofek/hatch-vcs"
msys2_references=(
"pypi:hatch-vcs"
"purl: pkg:pypi/hatch-vcs"
)
license=('spdx:MIT')
arch=('any')

View File

@ -8,7 +8,7 @@ pkgdesc="A modern project, package, and virtual env manager (backend)"
arch=('any')
url="https://github.com/pypa/hatch"
msys2_references=(
"pypi:hatchling"
"purl: pkg:pypi/hatchling"
)
license=('spdx:MIT')
depends=(

View File

@ -7,7 +7,7 @@ pkgrel=3
pkgdesc="brain-dead simple config-ini parsing"
url="https://github.com/pytest-dev/iniconfig"
msys2_references=(
"pypi:iniconfig"
"purl: pkg:pypi/iniconfig"
)
license=('spdx:MIT')
arch=('any')

View File

@ -8,7 +8,7 @@ pkgdesc="A low-level library for installing from a Python wheel distribution"
arch=('any')
url='https://github.com/pypa/installer'
msys2_references=(
"pypi:installer"
"purl: pkg:pypi/installer"
)
license=('spdx:MIT')
depends=("python")

View File

@ -11,7 +11,7 @@ license=('spdx:BSD-3-Clause')
url='http://jinja.pocoo.org/'
msys2_repository_url="https://github.com/pallets/jinja"
msys2_references=(
"pypi:Jinja2"
"purl: pkg:pypi/jinja2"
"cpe: cpe:/a:palletsprojects:jinja"
)
depends=('python-markupsafe')

View File

@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
url="https://lxml.de/"
msys2_repository_url="https://github.com/lxml/lxml"
msys2_references=(
"pypi:lxml"
"purl: pkg:pypi/lxml"
"cpe: cpe:/a:lxml:lxml"
)
license=('spdx:BSD-3-Clause')

View File

@ -10,7 +10,7 @@ arch=('any')
url="https://pypi.python.org/pypi/Mako"
msys2_repository_url="https://github.com/sqlalchemy/mako"
msys2_references=(
"pypi:Mako"
"purl: pkg:pypi/mako"
"cpe: cpe:/a:sqlalchemy:mako"
)
license=('MIT')

View File

@ -10,7 +10,7 @@ arch=('any')
url="http://projectmallard.org/"
msys2_repository_url="https://github.com/projectmallard/mallard-ducktype"
msys2_references=(
"pypi:mallard-ducktype"
"purl: pkg:pypi/mallard-ducktype"
'archlinux: mallard-ducktype'
)
license=('spdx:MIT')

View File

@ -14,7 +14,7 @@ optdepends=('python-yaml: parse Python in YAML metadata')
checkdepends=('python-yaml')
msys2_repository_url="https://github.com/Python-Markdown/markdown"
msys2_references=(
'pypi: Markdown'
'purl: pkg:pypi/markdown'
)
source=("${_pyname}-$pkgver.tar.gz"::"https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
sha256sums=('2ae2471477cfd02dbbf038d5d9bc226d40def84b4fe2986e49b59b6b472bbed2')

View File

@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
license=('spdx:BSD-3-Clause')
url="https://pypi.python.org/pypi/MarkupSafe"
msys2_references=(
"pypi:MarkupSafe"
"purl: pkg:pypi/markupsafe"
)
depends=("python")
makedepends=(

View File

@ -12,7 +12,7 @@ pkgdesc='More routines for operating on iterables, beyond itertools'
arch=('any')
url='https://github.com/erikrose/more-itertools'
msys2_references=(
"pypi:more-itertools"
"purl: pkg:pypi/more-itertools"
)
license=('MIT')
makedepends=('python-build' 'python-installer' 'python-flit-core')

View File

@ -10,7 +10,7 @@ arch=('any')
license=('spdx:MIT')
url="https://github.com/jeremyd2019/pacdb"
msys2_references=(
"pypi:pacdb"
"purl: pkg:pypi/pacdb"
)
depends=('python'
'python-zstandard')

View File

@ -9,7 +9,7 @@ pkgdesc="Core utilities for Python packages"
arch=('any')
url="https://github.com/pypa/packaging"
msys2_references=(
'pypi: packaging'
'purl: pkg:pypi/packaging'
)
license=('spdx:BSD-2-Clause OR Apache-2.0')
depends=('python')

View File

@ -8,7 +8,7 @@ pkgdesc='Utility library for gitignore style pattern matching of file paths'
arch=('any')
url=https://github.com/cpburnz/python-pathspec
msys2_references=(
"pypi:pathspec"
"purl: pkg:pypi/pathspec"
)
license=('spdx: MPL-2.0')
depends=('python')

View File

@ -8,7 +8,7 @@ pkgdesc='Patiencediff Python and C implementations'
arch=('i686' 'x86_64')
url='https://github.com/breezy-team/patiencediff'
msys2_references=(
"pypi:patiencediff"
"purl: pkg:pypi/patiencediff"
)
license=('spdx:GPL-2.0-or-later')
depends=('python')

View File

@ -9,7 +9,7 @@ pkgdesc="The PyPA recommended tool for installing Python packages"
url="https://pip.pypa.io/"
msys2_repository_url="https://github.com/pypa/pip"
msys2_references=(
"pypi:pip"
"purl: pkg:pypi/pip"
"cpe: cpe:/a:pypa:pip"
)
arch=('any')

View File

@ -5,7 +5,7 @@ pkgdesc='Python module to interface with the pkg-config command line tool'
arch=(any)
url='https://github.com/matze/pkgconfig'
msys2_references=(
"pypi:pkgconfig"
"purl: pkg:pypi/pkgconfig"
)
license=('spdx:MIT')
depends=(

View File

@ -9,7 +9,7 @@ pkgdesc="Plugin and hook calling mechanisms for python"
arch=('any')
url="https://github.com/pytest-dev/pluggy"
msys2_references=(
"pypi: pluggy"
"purl: pkg:pypi/pluggy"
)
license=('spdx:MIT')
depends=('python')

View File

@ -6,7 +6,7 @@ pkgdesc='Poetry PEP 517 Build Backend'
arch=(any)
url='https://github.com/python-poetry/poetry-core'
msys2_references=(
"pypi:poetry-core"
"purl: pkg:pypi/poetry-core"
)
license=('spdx:MIT')
depends=("python")

View File

@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
license=('spdx:MIT')
url="https://github.com/encukou/py3c"
msys2_references=(
"pypi:py3c"
"purl: pkg:pypi/py3c"
)
depends=("python")
makedepends=(

View File

@ -11,7 +11,7 @@ license=('GPL')
url="https://gitlab.archlinux.org/archlinux/pyalpm"
msys2_references=(
'archlinux: pyalpm'
"pypi:pyalpm"
"purl: pkg:pypi/pyalpm"
)
depends=("python" "libarchive" "libgpgme")
makedepends=('gettext-devel'

View File

@ -9,7 +9,7 @@ arch=("i686" "x86_64")
url="https://pygments.org/"
msys2_repository_url="https://github.com/pygments/pygments"
msys2_references=(
"pypi:Pygments"
"purl: pkg:pypi/pygments"
"cpe: cpe:/a:pygments:pygments"
)
license=('spdx:BSD-2-Clause')

View File

@ -10,7 +10,7 @@ arch=('any')
url='https://github.com/pyparsing/pyparsing/'
msys2_references=(
"anitya: 3756"
"pypi:pyparsing"
"purl: pkg:pypi/pyparsing"
)
license=('spdx:MIT')
depends=('python')

View File

@ -9,7 +9,7 @@ arch=(any)
url="https://github.com/pypa/pyproject-hooks"
msys2_references=(
"anitya: 320474"
'pypi: pyproject-hooks'
'purl: pkg:pypi/pyproject-hooks'
)
license=('spdx:MIT')
depends=(python)

View File

@ -14,7 +14,7 @@ url="https://pytest.org/"
msys2_repository_url="https://github.com/pytest-dev/pytest"
msys2_references=(
"anitya: 3765"
"pypi:pytest"
"purl: pkg:pypi/pytest"
)
depends=('python'
'python-attrs'

View File

@ -12,7 +12,7 @@ license=('spdx:MIT')
url='https://github.com/pypa/setuptools_scm'
msys2_references=(
"anitya: 65053"
"pypi:setuptools-scm"
"purl: pkg:pypi/setuptools-scm"
)
depends=(
'python'

View File

@ -12,7 +12,7 @@ url="https://pypi.python.org/pypi/setuptools"
msys2_repository_url="https://github.com/pypa/setuptools"
msys2_references=(
"anitya: 4021"
"pypi:setuptools"
"purl: pkg:pypi/setuptools"
"cpe: cpe:/a:python:setuptools"
)
depends=('python')

View File

@ -12,7 +12,7 @@ arch=('any')
url="https://pypi.python.org/pypi/six/"
msys2_references=(
"anitya: 4027"
"pypi:six"
"purl: pkg:pypi/six"
)
license=('spdx:MIT')
depends=('python')

View File

@ -7,7 +7,7 @@ pkgrel=3
pkgdesc="Python with the SmartyPants"
url="https://github.com/leohemsted/smartypants.py"
msys2_references=(
'pypi: smartypants'
'purl: pkg:pypi/smartypants'
)
license=('spdx:BSD-2-Clause')
arch=('any')

View File

@ -9,7 +9,7 @@ arch=('any')
url="https://github.com/pypa/trove-classifiers"
msys2_references=(
"anitya: 88298"
"pypi:trove-classifiers"
"purl: pkg:pypi/trove-classifiers"
)
license=('spdx:Apache-2.0')
depends=(

View File

@ -8,7 +8,7 @@ pkgdesc='Backported and Experimental Type Hints for Python 3.8+'
arch=(any)
url=https://github.com/python/typing_extensions
msys2_references=(
'pypi:typing-extensions'
'purl: pkg:pypi/typing-extensions'
)
license=('spdx:PSF-2.0')
depends=(python)

View File

@ -8,7 +8,7 @@ pkgdesc='filters to make caring about typography on the web a bit easier'
arch=('any')
url='https://github.com/justinmayer/typogrify'
msys2_references=(
'pypi: typogrify'
'purl: pkg:pypi/typogrify'
)
license=('spdx:BSD-3-Clause')
depends=('python' 'python-smartypants')

View File

@ -8,7 +8,7 @@ pkgdesc="HTTP library with thread-safe connection pooling and file post support"
url='https://github.com/urllib3/urllib3'
msys2_references=(
"anitya: 4078"
"pypi:urllib3"
"purl: pkg:pypi/urllib3"
"cpe: cpe:/a:python:urllib3"
)
license=('spdx:MIT')

View File

@ -9,7 +9,7 @@ pkgdesc='Measures number of Terminal column cells of wide-character codes'
url='https://github.com/jquast/wcwidth'
msys2_references=(
"anitya: 88052"
"pypi:wcwidth"
"purl: pkg:pypi/wcwidth"
)
arch=('any')
license=('spdx:MIT')

View File

@ -11,7 +11,7 @@ arch=('i686' 'x86_64')
url='https://pyyaml.org/'
msys2_references=(
"anitya: 4123"
"pypi:PyYAML"
"purl: pkg:pypi/pyyaml"
"cpe: cpe:/a:pyyaml:pyyaml"
)
license=('spdx:MIT')

View File

@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
url="https://github.com/indygreg/python-zstandard"
msys2_references=(
"anitya: 147738"
"pypi:zstandard"
"purl: pkg:pypi/zstandard"
)
license=('spdx:BSD-3-Clause')
depends=("python")

View File

@ -9,7 +9,7 @@ arch=('any')
url="https://scons.org/"
msys2_references=(
"anitya: 4770"
"pypi:SCons"
"purl: pkg:pypi/scons"
)
license=('MIT')
depends=('python')

View File

@ -9,7 +9,7 @@ arch=('any')
url='https://www.txt2tags.org/'
msys2_references=(
"anitya: 10473"
"pypi:txt2tags"
"purl: pkg:pypi/txt2tags"
)
license=('spdx:GPL-2.0-or-later')
depends=('python')