From 549882e326767dbb3ccf1be6dc1f276e629e789a Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 6 Dec 2023 09:36:08 +0100 Subject: [PATCH] Remove python-tomli all packages no longer require it in combination with Python 3.11+ --- python-build/PKGBUILD | 5 ++--- python-hatch-fancy-pypi-readme/PKGBUILD | 5 ++--- python-hatchling/PKGBUILD | 3 +-- python-pyproject-hooks/PKGBUILD | 4 ++-- python-pytest/PKGBUILD | 5 ++--- python-tomli/PKGBUILD | 28 ------------------------- 6 files changed, 9 insertions(+), 41 deletions(-) delete mode 100644 python-tomli/PKGBUILD diff --git a/python-build/PKGBUILD b/python-build/PKGBUILD index a033809f..90dd82e8 100644 --- a/python-build/PKGBUILD +++ b/python-build/PKGBUILD @@ -3,14 +3,13 @@ _realname=build pkgname="python-${_realname}" pkgver=1.0.3 -pkgrel=1 +pkgrel=2 pkgdesc="A simple, correct Python build frontend" arch=('any') url='https://github.com/pypa/build' license=('spdx:MIT') depends=("python-packaging" - "python-pyproject-hooks" - "python-tomli") + "python-pyproject-hooks") makedepends=( "python-flit-core" "python-installer" diff --git a/python-hatch-fancy-pypi-readme/PKGBUILD b/python-hatch-fancy-pypi-readme/PKGBUILD index acb583ac..b9e2b288 100644 --- a/python-hatch-fancy-pypi-readme/PKGBUILD +++ b/python-hatch-fancy-pypi-readme/PKGBUILD @@ -4,14 +4,13 @@ _realname=hatch-fancy-pypi-readme pkgbase=python-hatch-fancy-pypi-readme pkgname=("python-${_realname}") pkgver=23.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Fancy PyPI READMEs with Hatch" arch=('any') license=('spdx:MIT') url="https://github.com/hynek/hatch-fancy-pypi-readme" depends=('python' - 'python-hatchling' - 'python-tomli') + 'python-hatchling') makedepends=( 'python-build' 'python-installer' diff --git a/python-hatchling/PKGBUILD b/python-hatchling/PKGBUILD index 7ac4d48c..38612d83 100644 --- a/python-hatchling/PKGBUILD +++ b/python-hatchling/PKGBUILD @@ -3,14 +3,13 @@ _pyname=hatchling pkgname=python-hatchling pkgver=1.18.0 -pkgrel=1 +pkgrel=2 pkgdesc="A modern project, package, and virtual env manager (backend)" arch=('any') url="https://github.com/pypa/hatch" license=('spdx:MIT') depends=( 'python' - 'python-tomli' 'python-packaging' 'python-pathspec' 'python-pluggy' diff --git a/python-pyproject-hooks/PKGBUILD b/python-pyproject-hooks/PKGBUILD index 9589813b..a6f6d65f 100644 --- a/python-pyproject-hooks/PKGBUILD +++ b/python-pyproject-hooks/PKGBUILD @@ -3,12 +3,12 @@ _name=pyproject_hooks pkgname=python-pyproject-hooks pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="A low-level library for calling build-backends in pyproject.toml-based project" arch=(any) url="https://github.com/pypa/pyproject-hooks" license=('spdx:MIT') -depends=(python python-tomli) +depends=(python) makedepends=(python-installer python-flit-core) source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) sha256sums=('f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5') diff --git a/python-pytest/PKGBUILD b/python-pytest/PKGBUILD index 43854b8d..b8f06b05 100644 --- a/python-pytest/PKGBUILD +++ b/python-pytest/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=python-pytest pkgname=('python-pytest') pkgver=7.4.3 -pkgrel=1 +pkgrel=2 provides=("python3-pytest") replaces=("python3-pytest") conflicts=("python3-pytest") @@ -15,8 +15,7 @@ depends=('python' 'python-attrs' 'python-pluggy' 'python-packaging' - 'python-iniconfig' - 'python-tomli') + 'python-iniconfig') makedepends=('python-build' 'python-installer' 'python-setuptools' diff --git a/python-tomli/PKGBUILD b/python-tomli/PKGBUILD deleted file mode 100644 index ac919a4d..00000000 --- a/python-tomli/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -pkgname=python-tomli -pkgver=2.0.1 -pkgrel=3 -pkgdesc="A lil' TOML parser" -url="https://github.com/hukkin/tomli" -license=('spdx:MIT') -arch=('any') -depends=('python') -makedepends=( - 'python-flit-core' - 'python-installer' -) -source=("https://github.com/hukkin/tomli/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('ad22dbc128623e0c156ffaff019f29f456eba8a5d5a05164dd34f63e560449df') - -build() { - cd "tomli-${pkgver}" - - python -m flit_core.wheel -} - -package() { - cd "tomli-${pkgver}" - - python -m installer --destdir="${pkgdir}" dist/*.whl - - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -}