public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/
Date: Sat, 29 Jan 2022 21:19:27 +0000 (UTC)	[thread overview]
Message-ID: <1643490903.1535a00b0a5e4c8813e1628f6b8c343cb09186ce.mgorny@gentoo> (raw)

commit:     1535a00b0a5e4c8813e1628f6b8c343cb09186ce
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 21:15:03 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 21:15:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1535a00b

dev-python/pylibmc: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild | 57 ++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild b/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild
new file mode 100644
index 000000000000..93cd31ed9d80
--- /dev/null
+++ b/dev-python/pylibmc/pylibmc-1.6.1-r2.ebuild
@@ -0,0 +1,57 @@
+# 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..10} )
+
+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/"
+# One image is missing from the doc at PyPI
+# https://github.com/lericson/pylibmc/pull/221
+SRC_URI="https://github.com/lericson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+
+RDEPEND=">=dev-libs/libmemcached-0.32"
+# Older sphinx versions fail to compile the doc
+# https://github.com/sphinx-doc/sphinx/issues/3266
+DEPEND="${RDEPEND}"
+BDEPEND="
+	test? (
+		net-misc/memcached
+	)"
+
+PATCHES=(
+	"${FILESDIR}/pylibmc-1.6.1-fix-test-failures-r1.patch"
+)
+
+distutils_enable_sphinx docs
+distutils_enable_tests nose
+
+python_prepare_all() {
+	sed -e "/with-info=1/d" -i setup.cfg || die
+
+	# some amazon thing, expects to be in AWS
+	rm tests/test_autoconf.py || die
+	distutils-r1_python_prepare_all
+
+	# 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
+}


             reply	other threads:[~2022-01-29 21:19 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29 21:19 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-12 18:16 [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/ 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-08-05 18:50 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
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=1643490903.1535a00b0a5e4c8813e1628f6b8c343cb09186ce.mgorny@gentoo \
    --to=mgorny@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