diff options
Diffstat (limited to 'dev-python/dogpile-core/dogpile-core-0.4.1.ebuild')
-rw-r--r-- | dev-python/dogpile-core/dogpile-core-0.4.1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild b/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild new file mode 100644 index 0000000..66b0254 --- /dev/null +++ b/dev-python/dogpile-core/dogpile-core-0.4.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +PYTHON_COMPAT=( python2_{6,7} python3_{1,2,3} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A 'dogpile' lock implementation for use in dogpile.cache module" +HOMEPAGE="https://bitbucket.org/zzzeek/dogpile.core" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="test? ( dev-python/nose[$PYTHON_USEDEP] )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + nosetests tests || die "Testuite failed with ${EPYTHON}" +} |