public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/
Date: Fri,  5 Aug 2022 18:50:46 +0000 (UTC)	[thread overview]
Message-ID: <1659725426.60c0bd2eba02a94100b2b4d6fa3bc29433bb8bba.arthurzam@gentoo> (raw)

commit:     60c0bd2eba02a94100b2b4d6fa3bc29433bb8bba
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 18:50:26 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 18:50:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c0bd2e

dev-python/pylibmc: add 1.6.2

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pylibmc/Manifest             |  1 +
 dev-python/pylibmc/pylibmc-1.6.2.ebuild | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest
index 132d9d866ba2..f144b9eb5b6c 100644
--- a/dev-python/pylibmc/Manifest
+++ b/dev-python/pylibmc/Manifest
@@ -1,2 +1,3 @@
 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

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
+}


             reply	other threads:[~2022-08-05 18:50 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-05 18:50 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-18 15:18 [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/ Sam James
2025-07-16 12:36 Michał Górny
2025-05-12 18:16 Sam James
2025-03-01 19:01 Arthur Zamarin
2025-02-16 20:33 Michał Górny
2025-01-04 15:08 Sam James
2024-11-03 13:30 Michał Górny
2024-11-03  6:42 Sam James
2024-11-02 11:45 Arthur Zamarin
2024-11-02 11:36 Arthur Zamarin
2024-11-02 11:03 Michał Górny
2024-11-02  9:10 Sam James
2024-11-02  8:48 Michał Górny
2024-11-02  8:48 Michał Górny
2024-10-25 12:09 Arthur Zamarin
2024-10-15  7:00 Michał Górny
2024-06-15 13:47 Michał Górny
2023-11-06 18:18 Michał Górny
2023-05-04 16:30 Michał Górny
2023-01-03  2:53 WANG Xuerui
2022-10-22 14:54 Michał Górny
2022-10-09  6:54 Michał Górny
2022-10-08 23:10 Sam James
2022-10-08 19:28 Sam James
2022-10-08 19:28 Sam James
2022-10-08 16:03 Arthur Zamarin
2022-10-08 16:03 Arthur Zamarin
2022-09-10 18:28 Arthur Zamarin
2022-09-10 13:12 Jakov Smolić
2022-09-08  5:19 Sam James
2022-09-06 21:35 Sam James
2022-09-06 21:15 Sam James
2022-09-06 21:12 Sam James
2022-09-06 18:40 Arthur Zamarin
2022-09-06 18:40 Arthur Zamarin
2022-08-31 19:08 Arthur Zamarin
2022-05-22 10:46 Michał Górny
2022-03-18 11:41 Michał Górny
2022-03-18  9:33 Arthur Zamarin
2022-03-16 23:53 Sam James
2022-03-15 18:16 Jakov Smolić
2022-03-15 17:56 Jakov Smolić
2022-01-31 11:07 Michał Górny
2022-01-29 21:19 Michał Górny
2021-06-05 17:59 Michał Górny
2020-07-13 23:13 Sam James
2020-07-06 11:57 Michał Górny
2020-06-22 19:05 Mart Raudsepp
2020-06-21 11:18 Michał Górny
2020-06-21 11:18 Michał Górny
2020-06-21 11:18 Michał Górny
2020-06-04 14:06 Michał Górny
2020-05-30 20:33 Sergei Trofimovich
2020-05-30 16:20 Michał Górny
2020-04-28 19:23 Mart Raudsepp
2020-03-31  7:38 Georgy Yakovlev
2020-03-28 17:44 Michał Górny
2020-03-17  2:09 Matt Turner
2020-02-05 19:37 Michał Górny
2019-11-26 21:51 Patrick McLean
2018-01-05 23:19 Michał Górny
2017-10-29 23:55 Jonas Stein
2017-09-24 12:07 Michael Palimaka
2017-07-31 10:49 Tobias Klausmann
2017-05-02 13:11 Michał Górny
2017-04-22 13:52 Michał Górny
2017-01-20 19:21 David Seifert
2016-09-27 13:26 Tony Vroon
2016-05-29  8:44 Dirkjan Ochtman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1659725426.60c0bd2eba02a94100b2b4d6fa3bc29433bb8bba.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox