Skip to content

Commit

Permalink
Use pypi PURLs instead of plain pypi names
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lazka committed Feb 16, 2025
1 parent e349a29 commit a0902f1
Show file tree
Hide file tree
Showing 60 changed files with 60 additions and 60 deletions.
2 changes: 1 addition & 1 deletion ansible-core/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion ansible/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion asciidoc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion breezy/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion cython/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion mercurial/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion meson/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-appdirs/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-attrs/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-beaker/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion python-brotli/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-build/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion python-calver/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-certifi/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-configobj/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-docutils/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-dulwich/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-editables/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-fastbencode/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion python-fastimport/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-flit-core/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion python-hatch-fancy-pypi-readme/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-hatch-vcs/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-hatchling/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-iniconfig/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-installer/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion python-jinja/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-lxml/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-mako/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-mallard-ducktype/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-markdown/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-markupsafe/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-more-itertools/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-pacdb/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-packaging/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-pathspec/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-patiencediff/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-pip/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-pkgconfig/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-pluggy/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion python-poetry-core/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion python-py3c/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion python-pyalpm/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion python-pygments/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
Loading

0 comments on commit a0902f1

Please sign in to comment.