summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-02-14 22:27:26 +0100
committerSebastian Pipping <sping@gentoo.org>2020-02-14 22:40:32 +0100
commit32c65df5baf99d5853c2cac86cc7382bd6c746dd (patch)
treec0dcf901536e83c9fbd9860736b71518ff668451 /dev-python/natsort
parentnet-wireless/wpa_supplicant: whitespace (diff)
downloadgentoo-32c65df5baf99d5853c2cac86cc7382bd6c746dd.tar.gz
gentoo-32c65df5baf99d5853c2cac86cc7382bd6c746dd.tar.bz2
gentoo-32c65df5baf99d5853c2cac86cc7382bd6c746dd.zip
dev-python/natsort: 7.0.1 + EAPI 7 + tests
Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20
Diffstat (limited to 'dev-python/natsort')
-rw-r--r--dev-python/natsort/Manifest1
-rw-r--r--dev-python/natsort/natsort-7.0.1.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest
index 61eac9735bb8..3ffb87a69b78 100644
--- a/dev-python/natsort/Manifest
+++ b/dev-python/natsort/Manifest
@@ -1 +1,2 @@
DIST natsort-4.0.4.tar.gz 63116 BLAKE2B f4b15cd105ff79c17eec2b94371596c9a75f7389304f2808449da2e68eca6d9754871e4ef983a9bdaef43049ae64dad5f7c5ac46e55c5c379a79f6f5fae579fe SHA512 e1c00de6fec56aeda6dedb547edfb2f819d8c129feb938be9cee64cd106485d75b2af12316d73b6e79c90694b0d489ddbdc29635e3df9569466d062cabbed461
+DIST natsort-7.0.1.tar.gz 139272 BLAKE2B 81f75df0868a0810fbc8fef5a499135b5291adde7561a1b0e6b8a94a7f5afc27cd156939119c24749b1ed6983b4a6d63cada3f4a220e785dc06986db099803ba SHA512 48bfda8a42b951287d984e38c474b71233d56a578d8bec12e657413b3cdb71dd27103acda8dca359d87efd761e775deff0775a81d8dfa18df24c364921028c2b
diff --git a/dev-python/natsort/natsort-7.0.1.ebuild b/dev-python/natsort/natsort-7.0.1.ebuild
new file mode 100644
index 000000000000..693e88d0613c
--- /dev/null
+++ b/dev-python/natsort/natsort-7.0.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Natural sorting for Python"
+HOMEPAGE="https://pypi.org/project/natsort/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+IUSE="test"
+
+DEPEND="test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ virtual/python-pathlib[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest