1 |
commit: 1296d260a6c0eee9033fb4943360a05bb4ff1419 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 31 07:42:26 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 31 07:52:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1296d260 |
7 |
|
8 |
dev-python/natsort: Bump to 8.1.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.1.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 bec2d1e024c6..643131f681e1 100644 |
18 |
--- a/dev-python/natsort/Manifest |
19 |
+++ b/dev-python/natsort/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST natsort-8.0.2.tar.gz 144912 BLAKE2B 0e5d83e6991ef1208b84cbf17e287f487a2a059d68274876977ae6f18f89492284bc166499a9518bfc2df19999e5593f386ce88beca94c23d8a050697c0b2a36 SHA512 fad31e1af1e1d4a33061b8b3e31d022f353f662d306136d05e0121a0531f33cf388467a40f91f51036f283ab8fbdefc1193d09f440052960ffdf733186b5fb27 |
22 |
+DIST natsort-8.1.0.tar.gz 145241 BLAKE2B dcf9ffdb58cfe4d0f7ca0ed74701c8137a87716831dc747c5fb68d187a93c1b7414fa3625c0ed385e727e97c36feb99e9ecc6a41dd3d9da342d357646b5aaf32 SHA512 a065899b124e6a6ee8560ce1882650e35f0c36ddfd3c56462820886b076cd8cdb0121825e30e298af576e07915cc5bc1e90fe3f0b1f7bfb89f816c00665baa22 |
23 |
|
24 |
diff --git a/dev-python/natsort/natsort-8.1.0.ebuild b/dev-python/natsort/natsort-8.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..37264f2f6599 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/natsort/natsort-8.1.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..10} ) |
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 |
+} |