forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/pylibmc: Version bump to 1.5.1
Package-Manager: portage-2.3.1
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="6" | ||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) | ||
|
||
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" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="test" | ||
|
||
RDEPEND=">=dev-libs/libmemcached-0.32" | ||
DEPEND="${RDEPEND} | ||
test? ( dev-python/nose[${PYTHON_USEDEP}] )" | ||
|
||
python_prepare_all() { | ||
sed -e "/with-info=1/d" -i setup.cfg | ||
distutils-r1_python_prepare_all | ||
} | ||
|
||
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}!" | ||
} |