From 0810f758d1714ee89fe9102cc649bcca91a61c52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= Date: Fri, 1 Nov 2019 11:31:19 +0100 Subject: [PATCH] dev-java/ant-core: removed obsolete code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- dev-java/ant-core/ant-core-1.10.5-r2.ebuild | 15 --------------- dev-java/ant-core/ant-core-1.10.7.ebuild | 15 --------------- dev-java/ant-core/ant-core-1.9.13-r2.ebuild | 15 --------------- 3 files changed, 45 deletions(-) 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 -} -- 2.26.2