diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-06 02:09:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-06 02:09:04 +0100 |
commit | 51f0d16e058c162dbce0f93d871ba45683b0ab3a (patch) | |
tree | 8dd3bc53a0d23549a8f210ce4bfdf74b36b9319f /dev-python/pylibmc | |
parent | 35bf81c760d4e362615c32e69329ef61a01281f7 (diff) |
gentoo auto-resync : 06:08:2022 - 02:09:04
Diffstat (limited to 'dev-python/pylibmc')
-rw-r--r-- | dev-python/pylibmc/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pylibmc/pylibmc-1.6.2.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest index 2645742108c3..d914f5f0a9fc 100644 --- a/dev-python/pylibmc/Manifest +++ b/dev-python/pylibmc/Manifest @@ -2,5 +2,7 @@ AUX pylibmc-1.6.1-fix-test-failures-r1.patch 516 BLAKE2B b471ca80b11beff5ac0119f AUX pylibmc-1.6.1-py311.patch 918 BLAKE2B dcc8b3a8c8cc6d7a2b8de79af116ed55171a968b6a8da89b96041e70232e239ff6eacb3a4ad8794fc951e34e71e9b142adfc8ddb689336d559f989e219e1a936 SHA512 fedb103ee4d392f21c4b8f4ce7d3fafe8e3c0d9aa8b2ce464cae5e7553fc3a9ec1fb82d085106faeca448df54d3636ec38c296682d9e49b097c9bd06e76a02b1 DIST pylibmc-1.6.1-no-nose.patch 26090 BLAKE2B 160e5b58107dcea0354462370eeeb12739c7fd1549e1c64ddf1fe2451654e50c1408505985eb6a7150ce60185bc7acebba7a20c6444615bef8c6991debfba4cc SHA512 84fb37505def84caaacb1343032d18bd644f5072e6ce7a2d6e88bc33bd2dedc8b303f4cf2a9b57b32c3c4b8e01bef1bebcc09ecb525568c928aed326bee2cace DIST pylibmc-1.6.1.tar.gz 72061 BLAKE2B ebaa6f9dfc341d862a8b46bbbf0db1420ff400cb40390f7bee6bf198ff941ad7967b578040ffe1209721ea84a163a39649108a2a23f3dadc2d579db740b2ccf3 SHA512 a3874435389486b29bab5f1d29e5c179d67655d90995bb27fcb7cd46ce7eb3b60117b94f901602f8a65dc0e587d5f8edfcf15e259effd439411adb58ddb7065e +DIST pylibmc-1.6.2.gh.tar.gz 71581 BLAKE2B 4fc9216150e122b6d80537184422b52c0a518f5b9fbcf5b54f794fde33d5ac6fcd474e08f71b8d71f0443351e91ea5d8ac2c24e94bd568605cf1183259394091 SHA512 1a1575fd5c3644d53e0ed49818bd958e0e28fe0354f41578c944b260f402f1b51a74baca8f98b32adfd0024e61ec8df1795c6ca7363509e35e4f34a907de063e EBUILD pylibmc-1.6.1-r2.ebuild 1383 BLAKE2B 722b240fc8e21ef8ad8007d788937c130159080dbc4f6da82a7b7fffc620c9f9945d2c6f330515b17eaf3124738386ee91c8a159743450f711ba281697baab1f SHA512 5b7fbaa7198f7a0eac192607d51a118ab3a1251f017c303ee0f92743b02e83fdc34a795573d821baeda02685a0a19ca02f9784f14c86b0ad67009ef8dd072e21 +EBUILD pylibmc-1.6.2.ebuild 1234 BLAKE2B a2b45998533c4b68074c5e58406a68a4cbf6574322cc0e29163164ced280ee9c15306b1b733db710c18c240adb604979e40806525192182de17d79140f755138 SHA512 99049e42ebb1aeca7c456cc5068fcb9e24d0a4ba7a94099622480ba92905323b2beff1a598788c0a9b6ed15354cb8472027f284d68c091550c3f365b4ad2c9a2 MISC metadata.xml 367 BLAKE2B fd37f3e072661e616dcfabb2054827a7b1c3830e555cb6fa461e93dadcd39ab1856c0ad4cbe03be85924889b97ba7cc88da651011a4b1c5622fcd950339f7e2d SHA512 33977c15a726c2039221bcbd282244c240013922bd4f1398e75f01ebd68dd0f8574ac890ddb578cb633a89b52584927800f86dcb4a1eb0ab27b165c38b9a91e6 diff --git a/dev-python/pylibmc/pylibmc-1.6.2.ebuild b/dev-python/pylibmc/pylibmc-1.6.2.ebuild new file mode 100644 index 000000000000..b37179120315 --- /dev/null +++ b/dev-python/pylibmc/pylibmc-1.6.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Libmemcached wrapper written as a Python extension" +HOMEPAGE=" + https://sendapatch.se/projects/pylibmc/ + https://pypi.org/project/pylibmc/ + https://github.com/lericson/pylibmc/ +" +SRC_URI=" + https://github.com/lericson/pylibmc/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" + +DEPEND=" + >=dev-libs/libmemcached-0.32 +" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( + net-misc/memcached + ) +" + +PATCHES=( + "${FILESDIR}/pylibmc-1.6.1-fix-test-failures-r1.patch" +) + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +# needed for docs +export PYLIBMC_DIR=. + +src_test() { + local -x MEMCACHED_PORT=11219 + memcached -d -p "${MEMCACHED_PORT}" -u nobody -l localhost \ + -P "${T}/m.pid" || die + distutils-r1_src_test + kill "$(<"${T}/m.pid")" || die +} + +python_test() { + local EPYTEST_DESELECT=( + # these require "AmazonElastiCache" running + tests/test_autoconf.py + ) + + epytest --doctest-modules --doctest-glob='doctests.txt' src/pylibmc tests +} |