Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages / python-krb5
Commits: 1efc85f0 by Jakub Klinkovský at 2025-01-04T23:46:53+01:00 upgpkg: 0.5.1-4: switch to PEP 517 build - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,16 @@ pkgbase = python-krb5 pkgdesc = krb5 API interface pkgver = 0.5.1 - pkgrel = 3 + pkgrel = 4 url = https://github.com/jborean93/pykrb5 arch = x86_64 license = MIT checkdepends = python-pytest checkdepends = python-k5test makedepends = cython + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel makedepends = python-setuptools depends = python depends = krb5 ===================================== PKGBUILD ===================================== @@ -3,13 +3,13 @@ _pkg=krb5 pkgname=python-${_pkg} pkgver=0.5.1 -pkgrel=3 +pkgrel=4 pkgdesc="krb5 API interface" arch=(x86_64) url="https://github.com/jborean93/pykrb5" license=(MIT) depends=(python krb5) -makedepends=(cython python-setuptools) +makedepends=(cython python-build python-installer python-wheel python-setuptools) checkdepends=(python-pytest python-k5test) # No tests in pypi tarball #source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) @@ -18,7 +18,7 @@ sha256sums=('76a2f700d3a6e5ad332167ba0946172b8899dff2fbd61110bca8b1ebfa033f58') build() { cd py${_pkg}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -29,6 +29,6 @@ check() { package() { cd py${_pkg}-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-krb5/-/commit/1efc85f04e1ebd08b71ad43f8e9cb87975dffec0 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-krb5/-/commit/1efc85f04e1ebd08b71ad43f8e9cb87975dffec0 You're receiving this email because of your account on gitlab.archlinux.org.