1 |
commit: 3617e004fd5671877112f7daf75a1a9c79a6eb6c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 19 20:53:46 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 19 21:22:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3617e004 |
7 |
|
8 |
dev-python/lmdb: Bump to 1.2.1 (NFC) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/lmdb/Manifest | 1 + |
13 |
dev-python/lmdb/lmdb-1.2.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest |
17 |
index 3de40e454fb..54ef716ebda 100644 |
18 |
--- a/dev-python/lmdb/Manifest |
19 |
+++ b/dev-python/lmdb/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST lmdb-1.1.1.tar.gz 880359 BLAKE2B b202154eae151d3748e9e90fcb71a3c8a722923c2583e469ef1a0017a4c3dfdfd62d99db24fb79e7da1fc7c6a4fb695d9db5ed6a67750967788a12fe0ba24761 SHA512 4621c87dd646f8ca37f4cdc40ffa2fe809ca4da21b335856e50e6d0ae07f3828d424cde9cc383e4cdc761cd9311eb504d67678a33de51c1931a006ec86a2fcd0 |
22 |
DIST lmdb-1.2.0.tar.gz 881437 BLAKE2B bcb045868c100bcb82daed99bdbd73699dcb5a0e982679f1d9f49747f468e2ab2cbc412ba020b9deca7263fece501c25d984397ee2969187c8118da920c691aa SHA512 75c7aeb3e98ffddb9e40b4eb7404afd3c6ade93753488eac2cb5facfab3ec9b660d925b8bd1c40ca5f8180cb6ca33483020bb4c5ddc074b841693ba278883529 |
23 |
+DIST lmdb-1.2.1.tar.gz 881515 BLAKE2B 76d56e046b5a481411c9a180989da0d1c4b7371058e38abe6d8a6b76f7e2bc62678459241d319850cf739b7b067f3e89d309e5f9a538a187c52c1044fe8b768d SHA512 fa763e24c8f278e0b9c379f39329b7b80051e10d5d8edfdd631486490cfbe5c7bc641d885ffb9f298c0c07f7e6901cc826023c472f98b430a4ec9c0bc71139d5 |
24 |
|
25 |
diff --git a/dev-python/lmdb/lmdb-1.2.1.ebuild b/dev-python/lmdb/lmdb-1.2.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2d0edc21594 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/lmdb/lmdb-1.2.1.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python bindings for the Lightning Database" |
41 |
+HOMEPAGE="https://github.com/jnwatson/py-lmdb/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="OPENLDAP" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-db/lmdb-0.9.28:= |
50 |
+ $(python_gen_cond_dep ' |
51 |
+ dev-python/cffi[${PYTHON_USEDEP}] |
52 |
+ ' 'python*')" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+ |
55 |
+distutils_enable_sphinx docs |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+python_compile() { |
59 |
+ LMDB_FORCE_SYSTEM=1 distutils-r1_python_compile |
60 |
+} |
61 |
+ |
62 |
+python_test() { |
63 |
+ epytest tests |
64 |
+} |
65 |
+ |
66 |
+python_install() { |
67 |
+ # This is required when the CFFI extension is used (for PyPy3) |
68 |
+ LMDB_FORCE_SYSTEM=1 distutils-r1_python_install |
69 |
+} |