From: Miroslav Šulc Date: Fri, 1 Nov 2019 10:31:19 +0000 (+0100) Subject: dev-java/ant-core: removed obsolete code X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0810f758d1714ee89fe9102cc649bcca91a61c52;p=gentoo.git dev-java/ant-core: removed obsolete code Closes: https://bugs.gentoo.org/699066 Closes: https://bugs.gentoo.org/589460 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc --- diff --git a/dev-java/ant-core/ant-core-1.10.5-r2.ebuild b/dev-java/ant-core/ant-core-1.10.5-r2.ebuild index c5cc705083b8..823285c258de 100644 --- a/dev-java/ant-core/ant-core-1.10.5-r2.ebuild +++ b/dev-java/ant-core/ant-core-1.10.5-r2.ebuild @@ -100,18 +100,3 @@ src_install() { use source && java-pkg_dosrc src/main/* } - -pkg_postinst() { - if [[ -n ${REPLACING_VERSIONS} ]]; then - if _ver_compare ${REPLACING_VERSIONS} 1.7.0 -eq 1; then - elog "The way of packaging ant in Gentoo has changed significantly since" - elog "the 1.7.0 version, For more information, please see:" - elog "https://www.gentoo.org/proj/en/java/ant-guide.xml" - fi - - if _ver_compare ${REPLACING_VERSIONS} 1.7.1 -eq 1; then - elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE" - elog "flags have been moved to dev-java/ant." - fi - fi -} diff --git a/dev-java/ant-core/ant-core-1.10.7.ebuild b/dev-java/ant-core/ant-core-1.10.7.ebuild index 004db50c84b5..e9e1e3cd6aac 100644 --- a/dev-java/ant-core/ant-core-1.10.7.ebuild +++ b/dev-java/ant-core/ant-core-1.10.7.ebuild @@ -106,18 +106,3 @@ src_install() { use source && java-pkg_dosrc src/main/* } - -pkg_postinst() { - if [[ -n ${REPLACING_VERSIONS} ]]; then - if _ver_compare ${REPLACING_VERSIONS} 1.7.0 -eq 1; then - elog "The way of packaging ant in Gentoo has changed significantly since" - elog "the 1.7.0 version, For more information, please see:" - elog "https://www.gentoo.org/proj/en/java/ant-guide.xml" - fi - - if _ver_compare ${REPLACING_VERSIONS} 1.7.1 -eq 1; then - elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE" - elog "flags have been moved to dev-java/ant." - fi - fi -} diff --git a/dev-java/ant-core/ant-core-1.9.13-r2.ebuild b/dev-java/ant-core/ant-core-1.9.13-r2.ebuild index d5c615d4701a..6452cfa885e8 100644 --- a/dev-java/ant-core/ant-core-1.9.13-r2.ebuild +++ b/dev-java/ant-core/ant-core-1.9.13-r2.ebuild @@ -100,18 +100,3 @@ src_install() { use source && java-pkg_dosrc src/main/* } - -pkg_postinst() { - if [[ -n ${REPLACING_VERSIONS} ]]; then - if _ver_compare ${REPLACING_VERSIONS} 1.7.0 -eq 1; then - elog "The way of packaging ant in Gentoo has changed significantly since" - elog "the 1.7.0 version, For more information, please see:" - elog "https://www.gentoo.org/proj/en/java/ant-guide.xml" - fi - - if _ver_compare ${REPLACING_VERSIONS} 1.7.1 -eq 1; then - elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE" - elog "flags have been moved to dev-java/ant." - fi - fi -}