aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2021-12-29 09:49:42 +0100
committerprspkt <prspkt@protonmail.com>2021-12-30 00:42:37 +0000
commit439a60268afd46694d61fd7f5fbe282e701780f7 (patch)
tree2fa0dbff8eccd6f3a8c59eaa8832f6619e00b783
parent32513dad2fb3db712ae478e893e71a4dc6fde21e (diff)
downloadaports-439a60268afd46694d61fd7f5fbe282e701780f7.tar.gz
aports-439a60268afd46694d61fd7f5fbe282e701780f7.tar.bz2
aports-439a60268afd46694d61fd7f5fbe282e701780f7.tar.xz
community/py3-lazy-object-proxy: upgrade to 1.7.1
-rw-r--r--community/py3-lazy-object-proxy/APKBUILD14
-rw-r--r--community/py3-lazy-object-proxy/remove-setuptools_scm.patch8
2 files changed, 13 insertions, 9 deletions
diff --git a/community/py3-lazy-object-proxy/APKBUILD b/community/py3-lazy-object-proxy/APKBUILD
index 3304d7034b..8df52164f0 100644
--- a/community/py3-lazy-object-proxy/APKBUILD
+++ b/community/py3-lazy-object-proxy/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-lazy-object-proxy
_pkgname=lazy-object-proxy
-pkgver=1.6.0
-pkgrel=2
+pkgver=1.7.1
+pkgrel=0
pkgdesc="Fast and thorough lazy object proxy"
url="https://github.com/ionelmc/python-lazy-object-proxy"
arch="all"
@@ -19,8 +19,12 @@ case "$CARCH" in
mips*) options="!check" ;; # no py3-pytest-benchmark
esac
+prepare() {
+ default_prepare
+ sed -e "s/%%PKGVER%%/$pkgver/" -i setup.cfg
+}
+
build() {
- export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
python3 setup.py build
}
@@ -33,6 +37,6 @@ package() {
}
sha512sums="
-81a9731aa22afdd8c7859abf12ed6041f2fab533566dc537159bbb88c2afc4a0996953db20524ee58dbccf6da8e24f7bb38a3fa71994924100dd2b635234ac38 lazy-object-proxy-1.6.0.tar.gz
-5ff5167bba99fc3b90b162722307428bf561f3f3e2c3700dc59dab46630e1f097a74b5a065aa5d2cc48cf540d5f66807f1eabdee9e924d6ac293f64c3ab90c5a remove-setuptools_scm.patch
+cf80f2e43795cef09c0a6dde32276d54f5d66a2cf017d3e815868ec9925d989f7256bbf3e416c4445d13e0c9241733029d9a99f2556258f59c2c5267b3c35391 lazy-object-proxy-1.7.1.tar.gz
+995e6f8a57f08095820fbe0d702636ed441264dda90e1a535be70e0dc3fb0e3f80e0619e4b4c742e5d4f1ef24f16247129a0ef1f6a89696244b404066aa958ce remove-setuptools_scm.patch
"
diff --git a/community/py3-lazy-object-proxy/remove-setuptools_scm.patch b/community/py3-lazy-object-proxy/remove-setuptools_scm.patch
index 6d49a9fe1e..0dcc8a31d6 100644
--- a/community/py3-lazy-object-proxy/remove-setuptools_scm.patch
+++ b/community/py3-lazy-object-proxy/remove-setuptools_scm.patch
@@ -1,12 +1,12 @@
-diff --git a/setup.cfg b/setup.cfg
-index 7cff289..9008e38 100644
--- a/setup.cfg
+++ b/setup.cfg
-@@ -1,7 +1,3 @@
+@@ -1,7 +1,5 @@
-[options]
-setup_requires =
-- setuptools_scm>=3.3.1,<6.0
+- setuptools_scm>=3.3.1
-
++[metadata]
++version= %%PKGVER%%
[flake8]
max-line-length = 140
exclude = .tox,.eggs,ci/templates,build,dist