public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/4] java-pkg-2.eclass: mark functions as deprecated which depend on java-ant-2.eclass
@ 2024-08-24 12:40 Volkmar W. Pogatzki
  2024-08-24 12:40 ` [gentoo-dev] [PATCH 2/4] java-pkg-2.eclass: remove unused for commons.apache.org packages Volkmar W. Pogatzki
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2024-08-24 12:40 UTC (permalink / raw
  To: gentoo-dev

Deprecating java-ant-2.eclass would be the next step.

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
---
 eclass/java-pkg-2.eclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
index c17a9db26b3b..0409a7c70e0e 100644
--- a/eclass/java-pkg-2.eclass
+++ b/eclass/java-pkg-2.eclass
@@ -1,4 +1,4 @@
-# Copyright 2004-2023 Gentoo Authors
+# Copyright 2004-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2

 # @ECLASS: java-pkg-2.eclass
@@ -63,6 +63,7 @@ java-pkg-2_src_prepare() {


 # @FUNCTION: java-pkg-2_src_compile
+# @DEPRECATED: none
 # @DESCRIPTION:
 # Default src_compile for java packages
 #
@@ -98,6 +99,7 @@ java-pkg-2_src_compile() {
 }

 # @FUNCTION: java-pkg-2_src_test
+# @DEPRECATED: none
 # @DESCRIPTION:
 # src_test, not exported.
 java-pkg-2_src_test() {
--
2.41.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 2/4] java-pkg-2.eclass: remove unused for commons.apache.org packages
  2024-08-24 12:40 [gentoo-dev] [PATCH 1/4] java-pkg-2.eclass: mark functions as deprecated which depend on java-ant-2.eclass Volkmar W. Pogatzki
@ 2024-08-24 12:40 ` Volkmar W. Pogatzki
  2024-08-24 12:40 ` [gentoo-dev] [PATCH 3/4] java-utils-2.eclass: remove 'ant -lib' from comment of java-pkg_jarfrom Volkmar W. Pogatzki
  2024-08-24 12:40 ` [gentoo-dev] [PATCH 4/4] java-ant-2.eclass: mark java-ant-2 eclass as deprecated Volkmar W. Pogatzki
  2 siblings, 0 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2024-08-24 12:40 UTC (permalink / raw
  To: gentoo-dev

removes a condition which used to provide SRC_URI and HOMEPAGE for
packages from commons.apache.org but is completely unused due to not
providing verify-sig.

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
---
 eclass/java-pkg-2.eclass | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/eclass/java-pkg-2.eclass b/eclass/java-pkg-2.eclass
index 0409a7c70e0e..df024bbadf51 100644
--- a/eclass/java-pkg-2.eclass
+++ b/eclass/java-pkg-2.eclass
@@ -39,12 +39,6 @@ DEPEND="${JAVA_PKG_E_DEPEND}"
 # Nothing special for RDEPEND... just the same as DEPEND.
 RDEPEND="${DEPEND}"

-# Commons packages follow the same rules so do it here
-if [[ ${CATEGORY} = dev-java && ${PN} = commons-* ]]; then
-	HOMEPAGE="http://commons.apache.org/${PN#commons-}/"
-	SRC_URI="mirror://apache/${PN/-///}/source/${P}-src.tar.gz"
-fi
-

 # @FUNCTION: java-pkg-2_pkg_setup
 # @DESCRIPTION:
--
2.41.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 3/4] java-utils-2.eclass: remove 'ant -lib' from comment of java-pkg_jarfrom
  2024-08-24 12:40 [gentoo-dev] [PATCH 1/4] java-pkg-2.eclass: mark functions as deprecated which depend on java-ant-2.eclass Volkmar W. Pogatzki
  2024-08-24 12:40 ` [gentoo-dev] [PATCH 2/4] java-pkg-2.eclass: remove unused for commons.apache.org packages Volkmar W. Pogatzki
@ 2024-08-24 12:40 ` Volkmar W. Pogatzki
  2024-08-24 12:40 ` [gentoo-dev] [PATCH 4/4] java-ant-2.eclass: mark java-ant-2 eclass as deprecated Volkmar W. Pogatzki
  2 siblings, 0 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2024-08-24 12:40 UTC (permalink / raw
  To: gentoo-dev

since it is already advised to not use it

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
---
 eclass/java-utils-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 9c657cc4c1f9..647f25e2c987 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -1140,7 +1140,7 @@ java-pkg_jarfrom() {
 # @USAGE: [--build-only] [--runtime-only] [--with-dependencies] <package1>[,<package2>...]
 # @DESCRIPTION:
 # Get the classpath provided by any number of packages
-# Among other things, this can be passed to 'javac -classpath' or 'ant -lib'.
+# Among other things, this can be passed to 'javac -classpath'.
 # The providing packages are recorded as dependencies into package.env DEPEND
 # line, unless "--build-only" is passed as the very first argument, for jars
 # that have to be present only at build time and are not needed on runtime
--
2.41.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-dev] [PATCH 4/4] java-ant-2.eclass: mark java-ant-2 eclass as deprecated
  2024-08-24 12:40 [gentoo-dev] [PATCH 1/4] java-pkg-2.eclass: mark functions as deprecated which depend on java-ant-2.eclass Volkmar W. Pogatzki
  2024-08-24 12:40 ` [gentoo-dev] [PATCH 2/4] java-pkg-2.eclass: remove unused for commons.apache.org packages Volkmar W. Pogatzki
  2024-08-24 12:40 ` [gentoo-dev] [PATCH 3/4] java-utils-2.eclass: remove 'ant -lib' from comment of java-pkg_jarfrom Volkmar W. Pogatzki
@ 2024-08-24 12:40 ` Volkmar W. Pogatzki
  2 siblings, 0 replies; 4+ messages in thread
From: Volkmar W. Pogatzki @ 2024-08-24 12:40 UTC (permalink / raw
  To: gentoo-dev

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
---
 eclass/java-ant-2.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass
index b0d2fb216b10..1ed8b23ee6cd 100644
--- a/eclass/java-ant-2.eclass
+++ b/eclass/java-ant-2.eclass
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2

 # @ECLASS: java-ant-2.eclass
+# @DEPRECATED: none
 # @MAINTAINER:
 # java@gentoo.org
 # @AUTHOR:
--
2.41.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-24 12:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-24 12:40 [gentoo-dev] [PATCH 1/4] java-pkg-2.eclass: mark functions as deprecated which depend on java-ant-2.eclass Volkmar W. Pogatzki
2024-08-24 12:40 ` [gentoo-dev] [PATCH 2/4] java-pkg-2.eclass: remove unused for commons.apache.org packages Volkmar W. Pogatzki
2024-08-24 12:40 ` [gentoo-dev] [PATCH 3/4] java-utils-2.eclass: remove 'ant -lib' from comment of java-pkg_jarfrom Volkmar W. Pogatzki
2024-08-24 12:40 ` [gentoo-dev] [PATCH 4/4] java-ant-2.eclass: mark java-ant-2 eclass as deprecated Volkmar W. Pogatzki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox