Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / python-pyct
Commits: 9c2d18d1 by loqs at 2024-04-12T23:08:05+01:00 Change to a PEP 517 based workflow - - - - - d02dfde7 by loqs at 2024-04-12T23:08:06+01:00 Change to SPDX license identifier https://github.com/holoviz-dev/pyct/blob/v0.5.0/LICENSE.txt - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -7,16 +7,21 @@ pkgrel=3 pkgdesc="Python packaging Common Tasks" arch=(any) url="https://github.com/pyviz-dev/pyct" -license=(BSD) +license=(BSD-3-Clause) depends=(python-param) -makedepends=(python-setuptools) +makedepends=( + python-build + python-installer + python-setuptools + python-wheel +) checkdepends=(python-pytest python-requests python-yaml) source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) sha256sums=('dd9f4ac5cbd8e37c352c04036062d3c5f67efec76d404761ef16b0cbf26aa6a0') build() { cd ${_pkg}-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -26,7 +31,7 @@ check() { package() { cd ${_pkg}-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname} } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyct/-/compare/83e797a3babf968162851c8e6c11078238a82272...d02dfde73fb49e7d27e5e215aa32d6515f18823e -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyct/-/compare/83e797a3babf968162851c8e6c11078238a82272...d02dfde73fb49e7d27e5e215aa32d6515f18823e You're receiving this email because of your account on gitlab.archlinux.org.