summaryrefslogtreecommitdiff
path: root/dev-python/python-memcached
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/python-memcached
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/python-memcached')
-rw-r--r--dev-python/python-memcached/Manifest7
-rw-r--r--dev-python/python-memcached/metadata.xml19
-rw-r--r--dev-python/python-memcached/python-memcached-1.53-r1.ebuild42
-rw-r--r--dev-python/python-memcached/python-memcached-1.58.ebuild48
4 files changed, 116 insertions, 0 deletions
diff --git a/dev-python/python-memcached/Manifest b/dev-python/python-memcached/Manifest
new file mode 100644
index 000000000000..0a34abd5aba0
--- /dev/null
+++ b/dev-python/python-memcached/Manifest
@@ -0,0 +1,7 @@
+DIST python-memcached-1.53.tar.gz 35025 SHA256 af04ea031b271a54f085166773e028fe053fc1d9a58cd8b3c3a57945990bfb48 SHA512 33ffd2778025a8e15beddf1660c4b5c9f1ba144adab5c36fd679e15508015c00e3e1185b5cc179cfcfc556b7c3ab44ed9914089e5ce9db66a04d0a658dd38bb3 WHIRLPOOL 81b80a05010eec576ce8eb00ac4c799213bfc82af4dd3d3da138d02337d28dcb5fbefcbdf11e8d9344b307ba8b1ab2a770b8130fce2f732e484f283e2fe85aae
+DIST python-memcached-1.58.tar.gz 30562 SHA256 2775829cb54b9e4c5b3bbd8028680f0c0ab695db154b9c46f0f074ff97540eb6 SHA512 48f933f095751b476c122473fa1d9767cfe5c6c339a9ba71825a50cec23cbfc7b6493716458bfb1f2451c634c517519152105a2000be66bd0d389f94ea312138 WHIRLPOOL 391d91a7d40f1d85febf7f90f0593d315854caa6dac0c4f70c2c3ee7af79b049099406683436df6af0e879626d6b42f95eed6a0153ae3874a9b746998cd02b88
+EBUILD python-memcached-1.53-r1.ebuild 1214 SHA256 94f4010a7b4805b074aeedaa2f60f9889db1fa4319add9fc568c3b7a2bd7f207 SHA512 84754ac72f0e7236dba7603f519b8367d2c992fcae59624ebf64359c83ffa7fb5ec52f5200a4810a25f90b133ecaaa8c13d4b46eae16a4a5c5ea3ac73328e225 WHIRLPOOL 118d07807b9766d8ad4a63d8c6c79c6132bcb56175952a296367bd1885ed6873af5aa22a5dc9c4d6848e2a390e2e66c5771647056f147e4c50f1062d61830623
+EBUILD python-memcached-1.58.ebuild 1289 SHA256 269bf9e34734f8a303c15fb9c20f5af97bc2a225530b887ad27ee1a5a4d4d203 SHA512 84477ec80581050699080113a1b919fd2c021f6dea039ed47a489ad4be44c0e8e6513d62e87bb663008280a7342ab996630882e522fa0aa69e09b99488480468 WHIRLPOOL c541121c2785c24961f33534b176b91d335fec33e0cc5cc41e0f2b110a5af74593829ce5fd089b1bd2073fbb4e7ef1665ab740da1c1cb5c96cc6fc0cec305cc0
+MISC ChangeLog 4316 SHA256 fd0236c23663dd8e8bf10ea221061c57c95c77a771500fcdb4d48fbbd207c2bd SHA512 9e5c45a6525bb21bb9ab215668b29ff514d998781a600aa786850b676b36ebb660fb7a96ba92973c3b4549edaffb52f861faa86f25cc6dd86d958e2fa267905c WHIRLPOOL d67d4f592808f0557d39f7e0dfface5e30560d1730baab5662658888be10fa71aae80a9829878cc058caa64ee317fb21986b3007df2c60b29703b2f5fcaa5db8
+MISC ChangeLog-2015 5438 SHA256 09b76d264483e4ae6476489e534f588a2d20ab224498434cd939bd122075a94f SHA512 7c27b87c1f6abb8ca32d74aba6f13deabe1cf77c6ed59fa582adf583b5b47750a956b168468324f9983c41e6a207345148f8f9a4af2b29bdaea2011d1f5974d9 WHIRLPOOL b5e6162c5849f083ccf5b238ddd53c7f1ef928440a2507c69ca670a3928edfb97a4bbd1582da029ca56c203dab2ce7149fa01b24a9bbaa58adad4f4bf3685faa
+MISC metadata.xml 611 SHA256 9f130cdf0da61461233bafa93ab527c74167896a3ba46b4badb9bfd2741935ef SHA512 9070f42bf5f3fb721f41309c7a24f29168f1179f9327f1334dcd5bd7b38ae98bbc682c2f0cfb7874c8e20e92ce25bffdc5d3f21870316c6d35cd57e1049f8d90 WHIRLPOOL 566f88e3e112f8b107d1e33b3686c0b707e4eed3d24588946c28a5ac34b42c5e8c2470bf4955e85b8ee0db094401e422da14d6c188935ac59d9ea87f3eb89675
diff --git a/dev-python/python-memcached/metadata.xml b/dev-python/python-memcached/metadata.xml
new file mode 100644
index 000000000000..5a0000d36d7e
--- /dev/null
+++ b/dev-python/python-memcached/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+This is a Python based API (implemented in 100% python) for communicating with
+the memcached distributed memory object cache daemon.
+</longdescription>
+ <upstream>
+ <remote-id type="pypi">python-memcached</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/python-memcached/python-memcached-1.53-r1.ebuild b/dev-python/python-memcached/python-memcached-1.53-r1.ebuild
new file mode 100644
index 000000000000..d5b2923582c0
--- /dev/null
+++ b/dev-python/python-memcached/python-memcached-1.53-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python memcached client"
+HOMEPAGE="http://www.tummy.com/Community/software/python-memcached/ https://pypi.python.org/pypi/python-memcached"
+SRC_URI="ftp://ftp.tummy.com/pub/python-memcached/old-releases/${P}.tar.gz"
+
+LICENSE="OSL-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( net-misc/memcached )"
+RDEPEND=""
+
+# Tests try to connect to memcached via TCP/IP. Please do not re-enable
+# until you get them all to pass properly while using the UNIX socket
+# only and not even trying to connect to memcached over TCP/IP.
+RESTRICT=test
+
+python_test() {
+ # Note: partial. Needs fixing. Stuff like that.
+
+ cd "${TMPDIR}" || die
+
+ local memcached_opts=( -d -P memcached.pid -s memcached.socket )
+ [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
+
+ memcached "${memached_opts[@]}" || die
+
+ "${PYTHON}" memcache.py --do-unix || die "Tests fail with ${EPYTHON}"
+
+ kill "$(<memcached.pid)" || die
+ rm memcached.pid || die
+}
diff --git a/dev-python/python-memcached/python-memcached-1.58.ebuild b/dev-python/python-memcached/python-memcached-1.58.ebuild
new file mode 100644
index 000000000000..979976df4e01
--- /dev/null
+++ b/dev-python/python-memcached/python-memcached-1.58.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure python memcached client"
+HOMEPAGE="
+ http://www.tummy.com/Community/software/python-memcached/
+ https://pypi.python.org/pypi/python-memcached"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="OSL-2.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="test"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ net-misc/memcached
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
+
+# Tests try to connect to memcached via TCP/IP. Please do not re-enable
+# until you get them all to pass properly while using the UNIX socket
+# only and not even trying to connect to memcached over TCP/IP.
+RESTRICT=test
+
+python_test() {
+ # Note: partial. Needs fixing. Stuff like that.
+
+ cd "${TMPDIR}" || die
+
+ local memcached_opts=( -d -P memcached.pid -s memcached.socket )
+ [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage )
+
+ memcached "${memached_opts[@]}" || die
+
+ "${PYTHON}" memcache.py --do-unix || die "Tests fail with ${EPYTHON}"
+
+ kill "$(<memcached.pid)" || die
+ rm memcached.pid || die
+}