dev-python/django: Use optfeature_header() instead of custom elog

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2021-04-04 20:55:02 +02:00
parent 21299619ce
commit 04e0a98115
3 changed files with 6 additions and 9 deletions
+2 -3
View File
@@ -81,11 +81,10 @@ python_install_all() {
}
pkg_postinst() {
elog "Additional Backend support can be enabled via"
optfeature_header "Additional Backend support can be enabled via:"
optfeature "MySQL backend support" dev-python/mysqlclient
optfeature "PostgreSQL backend support" dev-python/psycopg:2
elog
elog "Other features can be enhanced by"
optfeature_header
optfeature "GEO Django" "sci-libs/gdal[geos]"
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
optfeature "ImageField Support" dev-python/pillow
+2 -3
View File
@@ -89,11 +89,10 @@ python_install_all() {
}
pkg_postinst() {
elog "Additional Backend support can be enabled via"
optfeature_header "Additional Backend support can be enabled via:"
optfeature "MySQL backend support" dev-python/mysqlclient
optfeature "PostgreSQL backend support" dev-python/psycopg:2
elog
elog "Other features can be enhanced by"
optfeature_header
optfeature "GEO Django" "sci-libs/gdal[geos]"
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
optfeature "ImageField Support" dev-python/pillow
+2 -3
View File
@@ -82,11 +82,10 @@ python_install_all() {
}
pkg_postinst() {
elog "Additional Backend support can be enabled via"
optfeature_header "Additional Backend support can be enabled via:"
optfeature "MySQL backend support" dev-python/mysqlclient
optfeature "PostgreSQL backend support" dev-python/psycopg:2
elog
elog "Other features can be enhanced by"
optfeature_header
optfeature "GEO Django" "sci-libs/gdal[geos]"
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
optfeature "ImageField Support" dev-python/pillow