commit:     9e16c84288ef96ceeb7390d8cf6fc8872ffd0db8
Author:     Dennis Gonçalves <camaradadennis <AT> gmail <DOT> com>
AuthorDate: Fri Dec  9 19:53:34 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Dec 10 12:29:05 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9e16c842

dev-python/geopandas: added optfeature messages to pkg_postinst()

Signed-off-by: Dennis Gonçalves <camaradadennis <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1184
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/geopandas/geopandas-0.12.1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-python/geopandas/geopandas-0.12.1.ebuild 
b/dev-python/geopandas/geopandas-0.12.1.ebuild
index e63aaa1bc..86a8624a1 100644
--- a/dev-python/geopandas/geopandas-0.12.1.ebuild
+++ b/dev-python/geopandas/geopandas-0.12.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_USE_PEP517="setuptools"
-inherit distutils-r1
+inherit distutils-r1 optfeature
 
 DESCRIPTION="Python tools for geographic data"
 HOMEPAGE="https://github.com/geopandas/geopandas";
@@ -32,3 +32,9 @@ python_test() {
 
        epytest ${deselect[@]/#/--deselect }
 }
+
+pkg_postinst() {
+       optfeature "plotting" dev-python/matplotlib
+       optfeature "spatial indexes and spatial joins" sci-libs/rtree
+       optfeature "geocoding" sci-geosciences/geopy
+}

Reply via email to