Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/natsort/
Date: Fri, 14 Feb 2020 21:41:00
Message-Id: 1581716432.32c65df5baf99d5853c2cac86cc7382bd6c746dd.sping@gentoo
commit:     32c65df5baf99d5853c2cac86cc7382bd6c746dd
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 21:27:26 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 21:40:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32c65df5

dev-python/natsort: 7.0.1 + EAPI 7 + tests

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 dev-python/natsort/Manifest             |  1 +
 dev-python/natsort/natsort-7.0.1.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest
index 61eac9735bb..3ffb87a69b7 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 00000000000..693e88d0613
--- /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