summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-15 08:47:05 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-15 17:11:34 +0100
commitf1656ae120fd5242053a767a4bb582e90c9aa19f (patch)
treea1f87b4a17c4d75c01fc3bc236f39df40739d087 /dev-python/lazy-object-proxy
parentapp-shells/ksh: Keyword 1.0.0_beta1 hppa, #829226 (diff)
downloadgentoo-f1656ae120fd5242053a767a4bb582e90c9aa19f.tar.gz
gentoo-f1656ae120fd5242053a767a4bb582e90c9aa19f.tar.bz2
gentoo-f1656ae120fd5242053a767a4bb582e90c9aa19f.zip
dev-python/lazy-object-proxy: Bump to 1.7.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/lazy-object-proxy')
-rw-r--r--dev-python/lazy-object-proxy/Manifest1
-rw-r--r--dev-python/lazy-object-proxy/lazy-object-proxy-1.7.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/lazy-object-proxy/Manifest b/dev-python/lazy-object-proxy/Manifest
index 923ac8a658df..1bd3170b5ef4 100644
--- a/dev-python/lazy-object-proxy/Manifest
+++ b/dev-python/lazy-object-proxy/Manifest
@@ -1 +1,2 @@
DIST lazy-object-proxy-1.5.0.tar.gz 35938 BLAKE2B 11e091538f4bcddd5acb39963572e30535b01227481affcb160d55b39c5b4548fef2da316efe483d6b0450e204126b957884dfb7a96727b0a00209addd6097cc SHA512 8d594df743694f01b9710e55d8e88831d6ac2e81a925ad310f0c39d061f20115550c5adf1da40d0d7c4749eb3a7ffbbb6000ebbda3dbb445c9efa1d05ff37cc3
+DIST lazy-object-proxy-1.7.0.tar.gz 42441 BLAKE2B 8652697cf80f4fca6a4ad83daee2fafb203b7c1a1375fa504aba731e4717d40f3b130cbfeffd642a7d76ae35ab5532aaa819566d8706b37504863e7b433906c3 SHA512 462e04efccba1462a09bec66bdfa47f3cb4d8fa746f66d7dada0e9436416c6f7948363d11eac95f8d8734d3296794899f28f123cb289565af85d3bc29a635c61
diff --git a/dev-python/lazy-object-proxy/lazy-object-proxy-1.7.0.ebuild b/dev-python/lazy-object-proxy/lazy-object-proxy-1.7.0.ebuild
new file mode 100644
index 000000000000..0ee1172ea06c
--- /dev/null
+++ b/dev-python/lazy-object-proxy/lazy-object-proxy-1.7.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="A fast and thorough lazy object proxy"
+HOMEPAGE="
+ https://github.com/ionelmc/python-lazy-object-proxy
+ https://pypi.org/project/lazy-object-proxy/
+ https://python-lazy-object-proxy.readthedocs.org/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # No need to benchmark
+ sed \
+ -e '/benchmark/s:test_:_&:g' \
+ -e '/pytest.mark.benchmark/d' \
+ -i tests/test_lazy_object_proxy.py || die
+ distutils-r1_python_prepare_all
+}