1 |
commit: e0dd62a610b21637e4eceab53545fb8b5a8b0442 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 2 15:28:40 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 15:28:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0dd62a6 |
7 |
|
8 |
dev-python/natsort: add 8.2.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/natsort/Manifest | 1 + |
13 |
dev-python/natsort/natsort-8.2.0.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest |
17 |
index 76642bd0fcf3..143aee690d11 100644 |
18 |
--- a/dev-python/natsort/Manifest |
19 |
+++ b/dev-python/natsort/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST natsort-8.1.0.tar.gz 145241 BLAKE2B dcf9ffdb58cfe4d0f7ca0ed74701c8137a87716831dc747c5fb68d187a93c1b7414fa3625c0ed385e727e97c36feb99e9ecc6a41dd3d9da342d357646b5aaf32 SHA512 a065899b124e6a6ee8560ce1882650e35f0c36ddfd3c56462820886b076cd8cdb0121825e30e298af576e07915cc5bc1e90fe3f0b1f7bfb89f816c00665baa22 |
22 |
+DIST natsort-8.2.0.tar.gz 145643 BLAKE2B d101ae2fa1cb009892e9712ece87d3825f3fca7970475e46176e5acbc29481ac79d491f1bae0721d85d3e67ecf39e5f54e2a984f0398356f32a5f0ec18a3e98d SHA512 d7e35c48ee36e69812c26b2cd333c57f1ec70c54017c4f51ed06dbb7619afc11cd1d589035faee700e1adf1e6b759b43ee497685fc88518be62c41957e15884e |
23 |
|
24 |
diff --git a/dev-python/natsort/natsort-8.2.0.ebuild b/dev-python/natsort/natsort-8.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..67e29ddcd1e0 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/natsort/natsort-8.2.0.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 optfeature |
39 |
+ |
40 |
+DESCRIPTION="Natural sorting for Python" |
41 |
+HOMEPAGE="https://pypi.org/project/natsort/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
47 |
+ |
48 |
+BDEPEND=" |
49 |
+ test? ( |
50 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
51 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
52 |
+ )" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+pkg_postinst() { |
57 |
+ optfeature "sorting results that match most file browsers" "dev-python/pyicu" |
58 |
+} |