Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-getkey
Commits: 9f79305e by Carl Smedstad at 2024-10-06T12:33:53+02:00 Configure nvchecker for PyPI instead of repository Repository tags are a bit of a mess. - - - - - 41f1c8d6 by Carl Smedstad at 2024-10-06T12:38:28+02:00 Migrate to standards based packaging (PEP517) - - - - - 8b9b61c7 by Carl Smedstad at 2024-10-06T12:41:06+02:00 upgpkg: 0.6.5-6: Drop unneeded python-pytest-cov dependency https://archlinux.org/todo/drop-python-pytest-cov-dependency-if-unneeded/ - - - - - 3 changed files: - .SRCINFO - .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,15 @@ pkgbase = python-getkey pkgdesc = Python library to easily read single chars and key strokes pkgver = 0.6.5 - pkgrel = 5 + pkgrel = 6 url = https://github.com/kcsaff/getkey arch = any license = MIT - checkdepends = python-pytest-cov + checkdepends = python-pytest + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools - makedepends = flake8 + makedepends = python-wheel depends = python source = https://github.com/kcsaff/getkey/archive/v0.6.5/python-getkey-0.6.5.tar.gz sha256sums = 096792463ed0cd8ac92d7b2b6d23cff1c815b449403115034bed2029b378d54c ===================================== .nvchecker.toml ===================================== @@ -1,4 +1,3 @@ [python-getkey] -source = "git" -git = "https://github.com/kcsaff/getkey.git" -prefix = "v" +source = "pypi" +pypi = "getkey" ===================================== PKGBUILD ===================================== @@ -3,29 +3,34 @@ _pkgname=getkey pkgname=python-getkey pkgver=0.6.5 -pkgrel=5 +pkgrel=6 pkgdesc='Python library to easily read single chars and key strokes' arch=('any') url='https://github.com/kcsaff/getkey' license=('MIT') depends=('python') -makedepends=('python-setuptools' 'flake8') -checkdepends=('python-pytest-cov') +makedepends=( + 'python-build' + 'python-installer' + 'python-setuptools' + 'python-wheel' +) +checkdepends=('python-pytest') source=("https://github.com/kcsaff/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz") sha256sums=('096792463ed0cd8ac92d7b2b6d23cff1c815b449403115034bed2029b378d54c') build() { cd $_pkgname-$pkgver - python setup.py build + python -m build --wheel --no-isolation --skip-dependency-check } check() { cd $_pkgname-$pkgver - pytest + pytest --override-ini="addopts=" } package() { cd $_pkgname-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-getkey/-/compare/e490840fcf2589f542dba9b9c4d5617a86b5968a...8b9b61c72b000c784997eeb7c1b39d54bbb68bed -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-getkey/-/compare/e490840fcf2589f542dba9b9c4d5617a86b5968a...8b9b61c72b000c784997eeb7c1b39d54bbb68bed You're receiving this email because of your account on gitlab.archlinux.org.
