Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / python-aioitertools
Commits: 4be33273 by Chih-Hsuan Yen at 2024-09-02T18:16:19+08:00 upgpkg: 0.12.0-1; move away from PyPI tarballs as per [1] [1] https://rfc.archlinux.page/0020-sources-for-python-packaging/ - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,15 +1,16 @@ pkgbase = python-aioitertools pkgdesc = Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables - pkgver = 0.11.0 - pkgrel = 3 + pkgver = 0.12.0 + pkgrel = 1 url = https://github.com/omnilib/aioitertools arch = any license = MIT makedepends = python-flit-core makedepends = python-build makedepends = python-installer + makedepends = git depends = python - source = https://files.pythonhosted.org/packages/source/a/aioitertools/aioitertools-0.11.0.tar.gz - sha256sums = 42c68b8dd3a69c2bf7f2233bf7df4bb58b557bca5252ac02ed5187bbc67d6831 + source = git+https://github.com/omnilib/aioitertools#tag=v0.12.0 + sha256sums = 0dd8849c3eca0558b95cf7e63294114587406a64f15e7904538f2514f742f38d pkgname = python-aioitertools ===================================== PKGBUILD ===================================== @@ -3,29 +3,29 @@ pkgname=python-aioitertools _pkgname=aioitertools # https://github.com/omnilib/aioitertools/blob/main/CHANGELOG.md -pkgver=0.11.0 -pkgrel=3 +pkgver=0.12.0 +pkgrel=1 pkgdesc='Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables' arch=(any) url='https://github.com/omnilib/aioitertools' license=(MIT) depends=(python) -makedepends=(python-flit-core python-build python-installer) -source=("https://files.pythonhosted.org/packages/source/a/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=('42c68b8dd3a69c2bf7f2233bf7df4bb58b557bca5252ac02ed5187bbc67d6831') +makedepends=(python-flit-core python-build python-installer git) +source=("git+$url#tag=v$pkgver") +sha256sums=('0dd8849c3eca0558b95cf7e63294114587406a64f15e7904538f2514f742f38d') build() { - cd $_pkgname-$pkgver + cd $_pkgname python -m build --wheel --no-isolation } check() { - cd $_pkgname-$pkgver + cd $_pkgname python -m unittest -v aioitertools.tests } package() { - cd $_pkgname-$pkgver + cd $_pkgname 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-aioitertools/-/commit/4be3327310d08515a01b043e0c7222eb045839af -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-aioitertools/-/commit/4be3327310d08515a01b043e0c7222eb045839af You're receiving this email because of your account on gitlab.archlinux.org.
