commit: 4cfced047715b0602b68bb064f16e2882165c77f
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 3 11:05:35 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 4 18:55:06 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cfced04
sci-biology/biopython: Use optfeature_header() instead of custom elog
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-biology/biopython/biopython-1.77.ebuild | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/sci-biology/biopython/biopython-1.77.ebuild
b/sci-biology/biopython/biopython-1.77.ebuild
index 387404a1aed..1dcbc2101c4 100644
--- a/sci-biology/biopython/biopython-1.77.ebuild
+++ b/sci-biology/biopython/biopython-1.77.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -53,10 +53,9 @@ python_install_all() {
}
pkg_postinst() {
- elog "For database support you need to install:"
- optfeature "MySQL" dev-python/mysql-python
- optfeature "PostgreSQL" dev-python/psycopg
-
- elog "Some applications need extra packages:"
+ optfeature_header "For database support you need to install:"
+ optfeature "MySQL database support" dev-python/mysql-python
+ optfeature "PostgreSQL database support" dev-python/psycopg
+ optfeature_header "Some applications need extra packages:"
optfeature "EMBOSS (The European Molecular Biology Open Software
Suite)" sci-biology/emboss
}