diff options
Diffstat (limited to 'dev-python/python-memcached')
-rw-r--r-- | dev-python/python-memcached/Manifest | 4 | ||||
-rw-r--r-- | dev-python/python-memcached/python-memcached-1.58.ebuild | 4 | ||||
-rw-r--r-- | dev-python/python-memcached/python-memcached-1.59.ebuild | 47 |
3 files changed, 52 insertions, 3 deletions
diff --git a/dev-python/python-memcached/Manifest b/dev-python/python-memcached/Manifest index 5c779f01ba7b..6b854085ccd6 100644 --- a/dev-python/python-memcached/Manifest +++ b/dev-python/python-memcached/Manifest @@ -1,5 +1,7 @@ DIST python-memcached-1.53.tar.gz 35025 BLAKE2B 40d30ba35b8dc5d33c27a8a02d66ef7714c2851a3bb109b0cd4456f14408579e51baef8a6020ee75a21bfba468f6524c5163f4161676fc86788186832ff2ec4d SHA512 33ffd2778025a8e15beddf1660c4b5c9f1ba144adab5c36fd679e15508015c00e3e1185b5cc179cfcfc556b7c3ab44ed9914089e5ce9db66a04d0a658dd38bb3 DIST python-memcached-1.58.tar.gz 30562 BLAKE2B 928aeca2b0d6d99fb16ee8c8c970ccc41aabb4c6385d962cb4208878f4f0eb1b1114c103118fc4ce6020e01d2260b9ffa83e96b2aba719cad6820e39d9fcfe3c SHA512 48f933f095751b476c122473fa1d9767cfe5c6c339a9ba71825a50cec23cbfc7b6493716458bfb1f2451c634c517519152105a2000be66bd0d389f94ea312138 +DIST python-memcached-1.59.tar.gz 22210 BLAKE2B 50387821d50cf974ada738346e016eb736043078721bf905782f41df1f27574244d03b6b94ac9e5ccab7aeecfa8ca4c5a78cec2c41d15fda8756c7cb3bce9aa1 SHA512 a25cbb9efb3babe85e1523bdabfe4644b93b3a6a7268787a3928f724f833ce0eea7d2ef676d1b7f894cdfe293129975b35cb46ec553c92810dbc18013bfabece EBUILD python-memcached-1.53-r1.ebuild 1213 BLAKE2B 76827f4837a5d0bd58e84262a58dfebc297de4272f37d5d322df3ca36018d9f273c73fccf4a2ab94a5d0b3597b5526ddd6d83818af29fe55b4695222e07a3218 SHA512 e104823d6aad4fc854203d8efa60934efd5eb944d8a172503e6cd9931a9fe9200388a6439eb2f55bd8a4f20057200b6b047341ebec1f59190b23ae3b8c580554 -EBUILD python-memcached-1.58.ebuild 1287 BLAKE2B 0c19edcc732734e4d09ed52ed384c13cd8206708d29925c81091b1140739778b4d8f18ffa3ba7df3c20dd8678163ef5d7867c73ae7d3410fd460931a36101dbf SHA512 d81f3bcd2387bbb4d59138a1fe546c755cda8df8f7c9994cced47d9009de028408e87ff0a81a3b2c956aadac9b04e3cfc0924765069b80b0c354fca12345524a +EBUILD python-memcached-1.58.ebuild 1282 BLAKE2B 15d4930661b61ef1559a1e2e81e555ba304b7111184f3fb93d2d993258538c5ed7367619a28d60a67adfc826f00ef8882406b49ee75c967473d00fc75ef4b21c SHA512 e842f1d78e6e07c89831aac3ee1c1e1c913ecf4aaafb0bac54ddc8e3045cc92e1cd4b81f9413f47f836c5dfc30a8802c0fabbfae42d8c6516df285c6831561dc +EBUILD python-memcached-1.59.ebuild 1286 BLAKE2B 6396c2a131802b553eebe4dd413234f6ff5d515f5958a655d842d94faa10e9197c80eb81a6785db55a6eceac3e2b056924bef22d3c10a65cdbe9f7cad2a9d497 SHA512 1e78f42292b989093d906548edc0ba4957329558d457dd90b0ff84373a6df1ead608cf39fa50d9f9bc24f2267e891a41cfc134a6ebfc924b6e5c0a8d1f9cfc4e MISC metadata.xml 611 BLAKE2B fa7a75bea6b08f6ab65ff4b5d4d8e3022912ba8cb86c6dd3fd2d8f5bb224f89ae9db977c2197a39e6541193ed41366c4bdaa404138a18b2d31afc412b967cacc SHA512 9070f42bf5f3fb721f41309c7a24f29168f1179f9327f1334dcd5bd7b38ae98bbc682c2f0cfb7874c8e20e92ce25bffdc5d3f21870316c6d35cd57e1049f8d90 diff --git a/dev-python/python-memcached/python-memcached-1.58.ebuild b/dev-python/python-memcached/python-memcached-1.58.ebuild index 84e590112e70..26432fd11be4 100644 --- a/dev-python/python-memcached/python-memcached-1.58.ebuild +++ b/dev-python/python-memcached/python-memcached-1.58.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) +PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) inherit distutils-r1 diff --git a/dev-python/python-memcached/python-memcached-1.59.ebuild b/dev-python/python-memcached/python-memcached-1.59.ebuild new file mode 100644 index 000000000000..72fc868d05af --- /dev/null +++ b/dev-python/python-memcached/python-memcached-1.59.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Pure python memcached client" +HOMEPAGE=" + https://www.tummy.com/Community/software/python-memcached/ + https://pypi.org/project/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 +} |