summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2022-01-08 03:31:02 +0100
committerLouis Sautier <sbraz@gentoo.org>2022-01-08 03:31:02 +0100
commit94b9710213ff4cc9565cedd6a13547c73eefdc57 (patch)
tree319d415444fd53175e2aa7b084ea9334bd3be47b /dev-python/plyvel
parentnet-irc/znc: display qualified package name in README (diff)
downloadgentoo-94b9710213ff4cc9565cedd6a13547c73eefdc57.tar.gz
gentoo-94b9710213ff4cc9565cedd6a13547c73eefdc57.tar.bz2
gentoo-94b9710213ff4cc9565cedd6a13547c73eefdc57.zip
dev-python/plyvel: add 1.4.0
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/plyvel')
-rw-r--r--dev-python/plyvel/Manifest1
-rw-r--r--dev-python/plyvel/plyvel-1.4.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest
index f55ba96c031b..71805c72135f 100644
--- a/dev-python/plyvel/Manifest
+++ b/dev-python/plyvel/Manifest
@@ -1 +1,2 @@
DIST plyvel-1.3.0.tar.gz 149379 BLAKE2B 0a4fc8c3073cc8e103ab217f8e7971f04d9e6d1862dea7ce3d2634ba9646bdeebdda740fe6cb2e83aeeab513601bddef374355c4f6c9f320ce6b4b14ff2b2bf6 SHA512 fc1b84f0e98bf3edcdc2d7eda4f18313186538bb419bd297f694330e60512a6ab63e8d2fabaa825023eb5570f175ebbc22b8ae81e29603b1a94c1abb37774e99
+DIST plyvel-1.4.0.tar.gz 151155 BLAKE2B 1bba3fef97518d5ec291f0ebc0ebd54511678ef16e2925a1027706c917e89bbdeb20b63bcf8d1e22f8c3ef41a88695d8d64065ac9ffb9bebdc652be0f4de4eed SHA512 6532007bb103f2b0121c41ae0a23fa67dfd2c27b1472b43265f6fb5928e4f28514744887f190fb087c8640cba2e62923a1ffe14f59a70b123dc9ad7798e329d5
diff --git a/dev-python/plyvel/plyvel-1.4.0.ebuild b/dev-python/plyvel/plyvel-1.4.0.ebuild
new file mode 100644
index 000000000000..d519b1159a59
--- /dev/null
+++ b/dev-python/plyvel/plyvel-1.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Disable PyPy3 for now because it is not stable enough:
+# https://github.com/wbolster/plyvel/issues/140
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to LevelDB"
+HOMEPAGE="https://github.com/wbolster/plyvel"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-libs/leveldb-1.21:="
+DEPEND="${RDEPEND}"
+
+distutils_enable_sphinx doc
+distutils_enable_tests pytest
+
+python_test() {
+ # With the default import mode, plyvel is imported from ${S} which causes
+ # a failure because it doesn't contain the compiled _plyvel extension
+ pytest --import-mode=append -vv || die "Tests fail with ${EPYTHON}"
+}