public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/
Date: Fri, 20 Jan 2017 19:21:06 +0000 (UTC)	[thread overview]
Message-ID: <1484940059.08cfa167f384fcec01041810d9f6c1b269cf8a87.soap@gentoo> (raw)

commit:     08cfa167f384fcec01041810d9f6c1b269cf8a87
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Thu Jan 19 12:10:02 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 19:20:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08cfa167

dev-python/pylibmc: add py3.5, doc, drop pypy

Tests fail with pypy as it doesn't have a sys.refcount method.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3539

 dev-python/pylibmc/Manifest                |  2 +-
 dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild | 51 ++++++++++++++++++++++++++++++
 dev-python/pylibmc/pylibmc-1.5.1.ebuild    |  4 +--
 3 files changed, 54 insertions(+), 3 deletions(-)

diff --git a/dev-python/pylibmc/Manifest b/dev-python/pylibmc/Manifest
index 83e496c..493833d 100644
--- a/dev-python/pylibmc/Manifest
+++ b/dev-python/pylibmc/Manifest
@@ -1,3 +1,3 @@
 DIST pylibmc-1.4.3.tar.gz 53063 SHA256 44167da299eaec2674eea7f8ebead646e361ad07e242e35b755181f88bab44ff SHA512 562091ecc046e1f4d181071dede056865649704e02d705f5af5845ad003ad775ed006c1431d48b330cf3b9fdeaceec6a6748ea9e120f673f06fdb99ed4953318 WHIRLPOOL 6055d0aee74f7edcc995d4350542cfebadeea97ffb367db8595e63cee6c4e0aae61b56471b619c07a7d289f87a2c1b9f0fa538939d113f1d395ceff3e96a86c4
 DIST pylibmc-1.5.0.tar.gz 53077 SHA256 16255595616a6d78cd786a55cc6431da5b7accf46512df854712a0cdbb3acfaa SHA512 0b89ad56d44205c0a20c5e2b56f70ac5128b46df81b4fcb9c72918b5d32e455dd3d976366872fe1d0acf40b61460d08fa6f30a8fa26977c1d65509e28bbbf80d WHIRLPOOL 3d3b8cd8842a6e0e602b5addfed12db94da4fbfb6d4f215546ca6ba9cfc0b24f5ce333e5f2740ba625a416663097e46dc40749418cc4c1a52f3123a032c4b45f
-DIST pylibmc-1.5.1.tar.gz 59726 SHA256 ecba261859c3e1ba3365389cb4f4dfffb7e02120a9f57a288cacf2f42c45cdd6 SHA512 10c8a8aed676efe703047baae928d2d64b6ee7411225e3407ff3dd7c19d087b66b18a94993eab77a433fd20f896714fe4415858ea79e393e99ed06b76cd1385b WHIRLPOOL 133a78d1e992cbb0498211a811973f3150bdbf59b59c9f9a9e183b724cebb09638b3acca7e3d2a82f9fd54002e56375a15c4936d0d6058189fb430aa25682eb5
+DIST pylibmc-1.5.1.tar.gz 69525 SHA256 18fa39885fce5464977d657185f55e491315b84686533db58054605165fd9b06 SHA512 efc40fae9721a6be589f87b66109132d4656725f718e1d63d7d25b9b27790b7c00fc3c7e4e47235895b7127cebc64229ddb284d23d0d903d3a510da7e1ce4549 WHIRLPOOL 668fd46c7d2a9d30bd5055649095fdcc6d38d739c473f66e23293838034b5b8b15aa982f015b029f0d57487080064de9b19600e172e78968c21d94f048666c82

diff --git a/dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild b/dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild
new file mode 100644
index 00000000..fdee866
--- /dev/null
+++ b/dev-python/pylibmc/pylibmc-1.5.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Libmemcached wrapper written as a Python extension"
+HOMEPAGE="http://sendapatch.se/projects/pylibmc/ https://pypi.python.org/pypi/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="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-libs/libmemcached-0.32"
+# Older sphinx versions fail to compile the doc
+# https://github.com/sphinx-doc/sphinx/issues/3266
+DEPEND="${RDEPEND}
+	doc? ( >=dev-python/sphinx-1.5.1-r1[${PYTHON_USEDEP}] )
+	test? (
+		net-misc/memcached
+		dev-python/nose[${PYTHON_USEDEP}]
+	)"
+
+python_prepare_all() {
+	sed -e "/with-info=1/d" -i setup.cfg || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	if use doc; then
+		# This variable is added to sys.path
+		# but it does not seem to be useful
+		PYLIBMC_DIR="." emake -C docs
+		HTML_DOCS=( docs/_build/html/. )
+	fi
+}
+
+python_test() {
+	memcached -d -p 11219 -u nobody -l localhost -P "${T}/m.pid" || die
+	MEMCACHED_PORT=11219 nosetests
+	local ret=${?}
+	kill "$(<"${T}/m.pid")" || die
+	[[ ${ret} == 0 ]] || die "Tests fail with ${EPYTHON}!"
+}

diff --git a/dev-python/pylibmc/pylibmc-1.5.1.ebuild b/dev-python/pylibmc/pylibmc-1.5.1.ebuild
index 9fec59b..62108a6 100644
--- a/dev-python/pylibmc/pylibmc-1.5.1.ebuild
+++ b/dev-python/pylibmc/pylibmc-1.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -9,7 +9,7 @@ inherit distutils-r1
 
 DESCRIPTION="Libmemcached wrapper written as a Python extension"
 HOMEPAGE="http://sendapatch.se/projects/pylibmc/ https://pypi.python.org/pypi/pylibmc"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/lericson/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"


             reply	other threads:[~2017-01-20 19:21 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-20 19:21 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-15 13:47 [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/ 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
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
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=1484940059.08cfa167f384fcec01041810d9f6c1b269cf8a87.soap@gentoo \
    --to=soap@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