commit:     41a572ffb5af63c11f26084a32b94ce2a11651f3
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 11 19:02:19 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 11 19:10:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a572ff

dev-python/natsort: add optfeature

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/natsort/natsort-8.0.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/natsort/natsort-8.0.1.ebuild 
b/dev-python/natsort/natsort-8.0.1.ebuild
index e1a2a2c8074f..2e369a39667d 100644
--- a/dev-python/natsort/natsort-8.0.1.ebuild
+++ b/dev-python/natsort/natsort-8.0.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
-inherit distutils-r1
+inherit distutils-r1 optfeature
 
 DESCRIPTION="Natural sorting for Python"
 HOMEPAGE="https://pypi.org/project/natsort/";
@@ -21,3 +21,7 @@ BDEPEND="
        )"
 
 distutils_enable_tests pytest
+
+pkg_postinst() {
+       optfeature "sorting results that match most file browsers" 
"dev-python/pyicu"
+}

Reply via email to