diff options
-rw-r--r-- | dev-python/natsort/Manifest | 1 | ||||
-rw-r--r-- | dev-python/natsort/natsort-4.0.4.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest index e2ebe21fac61..e2f7794bef9b 100644 --- a/dev-python/natsort/Manifest +++ b/dev-python/natsort/Manifest @@ -1,2 +1,3 @@ DIST natsort-3.4.0.tar.gz 16113 SHA256 a58ea2410eedf587adda3f2a4ef93a820a99028b253b510c79ef5b4a11cd1dbb SHA512 5aa91f2cbdec3e97081cc7248e7d596437f5c0b53151eb59a95c161b35d331c80737f5ffe39c74a0233a0c20ffec7d244d9e70d6fb7263880270c8379c81bc44 WHIRLPOOL 792034fe0e266db6a508ddb9faf7a557a0e38aa8c3f10dec3c3debda917fe1f5c86f097199f42f83fe422fbbc6770c4d39adb1cff9a811fdd5dcad4dcec07002 DIST natsort-4.0.3.tar.gz 60736 SHA256 283bfc8ce4c4d03f0a04b8d1908c747eff858d3774161074eb5b052972263b9f SHA512 abefb9226888679649fd1f4441a5016bfcbb79cf215c7be887cf1f67976ca6701f0f35424bb4ad405e9376fe3f3c38740a6f249cd233b92d7275f94e483b0b4a WHIRLPOOL afb1c78f2909128ccdb6b68c1bb2d54f400c87a1b293a06a29126db3732f9baa1bfd16d40f45097a45a3fd6be87b73973da0f3da34ff58e8967092a642128ab8 +DIST natsort-4.0.4.tar.gz 63116 SHA256 c76ba3e85fba78f276ac06e4d47f2230d1070f9c19413b2a0bfe7de6af311839 SHA512 e1c00de6fec56aeda6dedb547edfb2f819d8c129feb938be9cee64cd106485d75b2af12316d73b6e79c90694b0d489ddbdc29635e3df9569466d062cabbed461 WHIRLPOOL b410156355c3b5c5e12a982f8703fbdc7fbe079a614edc7638354b238260e6a559adf8ebccab5b3b728410a2c21c8932cff851341f5274e7bdd12d3295d8c595 diff --git a/dev-python/natsort/natsort-4.0.4.ebuild b/dev-python/natsort/natsort-4.0.4.ebuild new file mode 100644 index 000000000000..e024ec7765be --- /dev/null +++ b/dev-python/natsort/natsort-4.0.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 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} pypy ) + +RESTRICT="test" + +inherit distutils-r1 + +DESCRIPTION="Natural sorting for Python" +HOMEPAGE="https://pypi.python.org/pypi/natsort" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pathlib[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) + )" + +python_test() { + py.test || die "Tests failed under ${EPYTHON}" +} |