1 |
commit: 851d46aeb2b464e608198dd5b9eca5f2780d39c4 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 19:05:55 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 19:08:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851d46ae |
7 |
|
8 |
dev-python/pylibmc: add 1.6.3 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pylibmc/Manifest | 1 + |
13 |
dev-python/pylibmc/pylibmc-1.6.3.ebuild | 61 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest |
17 |
index f144b9eb5b6c..48e52782dbf8 100644 |
18 |
--- a/dev-python/pylibmc/Manifest |
19 |
+++ b/dev-python/pylibmc/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST pylibmc-1.6.1-no-nose.patch 26090 BLAKE2B 160e5b58107dcea0354462370eeeb12739c7fd1549e1c64ddf1fe2451654e50c1408505985eb6a7150ce60185bc7acebba7a20c6444615bef8c6991debfba4cc SHA512 84fb37505def84caaacb1343032d18bd644f5072e6ce7a2d6e88bc33bd2dedc8b303f4cf2a9b57b32c3c4b8e01bef1bebcc09ecb525568c928aed326bee2cace |
22 |
DIST pylibmc-1.6.1.tar.gz 72061 BLAKE2B ebaa6f9dfc341d862a8b46bbbf0db1420ff400cb40390f7bee6bf198ff941ad7967b578040ffe1209721ea84a163a39649108a2a23f3dadc2d579db740b2ccf3 SHA512 a3874435389486b29bab5f1d29e5c179d67655d90995bb27fcb7cd46ce7eb3b60117b94f901602f8a65dc0e587d5f8edfcf15e259effd439411adb58ddb7065e |
23 |
DIST pylibmc-1.6.2.gh.tar.gz 71581 BLAKE2B 4fc9216150e122b6d80537184422b52c0a518f5b9fbcf5b54f794fde33d5ac6fcd474e08f71b8d71f0443351e91ea5d8ac2c24e94bd568605cf1183259394091 SHA512 1a1575fd5c3644d53e0ed49818bd958e0e28fe0354f41578c944b260f402f1b51a74baca8f98b32adfd0024e61ec8df1795c6ca7363509e35e4f34a907de063e |
24 |
+DIST pylibmc-1.6.3.gh.tar.gz 72154 BLAKE2B 3367651d355cb9c6693d8162e740c855c8f84f6b2a5f54ba5fb7f505474263650b46d5ed04c11af2199a7b40c6d4cf0d13a63d2d76a395ff30570a4a3e5259ec SHA512 4bc85d305410f775a39d8d3f64a7e97538ed6ae890cd64833e5bff92fbb60fe8ebc4cc7956df015f6590eb55b7009bd36b299dc636ee0da7f71ed51cc98f3012 |
25 |
|
26 |
diff --git a/dev-python/pylibmc/pylibmc-1.6.3.ebuild b/dev-python/pylibmc/pylibmc-1.6.3.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..b37179120315 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pylibmc/pylibmc-1.6.3.ebuild |
31 |
@@ -0,0 +1,61 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Libmemcached wrapper written as a Python extension" |
43 |
+HOMEPAGE=" |
44 |
+ https://sendapatch.se/projects/pylibmc/ |
45 |
+ https://pypi.org/project/pylibmc/ |
46 |
+ https://github.com/lericson/pylibmc/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/lericson/pylibmc/archive/${PV}.tar.gz |
50 |
+ -> ${P}.gh.tar.gz |
51 |
+" |
52 |
+ |
53 |
+LICENSE="BSD" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" |
56 |
+ |
57 |
+DEPEND=" |
58 |
+ >=dev-libs/libmemcached-0.32 |
59 |
+" |
60 |
+RDEPEND="${DEPEND}" |
61 |
+BDEPEND=" |
62 |
+ test? ( |
63 |
+ net-misc/memcached |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}/pylibmc-1.6.1-fix-test-failures-r1.patch" |
69 |
+) |
70 |
+ |
71 |
+distutils_enable_sphinx docs |
72 |
+distutils_enable_tests pytest |
73 |
+ |
74 |
+# needed for docs |
75 |
+export PYLIBMC_DIR=. |
76 |
+ |
77 |
+src_test() { |
78 |
+ local -x MEMCACHED_PORT=11219 |
79 |
+ memcached -d -p "${MEMCACHED_PORT}" -u nobody -l localhost \ |
80 |
+ -P "${T}/m.pid" || die |
81 |
+ distutils-r1_src_test |
82 |
+ kill "$(<"${T}/m.pid")" || die |
83 |
+} |
84 |
+ |
85 |
+python_test() { |
86 |
+ local EPYTEST_DESELECT=( |
87 |
+ # these require "AmazonElastiCache" running |
88 |
+ tests/test_autoconf.py |
89 |
+ ) |
90 |
+ |
91 |
+ epytest --doctest-modules --doctest-glob='doctests.txt' src/pylibmc tests |
92 |
+} |