mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
doing the test
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST dogpile.cache-0.5.7.tar.gz 288083 SHA256 dcf99b09ddf3d8216b1b4378100eb0235619612fb0e6300ba5d74f10962d0956 SHA512 52acc9027577bd254e3c9b88f1e178534ba3b74675b83ad5dcc37443f77e674018123499d0da42d856790c949d7cf0c2070d29110b083ee7e99c4040263cb06c WHIRLPOOL 74f94e870cb8b64ada6b032947804835d10ac952badf8cc10ad9ad066bd3d751aefd7352392da96a076502df46ade5dc5a50da50e45d89ce2221fec3d47a8b46
|
||||
DIST dogpile.cache-0.6.1.tar.gz 324046 SHA256 69b52dc56bb52d974e9e9fb2764e1311abcd1fd625de07b4e5c05550ac9b40c0 SHA512 c4743a88688d8f596469f2b3adf0cd862dd32891ae8c50d0c0421a984dfec872cbbecf936f704cf4351ae26b3ab4a26ae3b416f7c7f2ce3c41f8da2c9223178b WHIRLPOOL 3e9d4f8475efd34786f8722a9073cbb434bef8a8f5ada22e0309b143fda2a3909af91d69fb2092f6443a1e4ede9650529afbae2514c1374739582eecf05e1ffc
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="API built on a lock allowing access to expiring values while a single thread generates a new value."
|
||||
HOMEPAGE="https://bitbucket.org/zzzeek/dogpile.cache"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/dogpile.cache/dogpile.cache-${PV}.tar.gz"
|
||||
S="${WORKDIR}/dogpile.cache-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/dogpile-core-0.4.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/dogpile-core-0.4.1[${PYTHON_USEDEP}] )"
|
||||
|
||||
# This time half the doc files are missing; Do you want them? toss a coin
|
||||
|
||||
python_test() {
|
||||
# crikey. testsuite written for py3, 5 tests fail under py2.7
|
||||
if [[ "${EPYTHON}" != "python2.7" ]]; then
|
||||
nosetests || die "test failed under ${EPYTHON}"
|
||||
else
|
||||
einfo "testsuite restricted for python2.7"
|
||||
fi
|
||||
}
|
||||
@@ -14,7 +14,7 @@ S="${WORKDIR}/dogpile.cache-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
Reference in New Issue
Block a user