summaryrefslogtreecommitdiff
path: root/dev-python/plyvel
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/plyvel')
-rw-r--r--dev-python/plyvel/Manifest2
-rw-r--r--dev-python/plyvel/plyvel-1.5.1.ebuild44
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest
index f2b6098c000b..954108ac79e2 100644
--- a/dev-python/plyvel/Manifest
+++ b/dev-python/plyvel/Manifest
@@ -1,3 +1,5 @@
DIST plyvel-1.5.0.tar.gz 152348 BLAKE2B eca4780ecce793d514647557b13cb134a10c6bc46b981e6f92caa01715180a95c511fee1e75eee677778c34084058fba029547557442b86a0286a0d959dd550d SHA512 3f12b1d17a7b4b52fc2874b091a7378f3e8c0f895a3993f86ce6a686f7f94d28b585c5e6aa9b48ebb7d9106cae2b148aa15a87f07dfb232a0678ed151d8e09c1
+DIST plyvel-1.5.1.tar.gz 200128 BLAKE2B d9fec1af0542a93ca25247abd7e17a9f868de2878d6dcbb846cad3326057d36b52ff0b85bfd342f0ed447ebf9925584b6fb95a47b6d424bb9b24f9aa35fa30c1 SHA512 8f613197e85d085ea47e5a5d6b2bf0310f52fb51eeda6ed7f8cb559c192583f3cb25b66227876c01a08f6a355aafd5092673b7d5341b9b6e5d24546b7755d275
EBUILD plyvel-1.5.0.ebuild 757 BLAKE2B c166251af3ef27bc35e80310f14490e5ce2596c660a14519acd258b2e244468a0c6a5d337bad86f6b027a54b57a6e7eaa79ab8a6c5bd794be6b02f9e75b6a636 SHA512 a25c49872839d1545b8d1c7755ab78904a16b426ffe94931423c07da59fc4a2e08850db40ea659a66bb48f52ee38e76d6f537ad6ec07f1212bc8048f3299ecdf
+EBUILD plyvel-1.5.1.ebuild 757 BLAKE2B 7a928535c19159414e5d4dfd14b2f466973e9c5c8231ac7f58cf4d36328c38a3c0cef6588e80acb1db49a9e554d20afb2ad57d7090155a6817123c674de1d715 SHA512 6ecbf2adff9166fa91d11c81c370117d2902477a39e9c334742f583c86bf8e586578b37e3248c8e8bb445f0abb55e7cda119ae151ec0b027cb0e879ee65c2566
MISC metadata.xml 433 BLAKE2B be3fe545cf9ead9b5b9aed9e30afbc773f607837acf207159f1db535aa8fa2b3dceeda8c1f72f22a071af09184f99283a6ffc8895a40648ebc7e1a939c615a42 SHA512 11bab5550ddfad3874f7fdec20d130e4ae490d700500225f9015e76fd2ede33fe6fae302fba15f73465af8f03ac035a7815fb757f5dee575e1b89476038b99e7
diff --git a/dev-python/plyvel/plyvel-1.5.1.ebuild b/dev-python/plyvel/plyvel-1.5.1.ebuild
new file mode 100644
index 000000000000..fb7c8b655e5a
--- /dev/null
+++ b/dev-python/plyvel/plyvel-1.5.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+# Disable PyPy3 for now because it is not stable enough:
+# https://github.com/wbolster/plyvel/issues/140
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python interface to LevelDB"
+HOMEPAGE="
+ https://github.com/wbolster/plyvel/
+ https://pypi.org/project/plyvel/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ >=dev-libs/leveldb-1.21:=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx doc
+distutils_enable_tests pytest
+
+src_configure() {
+ emake cython
+}
+
+python_test() {
+ rm -rf plyvel || die
+ epytest
+}