Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-genty
Commits: 18f07150 by loqs at 2024-03-07T10:37:35+00:00 Call unittest module directly - - - - - 9d72b538 by loqs at 2024-03-07T10:39:42+00:00 Change to a PEP 517 based workflow - - - - - 17102c8b by loqs at 2024-03-07T10:42:00+00:00 Use SPDX license https://github.com/box/genty/blob/v1.3.2/LICENSE - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -5,10 +5,10 @@ pkgver=1.3.2 pkgrel=12 pkgdesc="Allows you to run a test with multiple data sets" arch=('any') -license=('Apache') +license=('Apache-2.0') url="https://github.com/box/genty" depends=('python-six') -makedepends=('python-setuptools' 'git') +makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel' 'git') source=("git+https://github.com/box/genty.git#tag=v$pkgver") sha512sums=('SKIP') @@ -19,15 +19,15 @@ prepare() { build() { cd "$srcdir/genty" - python setup.py build + python -m build --wheel --no-isolation } check() { cd "$srcdir/genty" - python setup.py test + python -m unittest -v } package() { cd genty - 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-genty/-/compare/9c74bde104eb1364bb065c143d1ebdef5ee84288...17102c8b6fdf0bbcf8751eb9f792ad2a90c8030f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-genty/-/compare/9c74bde104eb1364bb065c143d1ebdef5ee84288...17102c8b6fdf0bbcf8751eb9f792ad2a90c8030f You're receiving this email because of your account on gitlab.archlinux.org.
