Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / python-async-lru
Commits: 05c35b52 by Antonio Rojas at 2024-04-29T22:48:47+02:00 upgpkg: 2.0.4-3: Drop typing_extensions dependency - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,19 +1,20 @@ pkgbase = python-async-lru pkgdesc = Simple LRU cache for asyncio pkgver = 2.0.4 - pkgrel = 2 + pkgrel = 3 url = https://github.com/aio-libs/async-lru arch = any license = MIT - checkdepends = python-pytest-cov checkdepends = python-pytest-asyncio + checkdepends = python-pytest-cov checkdepends = python-pytest-timeout + makedepends = git makedepends = python-build makedepends = python-installer makedepends = python-setuptools makedepends = python-wheel - depends = python-typing_extensions - source = https://pypi.python.org/packages/source/a/async-lru/async-lru-2.0.4.tar.gz - sha256sums = b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627 + depends = python + source = git+https://github.com/aio-libs/async-lru#tag=v2.0.4 + sha256sums = b20e888a322c68460746a316cb36948dd73bc8bef98e7cc9776f63f2ec3d5170 pkgname = python-async-lru ===================================== PKGBUILD ===================================== @@ -3,31 +3,37 @@ _pyname=async-lru pkgname=python-$_pyname pkgver=2.0.4 -pkgrel=2 +pkgrel=3 pkgdesc='Simple LRU cache for asyncio' arch=(any) url='https://github.com/aio-libs/async-lru' license=(MIT) -depends=(python-typing_extensions) -makedepends=(python-build python-installer python-setuptools python-wheel) -checkdepends=(python-pytest-cov python-pytest-asyncio python-pytest-timeout) -source=(https://pypi.python.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz) -sha256sums=('b8a59a5df60805ff63220b2a0c5b5393da5521b113cd5465a44eb037d81a5627') +depends=(python) +makedepends=(git + python-build + python-installer + python-setuptools + python-wheel) +checkdepends=(python-pytest-asyncio + python-pytest-cov + python-pytest-timeout) +source=(git+https://github.com/aio-libs/async-lru#tag=v$pkgver) +sha256sums=('b20e888a322c68460746a316cb36948dd73bc8bef98e7cc9776f63f2ec3d5170') build() { - cd $_pyname-$pkgver + cd $_pyname python -m build --wheel --no-isolation } check() { - cd $_pyname-$pkgver + cd $_pyname python -m venv --system-site-packages test-env test-env/bin/python -m installer dist/*.whl test-env/bin/python -m pytest -v } package() { - cd $_pyname-$pkgver + cd $_pyname 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-async-lru/-/commit/05c35b520ea106bcbc0d9a65b8b1e765f22232ab -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-async-lru/-/commit/05c35b520ea106bcbc0d9a65b8b1e765f22232ab You're receiving this email because of your account on gitlab.archlinux.org.