* update python-lazy-object-proxy to 1.10.0-4

This commit is contained in:
Alexander Baldeck 2024-12-04 07:23:34 +01:00
parent 2b7e12070a
commit f19848cafa
3 changed files with 31 additions and 6 deletions

View File

@ -0,0 +1,21 @@
pkgbase = python-lazy-object-proxy
pkgdesc = A fast and thorough lazy object proxy
pkgver = 1.10.0
pkgrel = 4
url = https://github.com/ionelmc/python-lazy-object-proxy
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = BSD-2-Clause
checkdepends = python-pytest-benchmark
makedepends = python-setuptools-scm
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python
source = https://github.com/ionelmc/python-lazy-object-proxy/archive/v1.10.0/python-lazy-object-proxy-1.10.0.tar.gz
sha512sums = 618e900b0314b2c39fb3fca21592b4a24216af7044185c413bd06235dc274ebf303299143648e5c026b62f3d0b977b5d31c667f2a31f3a768174915a5c1320bd
pkgname = python-lazy-object-proxy

View File

@ -0,0 +1,4 @@
[python-lazy-object-proxy]
source = "git"
git = "https://github.com/ionelmc/python-lazy-object-proxy.git"
prefix = "v"

View File

@ -3,13 +3,13 @@
pkgname=python-lazy-object-proxy
pkgver=1.10.0
pkgrel=3
pkgrel=4
pkgdesc='A fast and thorough lazy object proxy'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://github.com/ionelmc/python-lazy-object-proxy"
license=('BSD')
license=('BSD-2-Clause')
depends=("python")
makedepends=('python-setuptools-scm')
makedepends=('python-setuptools-scm' 'python-build' 'python-installer' 'python-wheel')
checkdepends=('python-pytest-benchmark')
source=("https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('618e900b0314b2c39fb3fca21592b4a24216af7044185c413bd06235dc274ebf303299143648e5c026b62f3d0b977b5d31c667f2a31f3a768174915a5c1320bd')
@ -18,7 +18,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
build() {
cd python-lazy-object-proxy-$pkgver
python setup.py build
python -m build --wheel --no-isolation
}
check() {
@ -29,6 +29,6 @@ check() {
package() {
cd python-lazy-object-proxy-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
}