Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-deprecation
Commits: 1015e76c by loqs at 2026-01-31T02:14:07+00:00 SPDX license identifier https://github.com/briancurtin/deprecation/blob/2.1.0/LICENSE - - - - - 1e58a4af by loqs at 2026-01-31T02:15:46+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,8 +4,11 @@ pkgbase = python-deprecation pkgrel = 11 url = https://deprecation.readthedocs.io arch = any - license = Apache + license = Apache-2.0 + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python source = https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-2.1.0.tar.gz sha512sums = c184665d210c6eeb3f055b23e75c3714f3b18050e03bfe1384baf6c2504f1370116ae0e8c53ff818ccc54c0d633bbb3ba5791fe20b8029f3be0207b019a00275 ===================================== PKGBUILD ===================================== @@ -5,10 +5,10 @@ pkgver=2.1.0 pkgrel=11 pkgdesc="A library to handle automated deprecations" arch=('any') -license=('Apache') +license=('Apache-2.0') url="https://deprecation.readthedocs.io" depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("https://files.pythonhosted.org/packages/source/d/deprecation/deprecation-$pkgver.tar.gz") sha512sums=('c184665d210c6eeb3f055b23e75c3714f3b18050e03bfe1384baf6c2504f1370116ae0e8c53ff818ccc54c0d633bbb3ba5791fe20b8029f3be0207b019a00275') @@ -20,7 +20,7 @@ prepare() { build() { cd deprecation-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -30,5 +30,5 @@ check() { package() { cd deprecation-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-deprecation/-/compare/683a6b1b6d05676cabf4c6f18d332f5dce31d812...1e58a4af560b54afa5d78474db71a6c15ec4db9a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-deprecation/-/compare/683a6b1b6d05676cabf4c6f18d332f5dce31d812...1e58a4af560b54afa5d78474db71a6c15ec4db9a You're receiving this email because of your account on gitlab.archlinux.org.
