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/python-binary-memcached/
Date: Sun, 26 Sep 2021 18:37:19
Message-Id: 1632681429.16e14e5a3d27835b02ffa739559703972aff8caa.Alessandro-Barbieri@gentoo
1 commit: 16e14e5a3d27835b02ffa739559703972aff8caa
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Sep 26 18:02:10 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=16e14e5a
7
8 dev-python/python-binary-memcached: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/python-binary-memcached/Manifest | 1 +
13 dev-python/python-binary-memcached/metadata.xml | 16 +++++++++++
14 .../python-binary-memcached-0.30.1.ebuild | 32 ++++++++++++++++++++++
15 3 files changed, 49 insertions(+)
16
17 diff --git a/dev-python/python-binary-memcached/Manifest b/dev-python/python-binary-memcached/Manifest
18 new file mode 100644
19 index 000000000..beea0481f
20 --- /dev/null
21 +++ b/dev-python/python-binary-memcached/Manifest
22 @@ -0,0 +1 @@
23 +DIST python-binary-memcached-0.30.1.tar.gz 95123 BLAKE2B 3f2382ecdc2f5545bf3f5e6353a562e3b479a96fbf042425fc336cb31a28dade18662bedf8ed266f326e2b698e85fbbfdeb98754de325c43d912b1ac77eb75d6 SHA512 1c7962f84a3a4700039c7b54035e653f5c4acda6ed585cc2dcbb185ed67ab4f8e2c5f438508a895a28915620562c50941c5247f9eca8c47c31c25e9dec267789
24
25 diff --git a/dev-python/python-binary-memcached/metadata.xml b/dev-python/python-binary-memcached/metadata.xml
26 new file mode 100644
27 index 000000000..399b6e337
28 --- /dev/null
29 +++ b/dev-python/python-binary-memcached/metadata.xml
30 @@ -0,0 +1,16 @@
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 pure python module (thread safe) to access memcached via it's binary with SASL auth support.
40 +The main purpose of this module it to be able to communicate with memcached using binary protocol and support authentication, so it can work with Heroku for example.
41 + </longdescription>
42 + <upstream>
43 + <remote-id type="github">jaysonsantos/python-binary-memcached</remote-id>
44 + <remote-id type="pypi">python-binary-memcached</remote-id>
45 + </upstream>
46 +</pkgmetadata>
47
48 diff --git a/dev-python/python-binary-memcached/python-binary-memcached-0.30.1.ebuild b/dev-python/python-binary-memcached/python-binary-memcached-0.30.1.ebuild
49 new file mode 100644
50 index 000000000..8c30de43b
51 --- /dev/null
52 +++ b/dev-python/python-binary-memcached/python-binary-memcached-0.30.1.ebuild
53 @@ -0,0 +1,32 @@
54 +# Copyright 1999-2021 Gentoo Authors
55 +# Distributed under the terms of the GNU General Public License v2
56 +
57 +EAPI=8
58 +PYTHON_COMPAT=( python3_8 )
59 +
60 +inherit distutils-r1
61 +
62 +DESCRIPTION="access memcached via it's binary protocol with SASL auth support"
63 +HOMEPAGE="
64 + https://github.com/jaysonsantos/python-binary-memcached
65 + https://pypi.org/project/python-binary-memcached
66 +"
67 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
68 +
69 +LICENSE="MIT"
70 +SLOT="0"
71 +KEYWORDS="~amd64"
72 +
73 +RDEPEND=""
74 +DEPEND="
75 + ${RDEPEND}
76 + dev-python/six[${PYTHON_USEDEP}]
77 + dev-python/uhashring[${PYTHON_USEDEP}]
78 + test? (
79 + >=dev-python/pytest-3.9[${PYTHON_USEDEP}]
80 + >=dev-python/trustme-0.6.0[${PYTHON_USEDEP}]
81 + >=dev-python/mock-2.0[${PYTHON_USEDEP}]
82 + )
83 +"
84 +
85 +distutils_enable_tests pytest