Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pymemcache/
Date: Sun, 26 Sep 2021 18:37:20
Message-Id: 1632681429.23bc4bf2ad6a43f058840bb5f5fe94cffdb697a8.Alessandro-Barbieri@gentoo
1 commit: 23bc4bf2ad6a43f058840bb5f5fe94cffdb697a8
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Sep 26 18:17:34 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Sep 26 18:37:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23bc4bf2
7
8 dev-python/pymemcache: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/pymemcache/Manifest | 1 +
13 dev-python/pymemcache/metadata.xml | 24 +++++++++++++++++++
14 dev-python/pymemcache/pymemcache-3.5.0.ebuild | 33 +++++++++++++++++++++++++++
15 3 files changed, 58 insertions(+)
16
17 diff --git a/dev-python/pymemcache/Manifest b/dev-python/pymemcache/Manifest
18 new file mode 100644
19 index 000000000..982e71cd3
20 --- /dev/null
21 +++ b/dev-python/pymemcache/Manifest
22 @@ -0,0 +1 @@
23 +DIST pymemcache-3.5.0.tar.gz 64763 BLAKE2B 9f6970ea977e2655c8fd045ae03eb1667f3e409f19b6a2de7a1b12ffcbf1f88f1fe447749cca1dfba4726f027af771e5f2d4a9464dd630353341c2395111f260 SHA512 0244e40ae5060ad3df96ab60d239e92fe0c21d26d560ed380bed06722fd229e40d3d26e3256ff469daaf682019e05b171b11b47a1bc328e35a3d18c87d45a3fc
24
25 diff --git a/dev-python/pymemcache/metadata.xml b/dev-python/pymemcache/metadata.xml
26 new file mode 100644
27 index 000000000..164e1731a
28 --- /dev/null
29 +++ b/dev-python/pymemcache/metadata.xml
30 @@ -0,0 +1,24 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>lssndrbarbieri@×××××.com</email>
36 + <name>Alessandro Barbieri</name>
37 + </maintainer>
38 + <longdescription lang="en">
39 +A comprehensive, fast, pure-Python memcached client.
40 +
41 +pymemcache supports the following features:
42 +
43 +Complete implementation of the memcached text protocol.
44 +Connections using UNIX sockets, or TCP over IPv4 or IPv6.
45 +Configurable timeouts for socket connect and send/recv calls.
46 +Access to the "noreply" flag, which can significantly increase the speed of writes.
47 +Flexible, modular and simple approach to serialization and deserialization.
48 +The (optional) ability to treat network and memcached errors as cache misses.
49 + </longdescription>
50 + <upstream>
51 + <remote-id type="github">pinterest/pymemcache</remote-id>
52 + <remote-id type="pypi">pymemcache</remote-id>
53 + </upstream>
54 +</pkgmetadata>
55
56 diff --git a/dev-python/pymemcache/pymemcache-3.5.0.ebuild b/dev-python/pymemcache/pymemcache-3.5.0.ebuild
57 new file mode 100644
58 index 000000000..adacf799a
59 --- /dev/null
60 +++ b/dev-python/pymemcache/pymemcache-3.5.0.ebuild
61 @@ -0,0 +1,33 @@
62 +# Copyright 1999-2021 Gentoo Authors
63 +# Distributed under the terms of the GNU General Public License v2
64 +
65 +EAPI=8
66 +
67 +PYTHON_COMPAT=( python3_{8..10} )
68 +
69 +inherit distutils-r1
70 +
71 +DESCRIPTION="A comprehensive, fast, pure-Python memcached client"
72 +HOMEPAGE="
73 + https://github.com/pinterest/pymemcache
74 + https://pypi.org/project/pymemcache
75 +"
76 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
77 +
78 +LICENSE="Apache-2.0"
79 +SLOT="0"
80 +KEYWORDS="~amd64"
81 +
82 +RDEPEND=""
83 +DEPEND="
84 + ${RDEPEND}
85 + dev-python/six[${PYTHON_USEDEP}]
86 + test? (
87 + dev-python/future[${PYTHON_USEDEP}]
88 + dev-python/gevent[${PYTHON_USEDEP}]
89 + dev-python/pylibmc[${PYTHON_USEDEP}]
90 + dev-python/python-memcached[${PYTHON_USEDEP}]
91 + )
92 +"
93 +
94 +distutils_enable_tests pytest