1 |
commit: 4677fdcd245951a2df886a1454c86cfd49a30285 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 04:53:03 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 05:06:42 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4677fdcd |
7 |
|
8 |
dev-python/natsort: Bump to 8.3.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/natsort/Manifest | 1 + |
13 |
dev-python/natsort/natsort-8.3.0.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/natsort/Manifest b/dev-python/natsort/Manifest |
17 |
index f61cae68c042..d8602650e030 100644 |
18 |
--- a/dev-python/natsort/Manifest |
19 |
+++ b/dev-python/natsort/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST natsort-8.2.0.tar.gz 145643 BLAKE2B d101ae2fa1cb009892e9712ece87d3825f3fca7970475e46176e5acbc29481ac79d491f1bae0721d85d3e67ecf39e5f54e2a984f0398356f32a5f0ec18a3e98d SHA512 d7e35c48ee36e69812c26b2cd333c57f1ec70c54017c4f51ed06dbb7619afc11cd1d589035faee700e1adf1e6b759b43ee497685fc88518be62c41957e15884e |
22 |
+DIST natsort-8.3.0.tar.gz 123448 BLAKE2B 7fd480c8bfaceaca7431716e7721acac89d4a5c87a951ecf2754d80062437776eee823d7b94c58e2b9bc6864d9c0f595ee8667c538609c296694a548c126ab58 SHA512 63a65a99c9475e8ae96d722ae4c093cc73034c0dfdd254b24ae02904dd81cc8be36038c8a3fc514080f436d4124847f0f331d06a87c435f0b7b7d1d72313ae0d |
23 |
|
24 |
diff --git a/dev-python/natsort/natsort-8.3.0.ebuild b/dev-python/natsort/natsort-8.3.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..5b947e1cf1a3 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/natsort/natsort-8.3.0.ebuild |
29 |
@@ -0,0 +1,32 @@ |
30 |
+# Copyright 1999-2023 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=( pypy3 python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 optfeature pypi |
39 |
+ |
40 |
+DESCRIPTION="Natural sorting for Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/SethMMorton/natsort/ |
43 |
+ https://pypi.org/project/natsort/ |
44 |
+" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
49 |
+ |
50 |
+BDEPEND=" |
51 |
+ test? ( |
52 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
53 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
54 |
+ ) |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+pkg_postinst() { |
60 |
+ optfeature "sorting results that match most file browsers" "dev-python/pyicu" |
61 |
+} |