Sync with portage [Sun Nov 21 13:14:06 MSK 2021].

akrasnyh 2138
root 2 years ago
parent 30f70154bf
commit 3ecef5e1ac

Binary file not shown.

Binary file not shown.

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

Binary file not shown.

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

Binary file not shown.

@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/SELinuxProject/setools.git"
else
SRC_URI="https://github.com/SELinuxProject/setools/releases/download/${PV}/${P}.tar.bz2"
KEYWORDS="amd64 ~arm ~arm64 x86"
KEYWORDS="amd64 arm arm64 x86"
fi
LICENSE="GPL-2 LGPL-2.1"

Binary file not shown.

@ -20,7 +20,7 @@ if [[ ${PV} == 9999* ]]; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
fi
S="${WORKDIR}"/vim-${PV}

@ -15,7 +15,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> vim-${PV}.tar.gz
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
S="${WORKDIR}"/vim-${PV}

@ -19,7 +19,7 @@ if [[ ${PV} == 9999* ]] ; then
else
SRC_URI="https://github.com/vim/vim/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~zlogene/distfiles/app-editors/vim/vim-8.2.0360-gentoo-patches.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Vim, an improved vi-style text editor"

Binary file not shown.

@ -1,12 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

Binary file not shown.

@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">dimkr/loksh</remote-id>
</upstream>

@ -1,3 +1,6 @@
DIST powershell-7.1.4-linux-arm32.tar.gz 64878390 BLAKE2B 5fd82e562b5db20f7d0b5335969eca6a0821bc7ee23aca6d60a0ef9f7fbf4888d515f8a1fabd5b5fdf8de6418abcfbad481bec5b3dd4635f072007ebc6ecb634 SHA512 cd48f644f483dcc8594aba1220912f731345cfe0316ef21ec1663d16fc36e95d2c6891a742bade31f3450e3cedbe689f7804ae8f90737ae23d04a39adb6c4171
DIST powershell-7.1.4-linux-arm64.tar.gz 63726773 BLAKE2B f59c75a8dfd9d12f7c41c3035524a4c9991923dfc04e8eb61f8440de1d110932c769f84806fb2b33a9179817d57179e1c70de7b3199c78023d75f22fbaad5a83 SHA512 7eca9d5c6cfe57b0920a49d4f22499f509c1125a5a91876f17bcadd1a6e049bf3bc9d0abf0bb460823d06b67c8c065abf100c8f989353c7f28f993c07b44005f
DIST powershell-7.1.4-linux-x64.tar.gz 68255681 BLAKE2B 7a57298cdea29e430b67cad965d16f533fab67aaf7009db8cd68683f5e987dab48f12c779c87a0a1538a1ecf7ed2be25011578b7491a092d86f7d386ec8ac6a4 SHA512 b15098a1ab1fc357f0351fc2146e6be3f060ef90dd38ced2e3379b24a0bcb4f28a7c4c655509e62824c56ce905162a7c81bd0a853c5320bd8139a3a4178b97a1
DIST powershell-7.2.0-linux-arm32.tar.gz 66486780 BLAKE2B ffc23554feca1e26da15e5c672a3eb9bc25befdbfe64f812cd80fd6820c94b94a8719170878e7852d6b48a7538295fa231b24f4f51013c0288c84a5990a0af1f SHA512 2d618c4600128011575e00e20437bf9a417b6fd60cfdb8450b218d17d1a0bed3f3e35bbd6a050ca1eb8d03a22995712cc739d73bcb03e22a494ffac1934c18eb
DIST powershell-7.2.0-linux-arm64.tar.gz 65020702 BLAKE2B bfb7fc46efe62252290cef124030bdcb24511c219c797e344bc4deb452b2051ef5b0d23977547efcba755eb11c6282b9fe9121cc6451e04cc640228e499bd08d SHA512 dcf534471b5ef909ec989496224bedd4b4a0c38ff8a7d7d81e9b01be68c9b1141ff76b2de3dd9f36b51277165c3cfa5a2c80b2a23c6204dc5d1a09dae40c8761
DIST powershell-7.2.0-linux-x64.tar.gz 69653102 BLAKE2B 5a85f49f675047c86928fb733d12462351a25c079876c4d0a37ddc36f5a4ecf91fb3009b625f156f291099c51e189638e10bed51763e8fd458b70160f5ce8d61 SHA512 f07a038ef8e7c4894f78139c08739a605ce0deb79d2f0e9d5abb8be5fda31a1636804c99c0dceedd5798e08e353263c338b98b7477eb40ebfb875545b0cbf3fb

@ -0,0 +1,43 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
DESCRIPTION="PowerShell - binary precompiled for glibc"
HOMEPAGE="https://powershell.org/"
LICENSE="MIT"
QA_PREBUILT="*"
SRC_URI="
amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz )
arm? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm32.tar.gz )
arm64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-arm64.tar.gz )
"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
RDEPEND="
app-crypt/mit-krb5:0/0
dev-util/lttng-ust:0
|| ( dev-libs/openssl-compat:1.0.0 =dev-libs/openssl-1.0*:0/0 )
sys-libs/pam:0/0
sys-libs/zlib:0/1
pwsh-symlink? ( !app-shells/pwsh )
"
IUSE="+pwsh-symlink"
REQUIRED_USE="elibc_glibc"
S=${WORKDIR}
src_install() {
local dest=opt/pwsh broken_symlinks=(libcrypto.so.1.0.0 libssl.so.1.0.0) symlink
dodir "${dest}"
for symlink in "${broken_symlinks[@]}"; do
[[ -L ${symlink} ]] && { rm "${symlink}" || die; }
done
mv "${S}/"* "${ED}/${dest}/" || die
fperms 0755 "/${dest}/pwsh"
dosym "../../${dest}/pwsh" "/usr/bin/pwsh-bin"
use pwsh-symlink && dosym "../../${dest}/pwsh" "/usr/bin/pwsh"
}

Binary file not shown.

@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="person">
<email>bman@gentoo.org</email>
<name>Aaron Bauman</name>

Binary file not shown.

@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>

Binary file not shown.

@ -1 +0,0 @@
DIST absolutelayout-6.7_beta.tar.bz2 3359 BLAKE2B 3753b864a8609b58f37679700651c928b113da03cc3294e7dbf27d45dc4cd00f163cbd196b503f382301c12212df071c833f3cab20e2dd1db827bbb39763e9a2 SHA512 2e14300fca85d2d81533147de4dbfa13660749a46134d9a80facd992948ed18147e02fcf2ca3590154823342201bd99f6e84eb251176ae1906c09477718a36e3

@ -1,23 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="AbsoluteLayout files extracted from Netbeans"
HOMEPAGE="http://www.netbeans.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="|| ( GPL-2 CDDL )"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6"
S="${WORKDIR}"

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -12,7 +12,7 @@ DESCRIPTION="Java library that provides a fluent interface for writing assertion
HOMEPAGE="http://joel-costigliola.github.io/assertj/"
SRC_URI="https://github.com/joel-costigliola/${PN}/archive/${P}.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="amd64 ~arm64 ppc64 x86"
KEYWORDS="amd64 arm64 ppc64 x86"
SLOT="2"
CDEPEND="dev-java/cglib:3

@ -1 +0,0 @@
DIST backport-util-concurrent-Java60-3.1-src.tar.bz2 622882 BLAKE2B 49dd1065fb80d697dc917aeff1bf653a1c82bc24e3edf6d1eb272f3cee17130a6db20f562f40e7911a6382f8c545bdf37e1ce34b69a6a7ddf5a569e114a78e87 SHA512 caef9eef43d0de5ee3d05a84b44d3d2f6bb9498bdc82105626bd2631494fcd0347387da9beb6000fe9c80efacbbf2c2c3603a97b53e4c74037eaf629d790cd54

@ -1,54 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
SF_PN="backport-jsr166"
MY_P="${PN}-Java60-${PV}"
DESCRIPTION="A portability wrapper for java.util.concurrent API (jsr166) 6.0"
HOMEPAGE="http://backport-jsr166.sourceforge.net/"
SRC_URI="mirror://sourceforge/${SF_PN}/${PV}/${MY_P}-src.tar.bz2"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND=">=virtual/jdk-1.6
test? (
dev-java/junit:0
)
app-arch/unzip"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}/${MY_P}-src"
java_prepare() {
if use test; then
# make test not depend on make
epatch "${FILESDIR}/${PN}-3.0-test.patch"
else
# don't compile test classes
epatch "${FILESDIR}/${PN}-3.0-notest.patch"
fi
cd "${S}/external" || die
rm -v *.jar || die
use test && java-pkg_jar-from --build-only junit
}
EANT_BUILD_TARGET="javacompile archive"
EANT_TEST_TARGET="test"
src_install() {
java-pkg_dojar ${PN}.jar
dohtml README.html
use doc && java-pkg_dojavadoc doc/api
use source && java-pkg_dosrc src/*
}

@ -1,14 +0,0 @@
--- build.xml.orig 2007-05-09 23:23:00.000000000 +0200
+++ build.xml 2007-05-09 23:23:34.000000000 +0200
@@ -33,9 +33,9 @@
deprecation="true" destdir="${dest}" nowarn="false"
source="1.4" target="1.4">
<src path="src"/>
- <src path="test/tck/src"/>
+<!-- <src path="test/tck/src"/>
<src path="test/loops/src"/>
- <src path="test/serialization"/>
+ <src path="test/serialization"/>-->
</javac>
</target>

@ -1,11 +0,0 @@
--- build.xml.original 2007-02-10 02:03:52.000000000 +0100
+++ build.xml 2007-02-10 02:04:02.000000000 +0100
@@ -107,7 +107,7 @@
-Djunit.ui=swingui property.
-->
- <target name="test" depends="jdeps,make"
+ <target name="test" depends="jdeps"
description="runs TCK unit tests on the backport">
<property name="junit.ui" value="textui"/>

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription>
This package is the backport of java.util.concurrent API, introduced
in Java 5.0, to Java 1.4, and from Java 6.0 to Java 5.0"
</longdescription>
<upstream>
<remote-id type="sourceforge">backport-jsr166</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST beansbinding-1.2.1.zip 236905 BLAKE2B 81e48ef53c28106fc6e4fa4c7e85dc07ce4ce05635769d09d5d9bcd17f64f5b7ba44ab676311f44dd3906cc34c95539d1fbb8d3038c05a6ab4ba62f8bf8fe3ed SHA512 f617f0b5068c416bcaaa46fe141e9b8b1fec128403738093b205451f9bcd624d2588b9b77e0c67f6de97490f44a4cf7c5e58b1728d5d7d921bd861e3dfffb415

@ -1,27 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Implementation of JSR295"
HOMEPAGE="https://java.net/projects/beansbinding/"
SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}-src.zip -> ${P}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
>=virtual/jre-1.6"
DEPEND="
>=virtual/jdk-1.6
source? ( app-arch/zip )"
JAVA_SRC_DIR="src"

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription lang="en">
Beans Binding (JSR 295) is about keeping the properties of two beans in sync. This project provides the reference implementation of Beans Binding, with an additional emphasis on the ability to bind to Swing components, and easy integration with IDEs such as NetBeans.
</longdescription>
</pkgmetadata>

@ -1 +0,0 @@
DIST blowfishj-2.14-src.tar.gz 33726 BLAKE2B 08977621403c16700396109364e9de0b473ca797934de6d62e5f942b37f6fc4b2bea451be4f53f4a56cb19bd9b540c5b277d8634f0687bc4a36619139a39bdf7 SHA512 3f508be61b494eddf6f276e21c7979d1f6a46dac19e8256f7451f3a434cd1d7df34c268aa2c13b7370129c84f289f331f47456c400ac31a9f0996fefeae12aec

@ -1,43 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Blowfish implementation in Java"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
HOMEPAGE="http://blowfishj.sourceforge.net/index.html"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=virtual/jdk-1.6
test? (
dev-java/ant-junit:0
)"
RDEPEND=">=virtual/jre-1.6"
java_prepare() {
cd "${S}" || die
java-ant_ignore-system-classes
mkdir -p target/lib || die
cd target/lib || die
use test && java-pkg_jar-from --build-only junit
}
src_test() {
ANT_TASKS="ant-junit" eant test -DJunit.present=true
}
src_install() {
java-pkg_newjar target/${P}.jar
use doc && java-pkg_dojavadoc dist/docs/api
use source && java-pkg_dosrc src/java/net
}

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription>
The Blowfish implementation in Java, provides very fast ECB and CBC encryption.
Comes with the BlowfishEasy class for simple string encryption, plus a solution
for streaming, both are binary compatible to Blowfish.NET. Additionally this
package includes its own SHA-1 class, all sources, JUnit test cases, demos and
JavaDocs.
</longdescription>
<upstream>
<remote-id type="sourceforge">blowfishj</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST btf-1.2.tar.gz 66887 BLAKE2B 62230c1af0c3c8b7d0ab294bc1e1dee523990a9b4e9aaa515d9119d4feffbf7db5fb548db9641b5709ec016dbb8e6b342509e7cb19e9e99f2b2f467c4fc8244a SHA512 ba70eea4370f090bf0295c9ac9907869a6bff62dc6ff86a443a887413f0c0fbb5c12924df6166b8ecd2348ee6bad409d954a16fe5a4a4695492f47a486e35acd

@ -1,37 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Generic interfaces to the classical builder pattern"
HOMEPAGE="https://github.com/fge/btf/"
SRC_URI="https://github.com/fge/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( LGPL-3 Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
COMMON_DEP="
dev-java/jsr305:0
"
RDEPEND="
${COMMON_DEP}
>=virtual/jre-1.7
"
DEPEND="
${COMMON_DEP}
>=virtual/jdk-1.7
"
JAVA_GENTOO_CLASSPATH="jsr305"
src_install() {
java-pkg_dojar ${PN}.jar
use doc && java-pkg_dojavadoc target/site/apidocs
use source && java-pkg_dosrc src/main/java/*
}

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="github">fge/btf</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST commons-chain-1.2-src.zip 316195 BLAKE2B 4f4b6221b5358634649cced0d558cfde4e7df133bda1b3edcb1264273c879ece2332310b65f0860d07b689d371397288db0b1aae7ab76966ce7a85664f10b248 SHA512 454cc3c00deb78f0c07e01ea5e2be9ea1210b7a0162e2490e5aba0df0788e1661aed88e4c4ac83e9f2046f62bdf063ecb7af7d3d49b7e87056aded1d5c1dad4b

@ -1,65 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
MY_P="${P}-src"
DESCRIPTION="API exposing the Chain of Responsability design pattern - by the ASF"
HOMEPAGE="http://commons.apache.org/proper/commons-chain/"
SRC_URI="mirror://apache/commons/chain/source/${MY_P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
# Too many missing imports from javax.servlet.* which causes the
# "compile-tests" target to fail compiling.
# I gave up on them after wasting nearly half a day.
RESTRICT="test"
IUSE=""
CDEPEND="dev-java/commons-digester:0
dev-java/mojarra:2.2
dev-java/portletapi:2.0
dev-java/commons-logging:0
java-virtuals/servlet-api:3.0"
RDEPEND=">=virtual/jre-1.6
${CDEPEND}"
DEPEND=">=virtual/jdk-1.6
${CDEPEND}"
S="${WORKDIR}/${MY_P}"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="
commons-logging
commons-digester
portletapi-2.0
mojarra-2.2
servlet-api-3.0
"
EANT_BUILD_TARGET="package"
EANT_BUILD_XML="build.xml"
java_prepare() {
cp "${FILESDIR}"/${P}-build.xml build.xml
}
src_install() {
java-pkg_newjar "${S}"/target/${P}.jar commons-chain.jar
if use doc; then
java-pkg_dohtml -r "${S}"/target/site/apidocs/
fi
if use source; then
java-pkg_dosrc "${S}"/src/*
fi
}

@ -1,215 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="commons-chain-1.2" default="package" basedir=".">
<!-- ====================================================================== -->
<!-- Build environment properties -->
<!-- ====================================================================== -->
<property file="${user.home}/.m2/maven.properties"/>
<property file="maven-build.properties"/>
<property name="maven.build.finalName" value="commons-chain-1.2"/>
<property name="maven.build.dir" value="target"/>
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
<property name="maven.build.srcDir.0" value="src/java"/>
<property name="maven.build.resourceDir.0" value="."/>
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
<property name="maven.build.testDir.0" value="src/test"/>
<property name="maven.build.testResourceDir.0" value="src/test"/>
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
<property name="maven.settings.offline" value="false"/>
<property name="maven.settings.interactiveMode" value="true"/>
<!-- ====================================================================== -->
<!-- Defining classpaths -->
<!-- ====================================================================== -->
<path id="build.classpath">
</path>
<path id="build.test.classpath">
</path>
<!-- ====================================================================== -->
<!-- Cleaning up target -->
<!-- ====================================================================== -->
<target name="clean" description="Clean the output directory">
<delete dir="${maven.build.dir}"/>
</target>
<!-- ====================================================================== -->
<!-- Compilation target -->
<!-- ====================================================================== -->
<target name="compile" description="Compile the code">
<mkdir dir="${maven.build.outputDir}"/>
<javac destdir="${maven.build.outputDir}"
encoding="iso-8859-1"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.srcDir.0}"/>
</src>
<classpath refid="build.classpath"/>
</javac>
<mkdir dir="${maven.build.outputDir}/META-INF"/>
<copy todir="${maven.build.outputDir}/META-INF">
<fileset dir="${maven.build.resourceDir.0}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Test-compilation target -->
<!-- ====================================================================== -->
<target name="compile-tests"
depends="compile"
description="Compile the test code"
unless="maven.test.skip">
<mkdir dir="${maven.build.testOutputDir}"/>
<javac destdir="${maven.build.testOutputDir}"
encoding="iso-8859-1"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.testDir.0}"/>
</src>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
</classpath>
</javac>
<copy todir="${maven.build.testOutputDir}">
<fileset dir="${maven.build.testResourceDir.0}">
<include name="**/*.xml"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Run all tests -->
<!-- ====================================================================== -->
<target name="test"
depends="compile-tests"
unless="junit.skipped"
description="Run the test cases">
<mkdir dir="${maven.test.reports}"/>
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
<sysproperty key="basedir" value="."/>
<formatter type="xml"/>
<formatter type="plain" usefile="false"/>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
<pathelement location="${maven.build.testOutputDir}"/>
</classpath>
<batchtest todir="${maven.test.reports}" unless="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/Test*.java"/>
<include name="**/*Test.java"/>
<include name="**/*TestCase.java"/>
<exclude name="**/*Abstract*Test.java"/>
</fileset>
</batchtest>
<batchtest todir="${maven.test.reports}" if="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/${test}.java"/>
<exclude name="**/*Abstract*Test.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="test-junit-present">
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
</target>
<target name="test-junit-status"
depends="test-junit-present">
<condition property="junit.missing">
<and>
<isfalse value="${junit.present}"/>
<isfalse value="${maven.test.skip}"/>
</and>
</condition>
<condition property="junit.skipped">
<or>
<isfalse value="${junit.present}"/>
<istrue value="${maven.test.skip}"/>
</or>
</condition>
</target>
<!-- ====================================================================== -->
<!-- Javadoc target -->
<!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${maven.build.srcDir.0}"
packagenames="*"
destdir="${maven.reporting.outputDirectory}/apidocs"
access="protected"
old="false"
verbose="false"
encoding="iso-8859-1"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
source="1.3"
linksource="true"
failonerror="false"
breakiterator="false">
<link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
<link href="http://java.sun.com/j2ee/1.4/docs/api/"/>
<link href="http://commons.apache.org/digester/apidocs/"/>
</javadoc>
</target>
<!-- ====================================================================== -->
<!-- Package target -->
<!-- ====================================================================== -->
<target name="package" depends="compile" description="Package the application">
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
compress="true"
index="false"
basedir="${maven.build.outputDir}"
excludes="**/package.html"/>
</target>
<!-- ====================================================================== -->
<!-- A dummy target for the package named after the type it creates -->
<!-- ====================================================================== -->
<target name="jar" depends="package" description="Builds the jar for the application"/>
</project>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST commons-dbcp2-2.1-src.tar.gz 580017 BLAKE2B 5bcc79ace49e57199fc99ea52ffbefc3ec428aff51fab3c08679f851e51fdbc02ac539ebea64eb3f6f8e5cbaf910269630096a4efb27f19cef336beb026cf441 SHA512 830fb550cee5f9c79fad830d8b3e56417aa9dfed26093fd366693260f5b4d821baa592e60c7f5997766276049a90eacd5854b8422803825154fedee56d46409d

@ -1,82 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
MY_PN="${PN}2"
MY_PV="${PV%_*}"
MY_P="${MY_PN}-${MY_PV}-src"
DESCRIPTION="Jakarta component providing database connection pooling API"
HOMEPAGE="http://commons.apache.org/dbcp/"
SRC_URI="mirror://apache/commons/dbcp/source/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="2"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
CDEPEND=">=dev-java/commons-logging-1.1.1
dev-java/commons-pool:2
java-virtuals/transaction-api:0
dev-java/junit:4"
DEPEND="${CDEPEND}
>=virtual/jdk-1.7
test? ( dev-java/ant-junit:0 )"
RDEPEND="
>=virtual/jdk-1.7
${CDEPEND}"
S="${WORKDIR}/${MY_P}"
JAVA_ANT_REWRITE_CLASSPATH="yes"
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
EANT_GENTOO_CLASSPATH="commons-logging,commons-pool-2,transaction-api,junit-4"
EANT_BUILD_TARGET="build-jar"
src_test() {
local TESTS_TO_DELETE=()
function test_to_del() {
local TEST_FILE=$1
TESTS_TO_DELETE+=(${TEST_FILE})
}
function rm_tests() {
for TEST_FILE in ${TESTS_TO_DELETE[@]}; do
ebegin "Removing test file ${TEST_FILE}"
rm "${TEST_FILE}" || die
eend $?
done
}
# These tests depend on a geronimo,
# which is not packaged yet for Gentoo unfortunately.
# See bug #348853.
test_to_del src/test/java/org/apache/commons/dbcp2/managed/TestBasicManagedDataSource.java
test_to_del src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSource.java
test_to_del src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSourceInTx.java
test_to_del src/test/java/org/apache/commons/dbcp2/managed/TestDataSourceXAConnectionFactory.java
test_to_del src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
test_to_del src/test/java/org/apache/commons/dbcp2/managed/TestTransactionContext.java
# This one fails.
test_to_del src/test/java/org/apache/commons/dbcp2/TestJndi.java
rm_tests
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar dist/${MY_PN}-${MY_PV}.jar ${PN}.jar
dodoc README.txt RELEASE-NOTES.txt
use doc && java-pkg_dojavadoc dist/docs/api
use source && java-pkg_dosrc src/main/java/*
}

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST commons-dbutils-1.6-src.tar.gz 90708 BLAKE2B 0793d19808d7baf492a80df50976b74354bb88768af71bfa5961de0fa8b7f7b4896962b4cf57b1ab2de912dbdf60c4374e2d2b9445b86c5e934c347bf840cb80 SHA512 05aa5fb448d949ac4d5d34f1219539e57cfb550fa423af0691cb35002984036b0de62b8f618199bd2f562a441867c5b7138e9204afc36bd6d0fa2c4c5e9cd2c6

@ -1,53 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A small set of classes designed to make working with JDBC easier"
HOMEPAGE="http://commons.apache.org/dbutils/"
SRC_URI="mirror://apache/commons/dbutils/source/${P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=virtual/jdk-1.6
test? (
dev-java/mockito:0
dev-java/ant-junit:0
dev-java/hamcrest-core:1.3
)"
RDEPEND=">=virtual/jre-1.6"
S="${WORKDIR}/${P}-src"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_TEST_TARGET="test"
EANT_TEST_GENTOO_CLASSPATH="
mockito
hamcrest-core-1.3
"
# Uses a bunch of deprecated methods.
JAVA_RM_FILES=(
src/test/java/org/apache/commons/dbutils/handlers/ArrayHandlerTest.java
)
java_prepare() {
cp "${FILESDIR}"/"${P}-build.xml" build.xml || die
}
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar target/${P}.jar
use doc && java-pkg_dojavadoc target/site/apidocs
use source && java-pkg_dosrc src/main/java
}

@ -1,263 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== -->
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
<!-- ====================================================================== -->
<!-- ====================================================================== -->
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
<!-- ====================================================================== -->
<!-- -->
<!-- Any modifications will be overwritten. -->
<!-- -->
<!-- Generated by Maven Ant Plugin on 10/5/15 8:20 PM -->
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
<!-- -->
<!-- ====================================================================== -->
<project name="commons-dbutils-from-maven" default="package" basedir=".">
<!-- ====================================================================== -->
<!-- Build environment properties -->
<!-- ====================================================================== -->
<property file="${user.home}/.m2/maven.properties"/>
<property file="maven-build.properties"/>
<property name="maven.build.finalName" value="commons-dbutils-1.6"/>
<property name="maven.build.dir" value="target"/>
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
<property name="maven.build.srcDir.0" value="src/main/java"/>
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
<property name="maven.build.resourceDir.1" value="."/>
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
<property name="maven.build.testDir.0" value="src/test/java"/>
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
<property name="maven.build.testResourceDir.1" value="."/>
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
<property name="maven.settings.offline" value="false"/>
<property name="maven.settings.interactiveMode" value="true"/>
<!-- ====================================================================== -->
<!-- Defining classpaths -->
<!-- ====================================================================== -->
<path id="build.classpath"/>
<path id="build.test.classpath">
<pathelement location="${maven.repo.local}/junit/junit/4.11/junit-4.11.jar"/>
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
<pathelement location="${maven.repo.local}/org/mockito/mockito-core/1.9.5/mockito-core-1.9.5.jar"/>
<pathelement location="${maven.repo.local}/org/objenesis/objenesis/1.0/objenesis-1.0.jar"/>
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-all/1.3/hamcrest-all-1.3.jar"/>
</path>
<!-- ====================================================================== -->
<!-- Cleaning up target -->
<!-- ====================================================================== -->
<target name="clean" description="Clean the output directory">
<delete dir="${maven.build.dir}"/>
</target>
<!-- ====================================================================== -->
<!-- Compilation target -->
<!-- ====================================================================== -->
<target name="compile" description="Compile the code">
<mkdir dir="${maven.build.outputDir}"/>
<javac destdir="${maven.build.outputDir}"
encoding="iso-8859-1"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.srcDir.0}"/>
</src>
<classpath refid="build.classpath"/>
</javac>
<mkdir dir="${maven.build.outputDir}/META-INF"/>
<copy todir="${maven.build.outputDir}/META-INF">
<fileset dir="${maven.build.resourceDir.1}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Test-compilation target -->
<!-- ====================================================================== -->
<target name="compile-tests"
depends="compile"
description="Compile the test code"
unless="maven.test.skip">
<mkdir dir="${maven.build.testOutputDir}"/>
<javac destdir="${maven.build.testOutputDir}"
encoding="iso-8859-1"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.testDir.0}"/>
</src>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
</classpath>
</javac>
<copy todir="${maven.build.testOutputDir}">
<fileset dir="${maven.build.testResourceDir.0}"/>
</copy>
<mkdir dir="${maven.build.testOutputDir}/META-INF"/>
<copy todir="${maven.build.testOutputDir}/META-INF">
<fileset dir="${maven.build.testResourceDir.1}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Run all tests -->
<!-- ====================================================================== -->
<target name="test"
depends="compile-tests, junit-missing"
unless="junit.skipped"
description="Run the test cases">
<mkdir dir="${maven.test.reports}"/>
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
<sysproperty key="basedir" value="."/>
<formatter type="xml"/>
<formatter type="plain" usefile="false"/>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
<pathelement location="${maven.build.testOutputDir}"/>
</classpath>
<batchtest todir="${maven.test.reports}" unless="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/Test*.java"/>
<include name="**/*Test.java"/>
<include name="**/*TestCase.java"/>
<exclude name="**/TestBean.java"/>
<exclude name="**/BaseTestCase.java"/>
</fileset>
</batchtest>
<batchtest todir="${maven.test.reports}" if="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/${test}.java"/>
<exclude name="**/BaseTestCase.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="test-junit-present">
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
</target>
<target name="test-junit-status"
depends="test-junit-present">
<condition property="junit.missing">
<and>
<isfalse value="${junit.present}"/>
<isfalse value="${maven.test.skip}"/>
</and>
</condition>
<condition property="junit.skipped">
<or>
<isfalse value="${junit.present}"/>
<istrue value="${maven.test.skip}"/>
</or>
</condition>
</target>
<target name="junit-missing"
depends="test-junit-status"
if="junit.missing">
<echo>=================================== WARNING ===================================</echo>
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
<echo>===============================================================================</echo>
</target>
<!-- ====================================================================== -->
<!-- Javadoc target -->
<!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${maven.build.srcDir.0}"
packagenames="*"
destdir="${maven.reporting.outputDirectory}/apidocs"
access="protected"
old="false"
verbose="false"
encoding="iso-8859-1"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
docencoding="iso-8859-1"
source="1.6"
linksource="true"
breakiterator="false">
<link href="http://docs.oracle.com/javase/6/docs/api/"/>
<link href="http://docs.oracle.com/javaee/6/api/"/>
</javadoc>
</target>
<!-- ====================================================================== -->
<!-- Package target -->
<!-- ====================================================================== -->
<target name="package" depends="compile,test" description="Package the application">
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
compress="true"
index="false"
basedir="${maven.build.outputDir}"
excludes="**/package.html">
<manifest>
<attribute name="Main-Class" value="Main"/>
</manifest>
</jar>
</target>
<!-- ====================================================================== -->
<!-- A dummy target for the package named after the type it creates -->
<!-- ====================================================================== -->
<target name="jar" depends="package" description="Builds the jar for the application"/>
<!-- ====================================================================== -->
<!-- Download dependencies target -->
<!-- ====================================================================== -->
<target name="test-offline">
<condition property="maven.mode.offline">
<equals arg1="${maven.settings.offline}" arg2="true"/>
</condition>
</target>
</project>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST commons-discovery-0.5.jar 81725 BLAKE2B c7324c698199d28d05b4ef24b43b00b572c22a028337ac2d29386b4763ab3de22b194761ea282104704156a3641e79dd1414e07550c142b5343d89e9faab7166 SHA512 348e42df5e4e34fdaa49d638018e654119a9d4e2aad967ed2a6f2706e89ffb2ea5daa9ac86747fa1f6d7b245759fac1a80090c571a057be1cdf8cea3514936f3

@ -1,30 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Commons Discovery: Service Discovery component"
HOMEPAGE="http://commons.apache.org/discovery/"
SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
CDEPEND="dev-java/commons-logging:0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.6
source? ( app-arch/zip )"
JAVA_GENTOO_CLASSPATH="commons-logging"

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1,2 +0,0 @@
DIST commons-email-1.4-src.tar.gz 288876 BLAKE2B 17de5c947e68db988b5999ab95f122570a9f52f0557bbdb9a483676576a81d6cfb150058a0ed530bc8dde8732313839e320f4bd7ecfc088b483947dde5760441 SHA512 2a62256e284b9f4f428cf8544e46e81aa521476c41243df1c4f8a9e1bd4bcea3c768346aaab862b8c2a8b271c6012a38164c6d62867d2849a3ee0c2820fe422c
DIST commons-email-1.5.jar 62954 BLAKE2B fe3970fcdb55f4b6859ff30b4da4f71e96ad8d47e76c280d6f0eb0040d18a39bcf1461eee48fc71733b11c24006328c45c5a7252261410bd4717186116f95732 SHA512 db88b00724a0ea5b103758beeae3a9d61d455edc4a2bbe39f7906565a73dff967b91fd73b64668e5d4ec7993faf23bd69096727b998544c73a7bfb08f9c45988

@ -1,53 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="source doc test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Commons Email aims to provide an API for sending email."
HOMEPAGE="http://commons.apache.org/email/"
SRC_URI="mirror://apache/commons/email/source/${P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86"
IUSE=""
# Requires a slew of packages we don't ship yet.
RESTRICT="test"
CDEPEND="dev-java/oracle-javamail:0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
test? (
dev-java/ant-junit:0
)
>=virtual/jdk-1.6"
S="${WORKDIR}/${P}-src"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="oracle-javamail"
EANT_BUILD_TARGET="package"
java_prepare() {
cp "${FILESDIR}/${P}-build.xml" build.xml || die
}
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar "target/${P}.jar" "${PN}.jar"
dodoc {NOTICE,README,RELEASE-NOTES}.txt
use doc && java-pkg_dojavadoc target/site/apidocs
use source && java-pkg_dosrc src/main/java
}

@ -1,28 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Commons Email aims to provide an API for sending email"
HOMEPAGE="https://commons.apache.org/email"
SRC_URI="https://repo1.maven.org/maven2/org/apache/commons/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
CDEPEND="dev-java/oracle-javamail:0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.6"
JAVA_GENTOO_CLASSPATH="oracle-javamail"

@ -1,261 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== -->
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
<!-- ====================================================================== -->
<!-- ====================================================================== -->
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
<!-- ====================================================================== -->
<!-- -->
<!-- Any modifications will be overwritten. -->
<!-- -->
<!-- Generated by Maven Ant Plugin on 9/29/15 9:53 PM -->
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
<!-- -->
<!-- ====================================================================== -->
<project name="commons-email-from-maven" default="package" basedir=".">
<!-- ====================================================================== -->
<!-- Build environment properties -->
<!-- ====================================================================== -->
<property file="${user.home}/.m2/maven.properties"/>
<property file="maven-build.properties"/>
<property name="maven.build.finalName" value="commons-email-1.4"/>
<property name="maven.build.dir" value="target"/>
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
<property name="maven.build.srcDir.0" value="src/main/java"/>
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
<property name="maven.build.resourceDir.1" value="."/>
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
<property name="maven.build.testDir.0" value="src/test/java"/>
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
<property name="maven.build.testResourceDir.1" value="."/>
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
<!-- ====================================================================== -->
<!-- Defining classpaths -->
<!-- ====================================================================== -->
<path id="build.classpath">
</path>
<path id="build.test.classpath">
</path>
<!-- ====================================================================== -->
<!-- Cleaning up target -->
<!-- ====================================================================== -->
<target name="clean" description="Clean the output directory">
<delete dir="${maven.build.dir}"/>
</target>
<!-- ====================================================================== -->
<!-- Compilation target -->
<!-- ====================================================================== -->
<target name="compile" description="Compile the code">
<mkdir dir="${maven.build.outputDir}"/>
<javac destdir="${maven.build.outputDir}"
encoding="UTF-8"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.srcDir.0}"/>
</src>
<classpath refid="build.classpath"/>
</javac>
<copy todir="${maven.build.outputDir}">
<fileset dir="${maven.build.resourceDir.0}"/>
</copy>
<mkdir dir="${maven.build.outputDir}/META-INF"/>
<copy todir="${maven.build.outputDir}/META-INF">
<fileset dir="${maven.build.resourceDir.1}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Test-compilation target -->
<!-- ====================================================================== -->
<target name="compile-tests"
depends="compile"
description="Compile the test code"
unless="maven.test.skip">
<mkdir dir="${maven.build.testOutputDir}"/>
<javac destdir="${maven.build.testOutputDir}"
encoding="UTF-8"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.testDir.0}"/>
</src>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
</classpath>
</javac>
<copy todir="${maven.build.testOutputDir}">
<fileset dir="${maven.build.testResourceDir.0}"/>
</copy>
<mkdir dir="${maven.build.testOutputDir}/META-INF"/>
<copy todir="${maven.build.testOutputDir}/META-INF">
<fileset dir="${maven.build.testResourceDir.1}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Run all tests -->
<!-- ====================================================================== -->
<target name="test"
depends="compile-tests, junit-missing"
unless="junit.skipped"
description="Run the test cases">
<mkdir dir="${maven.test.reports}"/>
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
<sysproperty key="basedir" value="."/>
<formatter type="xml"/>
<formatter type="plain" usefile="false"/>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
<pathelement location="${maven.build.testOutputDir}"/>
</classpath>
<batchtest todir="${maven.test.reports}" unless="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/Test*.java"/>
<include name="**/*Test.java"/>
<include name="**/*TestCase.java"/>
<exclude name="org/apache/commons/mail/mocks/*"/>
<exclude name="org/apache/commons/mail/settings/*"/>
<exclude name="**/Abstract*Test.java"/>
</fileset>
</batchtest>
<batchtest todir="${maven.test.reports}" if="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/${test}.java"/>
<exclude name="org/apache/commons/mail/mocks/*"/>
<exclude name="org/apache/commons/mail/settings/*"/>
<exclude name="**/Abstract*Test.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="test-junit-present">
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
</target>
<target name="test-junit-status"
depends="test-junit-present">
<condition property="junit.missing">
<and>
<isfalse value="${junit.present}"/>
<isfalse value="${maven.test.skip}"/>
</and>
</condition>
<condition property="junit.skipped">
<or>
<isfalse value="${junit.present}"/>
<istrue value="${maven.test.skip}"/>
</or>
</condition>
</target>
<target name="junit-missing"
depends="test-junit-status"
if="junit.missing">
<echo>=================================== WARNING ===================================</echo>
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
<echo>===============================================================================</echo>
</target>
<!-- ====================================================================== -->
<!-- Javadoc target -->
<!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${maven.build.srcDir.0}"
packagenames="*"
destdir="${maven.reporting.outputDirectory}/apidocs"
access="protected"
old="false"
verbose="false"
encoding="UTF-8"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
docencoding="UTF-8"
source="1.6"
linksource="true"
breakiterator="false">
<link href="http://docs.oracle.com/javase/7/docs/api/"/>
<link href="http://docs.oracle.com/javaee/6/api/"/>
</javadoc>
</target>
<!-- ====================================================================== -->
<!-- Package target -->
<!-- ====================================================================== -->
<target name="package" depends="compile,test" description="Package the application">
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
compress="true"
index="false"
basedir="${maven.build.outputDir}"
excludes="**/package.html">
<manifest>
<attribute name="Main-Class" value="Main"/>
</manifest>
</jar>
</target>
<!-- ====================================================================== -->
<!-- A dummy target for the package named after the type it creates -->
<!-- ====================================================================== -->
<target name="jar" depends="package" description="Builds the jar for the application"/>
<!-- ====================================================================== -->
<!-- Download dependencies target -->
<!-- ====================================================================== -->
<target name="test-offline">
<condition property="maven.mode.offline">
<equals arg1="${maven.settings.offline}" arg2="true"/>
</condition>
</target>
</project>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST commons-graph-0.1.tar.gz 96009 BLAKE2B 0914bebc5e4748a619396a5abc78c78edfce95d5c475d988185ea9d1735d57145a27b9139e91628e06c28c9adbb174945f1db9f21a605cb4dea305aae2064eaa SHA512 7214fd60eb348a7feee9c194f562e5a7cf1f211ba589d2a85eaae52ed3ced7089842405dfbd99413b1f06f87ea1a19d244989daa1e0f6fb857fa752647d52b16

@ -1,47 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A toolkit for managing graphs and graph based data structures"
HOMEPAGE="https://commons.apache.org/sandbox/commons-graph/"
SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=virtual/jdk-1.6
test? (
dev-java/ant-junit:0
)"
RDEPEND=">=virtual/jre-1.6
${CDEPEND}"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_TEST_TARGET="test"
# Dubious tests.
JAVA_RM_FILES=(
src/test/java/org/apache/commons/graph/coloring/GraphColoringTestCase.java
src/test/java/org/apache/commons/graph/spanning/KruskalTestCase.java
src/test/java/org/apache/commons/graph/scc/TarjanTestCase.java
)
java_prepare() {
cp "${FILESDIR}"/"${P}-build.xml" build.xml || die
}
src_test() {
java-pkg-2_src_test
}
src_install() {
java-pkg_newjar target/${P}.jar
use doc && java-pkg_dojavadoc target/site/apidocs
use source && java-pkg_dosrc src/main/java
}

@ -1,258 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== -->
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
<!-- ====================================================================== -->
<!-- ====================================================================== -->
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
<!-- ====================================================================== -->
<!-- -->
<!-- Any modifications will be overwritten. -->
<!-- -->
<!-- Generated by Maven Ant Plugin on 10/6/15 9:24 AM -->
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
<!-- -->
<!-- ====================================================================== -->
<project name="commons-graph-from-maven" default="package" basedir=".">
<!-- ====================================================================== -->
<!-- Build environment properties -->
<!-- ====================================================================== -->
<property file="${user.home}/.m2/maven.properties"/>
<property file="maven-build.properties"/>
<property name="maven.build.finalName" value="commons-graph-0.1"/>
<property name="maven.build.dir" value="target"/>
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
<property name="maven.build.srcDir.0" value="src/main/java"/>
<property name="maven.build.resourceDir.0" value="."/>
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
<property name="maven.build.testDir.0" value="src/test/java"/>
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
<property name="maven.build.testResourceDir.1" value="."/>
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
<property name="maven.settings.offline" value="false"/>
<property name="maven.settings.interactiveMode" value="true"/>
<!-- ====================================================================== -->
<!-- Defining classpaths -->
<!-- ====================================================================== -->
<path id="build.classpath"/>
<path id="build.test.classpath">
<pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/>
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
<pathelement location="${maven.repo.local}/com/carrotsearch/junit-benchmarks/0.3.0/junit-benchmarks-0.3.0-jdk15.jar"/>
<pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar"/>
<pathelement location="${maven.repo.local}/com/h2database/h2/1.3.158/h2-1.3.158.jar"/>
</path>
<!-- ====================================================================== -->
<!-- Cleaning up target -->
<!-- ====================================================================== -->
<target name="clean" description="Clean the output directory">
<delete dir="${maven.build.dir}"/>
</target>
<!-- ====================================================================== -->
<!-- Compilation target -->
<!-- ====================================================================== -->
<target name="compile" description="Compile the code">
<mkdir dir="${maven.build.outputDir}"/>
<javac destdir="${maven.build.outputDir}"
encoding="iso-8859-1"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.srcDir.0}"/>
</src>
<classpath refid="build.classpath"/>
</javac>
<mkdir dir="${maven.build.outputDir}/META-INF"/>
<copy todir="${maven.build.outputDir}/META-INF">
<fileset dir="${maven.build.resourceDir.0}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Test-compilation target -->
<!-- ====================================================================== -->
<target name="compile-tests"
depends="compile"
description="Compile the test code"
unless="maven.test.skip">
<mkdir dir="${maven.build.testOutputDir}"/>
<javac destdir="${maven.build.testOutputDir}"
encoding="iso-8859-1"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
target="1.6"
verbose="false"
fork="false"
source="1.6">
<src>
<pathelement location="${maven.build.testDir.0}"/>
</src>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
</classpath>
</javac>
<mkdir dir="${maven.build.testOutputDir}/META-INF"/>
<copy todir="${maven.build.testOutputDir}/META-INF">
<fileset dir="${maven.build.testResourceDir.1}">
<include name="NOTICE.txt"/>
<include name="LICENSE.txt"/>
</fileset>
</copy>
</target>
<!-- ====================================================================== -->
<!-- Run all tests -->
<!-- ====================================================================== -->
<target name="test"
depends="compile-tests, junit-missing"
unless="junit.skipped"
description="Run the test cases">
<mkdir dir="${maven.test.reports}"/>
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
<sysproperty key="basedir" value="."/>
<formatter type="xml"/>
<formatter type="plain" usefile="false"/>
<classpath>
<path refid="build.test.classpath"/>
<pathelement location="${maven.build.outputDir}"/>
<pathelement location="${maven.build.testOutputDir}"/>
</classpath>
<batchtest todir="${maven.test.reports}" unless="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/Test*.java"/>
<include name="**/*Test.java"/>
<include name="**/*TestCase.java"/>
<exclude name="**/*Abstract*Test.java"/>
<exclude name="**/TestRunner.java"/>
</fileset>
</batchtest>
<batchtest todir="${maven.test.reports}" if="test">
<fileset dir="${maven.build.testDir.0}">
<include name="**/${test}.java"/>
<exclude name="**/*Abstract*Test.java"/>
</fileset>
</batchtest>
</junit>
</target>
<target name="test-junit-present">
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
</target>
<target name="test-junit-status"
depends="test-junit-present">
<condition property="junit.missing">
<and>
<isfalse value="${junit.present}"/>
<isfalse value="${maven.test.skip}"/>
</and>
</condition>
<condition property="junit.skipped">
<or>
<isfalse value="${junit.present}"/>
<istrue value="${maven.test.skip}"/>
</or>
</condition>
</target>
<target name="junit-missing"
depends="test-junit-status"
if="junit.missing">
<echo>=================================== WARNING ===================================</echo>
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
<echo>===============================================================================</echo>
</target>
<!-- ====================================================================== -->
<!-- Javadoc target -->
<!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc sourcepath="${maven.build.srcDir.0}"
packagenames="*"
destdir="${maven.reporting.outputDirectory}/apidocs"
access="protected"
old="false"
verbose="false"
encoding="iso-8859-1"
version="true"
use="true"
author="true"
splitindex="false"
nodeprecated="false"
nodeprecatedlist="false"
notree="false"
noindex="false"
nohelp="false"
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
source="1.6"
linksource="true"
breakiterator="false">
<link href="http://download.oracle.com/javase/6/docs/api/"/>
<link href="http://download.oracle.com/javaee/6/api/"/>
</javadoc>
</target>
<!-- ====================================================================== -->
<!-- Package target -->
<!-- ====================================================================== -->
<target name="package" depends="compile,test" description="Package the application">
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
compress="true"
index="false"
basedir="${maven.build.outputDir}"
excludes="**/package.html">
<manifest>
<attribute name="Main-Class" value="Main"/>
</manifest>
</jar>
</target>
<!-- ====================================================================== -->
<!-- A dummy target for the package named after the type it creates -->
<!-- ====================================================================== -->
<target name="jar" depends="package" description="Builds the jar for the application"/>
<!-- ====================================================================== -->
<!-- Download dependencies target -->
<!-- ====================================================================== -->
<target name="test-offline">
<condition property="maven.mode.offline">
<equals arg1="${maven.settings.offline}" arg2="true"/>
</condition>
</target>
</project>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST commons-launcher-1.1-src.tar.gz 76558 BLAKE2B 23ec27e5ed7d9ab7770da62aa1af69ce8510c67ee5e4f756519a9bc2009c40525b5fa48a1caa8ce5b6062d57dedd469b190cfa7ca9a4ed5a5a72eade40947aed SHA512 87f275ea1dbd08394c173da21023cb761175ff222fbe0ed6553fa6ca34eef775b57561227279216082556a8dd37593c9699a3e0c059bf3da98dbd2f1d3f58ddd

@ -1,43 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="examples doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Java library to launch Java classes"
HOMEPAGE="http://commons.apache.org/launcher/"
SRC_URI="mirror://apache/${PN%%-*}/${PN##*-}/source/${P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86"
IUSE=""
CDEPEND="dev-java/ant-core:0"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.6
source? ( app-arch/zip )"
S="${WORKDIR}/${PN}"
JAVA_GENTOO_CLASSPATH="ant-core"
JAVA_SRC_DIR="src"
java_prepare() {
java-pkg_clean
}
src_install() {
java-pkg-simple_src_install
use examples && java-pkg_doexamples example
}

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST commons-primitives-1.0.tar.gz 172369 BLAKE2B b3641bc163b250997db9897b43af3ab7a1e15eaf34420e92429e321eca43c69bcb094f4b11e9789236d6e24f9c83a5674ad68a33c863fbac12dd72526bfbf4ba SHA512 239752a615f3a88049d6c85326a67462362869eda421ab76975c0906d811c970c871042769d851a4341c8a06b501d6b12fd1feba74d83007b2dd73370c5b3195

@ -1,32 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="The Jakarta-Commons Primitives Component"
HOMEPAGE="http://commons.apache.org/primitives/"
SRC_URI="https://www.apache.org/dist/commons/primitives/source/${P}-src.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
>=virtual/jre-1.6"
DEPEND="
>=virtual/jdk-1.6
source? ( app-arch/zip )"
S="${WORKDIR}/${P}"
JAVA_SRC_DIR="src"
java_prepare() {
rm -rv src/test || die
}

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription>
Apache Jakarta Commons Primitives provides a collection of types and
utilities optimized for working with Java primitives (boolean, byte,
char, double, float, int, long, short). Generally, the
Commons-Primitives classes are smaller, faster and easier to work with
than their purely Object based alternatives.
</longdescription>
</pkgmetadata>

@ -1 +0,0 @@
DIST constantine-0.7.tar.gz 65563 BLAKE2B 25298a086d05955e5ffaebc705ecf704cb856f6d08740c45618ebb721b2c6344f2be079bf2a4411161ff67584b92454162657adf6e3539474d0dc4500f85dfaf SHA512 2694caae29bae1a3e1d765ac02c4014bc6fd3dac8370feb5d12f43119c057fc2a2e75b0aa37eec0164bf8a82a1bafb0f41565f397b956ae53a52f7cb803508c7

@ -1,38 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Provides Java values for common platform C constants"
HOMEPAGE="https://github.com/wmeissner/jnr-constants"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6
test? (
dev-java/ant-junit:0
)"
src_compile() {
# ecj doesn't like some cast for some reason
java-pkg_force-compiler javac
java-pkg-2_src_compile
}
src_test() {
ANT_TASKS="ant-junit4" eant test -Dlibs.junit_4.classpath="$(java-pkg_getjars --with-dependencies junit-4)"
}
src_install() {
java-pkg_dojar dist/${PN}.jar
use source && java-pkg_dosrc src/*
}

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="github">wmeissner/jnr-constants</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST disruptor-3.2.0-sources.jar 74768 BLAKE2B 3da42b173576bd21d39ad2d22ce04475d1a9bf2133311eafb8e64faf2b6f3708d9a791e7c386b17bcb35c9551982cc30000eb069ae47edde030f662d6c90faec SHA512 9ad2ba752860d68e3a08c46910cd96c2d43a24860cda1fe9f58f86e3de57a90c2abded43a8457a2751a9199fabe40370bbd9ccef0e982913ae8d2127a92e6b2e

@ -1,20 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="High Performance Inter-Thread Messaging Library"
HOMEPAGE="http://lmax-exchange.github.io/disruptor/"
SRC_URI="http://repo1.maven.org/maven2/com/lmax/${PN}/${PV}/${P}-sources.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6"

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="github">LMAX-Exchange/disruptor</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST dynalang-mop-0.4.tgz 227338 BLAKE2B 91b3316c1c96722d9cc08ecc3894b539626171f7476001ced9972eaec6e49375cc0b283f0fedc1e93624162bde4be85858bef504f5191b6051472f60bf443fb5 SHA512 b7501fbc44ae29e10cf3eb55002420d88d83226f790861f43f59aaddc0cd1bd5021fed207d831d5c3adb14ceab01dc17ff53cd31cb6a93c0fc00240b8e3e9797

@ -1,65 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
JAVA_PKG_BSFIX="off"
inherit java-pkg-2 java-ant-2
MY_P="${PN}-mop-${PV}"
DESCRIPTION="Library of interoperable metaobject protocols for dynamic languages"
HOMEPAGE="https://sourceforge.net/projects/dynalang/"
SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}.tgz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6
test? (
dev-java/emma:0
dev-java/junit:0
dev-java/ant-junit:0
)"
S="${WORKDIR}/${MY_P}"
# This one test fails.
JAVA_RM_FILES=(
testsrc/org/dynalang/mop/impl/test/TestStandardMetaobjectProtocolFactory.java
)
java_prepare() {
cp "${FILESDIR}/build.xml" build.xml || die
find . -iname '*.jar' -delete
sed -i -e '/ivy:retrieve/d' build.xml || die
sed -i -e 's_\.\./ivy_ivy_' build.xml || die
sed -i -e \
's/clazz.getConstructors/(Constructor<T>[])clazz.getConstructors/' \
src/org/dynalang/mop/beans/BeanMetaobjectProtocol.java || die
mkdir -p build/lib/test
}
EANT_DOC_TARGET="doc"
src_test() {
java-pkg_jar-from --into build/lib/test emma,junit
ANT_TASKS="ant-junit" eant test
}
src_install() {
java-pkg_newjar "build/${MY_P}.jar"
use doc && java-pkg_dojavadoc build/doc/javadoc
use source && java-pkg_dosrc src/org
}

@ -1,179 +0,0 @@
<project name="org.dynalang.mop" basedir=".">
<!--
Copyright 2007 Attila Szegedi
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<property name="project.name" value="JVM Dynamic Languages Metaobject Protocol"/>
<property name="artifact.name" value="dynalang-mop"/>
<property name="revision" value="0.4"/>
<property name="build.dir" location="build"/>
<target name="clean">
<mkdir dir="${build.dir}"/>
<delete dir="${build.dir}"/>
</target>
<target name="resolve">
</target>
<path id="compile.classpath">
<fileset dir="build/lib/default"/>
</path>
<target name="compile" depends="resolve">
<mkdir dir="build/lib/default"/>
<property name="classes.dir" location="${build.dir}/classes"/>
<mkdir dir="${classes.dir}"/>
<javac srcdir="src" destdir="${classes.dir}" deprecation="off"
debug="on" optimize="off" target="1.5" source="1.5"
classpathref="compile.classpath"/>
<copy toDir="${classes.dir}">
<fileset dir="src"
excludes="**/CVS/**,**/*.bak,**/*.java,**/*.jj,**/package.html,overview.html"/>
</copy>
</target>
<target name="jar" depends="compile">
<property name="jarfile" location="build/${artifact.name}-${revision}.jar"/>
<jar destfile="${jarfile}" basedir="${classes.dir}">
<manifest>
<attribute name="Implementation-Vendor" value="Attila Szegedi"/>
<attribute name="Implementation-Version" value="${revision}"/>
<attribute name="Implementation-Title" value="${project.name}"/>
<attribute name="Implementation-URL" value="http://sourceforge.net/projects/dynalang"/>
</manifest>
</jar>
</target>
<target depends="" name="doc">
<mkdir dir="${build.dir}/doc/javadoc"/>
<delete includeEmptyDirs="yes">
<fileset dir="${build.dir}/doc/javadoc" includes="**/*" />
</delete>
<javadoc author="true"
destdir="${build.dir}/doc/javadoc"
doctitle="${project.name} ${revision}"
packagenames="org.dynalang.*"
sourcepath="src"
version="true"
windowtitle="${project.name} ${revision} API"
overview="src/overview.html"
use="true">
</javadoc>
<copy todir="${build.dir}/doc">
<fileset dir="src/doc" includes="**/*"/>
</copy>
</target>
<target name="coverage-instrument" depends="compile">
<property name="coverage.dir" location="${build.dir}/coverage"/>
<property name="coverage.classes.dir" location="${build.dir}/coverage/classes"/>
<mkdir dir="${coverage.classes.dir}"/>
<path id="emma.lib">
<pathelement location="build/lib/test/emma.jar" />
<pathelement location="build/lib/test/emma_ant.jar" />
</path>
<taskdef resource="emma_ant.properties" classpathref="emma.lib" />
<property name="coverage.instrumentationfile" location="${coverage.dir}/instrumentation"/>
<emma enabled="true">
<instr
instrpath="${classes.dir}" outdir="${coverage.classes.dir}"
outfile="${coverage.instrumentationfile}" mode="copy"/>
</emma>
<copy todir="${coverage.classes.dir}">
<fileset dir="src" excludes="**/*.java"/>
</copy>
<copy todir="${coverage.classes.dir}">
<fileset dir="${classes.dir}"/>
</copy>
<property name="coverage.outfile" location="${coverage.dir}/coverage"/>
</target>
<target name="test-compile" depends="compile">
<property name="test.classes.dir" location="${build.dir}/test/classes"/>
<mkdir dir="${test.classes.dir}"/>
<javac srcdir="testsrc" destdir="${test.classes.dir}" deprecation="off"
debug="on" optimize="off" target="1.5" source="1.5">
<classpath>
<pathelement path="${classes.dir}" />
<pathelement path="build/lib/test/junit.jar" />
</classpath>
</javac>
<copy toDir="${test.classes.dir}">
<fileset dir="testsrc"
excludes="**/CVS/**,**/*.bak,**/*.java,**/*.jj,**/package.html"/>
</copy>
</target>
<target name="test-run" depends="test-compile, coverage-instrument">
<junit printsummary="on" fork="true" forkmode="once"
showoutput="true" haltonerror="true" haltonfailure="true">
<sysproperty key="emma.coverage.out.file" value="${coverage.outfile}"/>
<classpath>
<pathelement path="${coverage.classes.dir}" />
<pathelement path="${test.classes.dir}" />
<pathelement path="build/lib/test/emma.jar"/>
<pathelement path="build/lib/test/junit.jar"/>
</classpath>
<batchtest todir="build/test">
<fileset dir="${test.classes.dir}" includes="**/Test*.class"/>
</batchtest>
<formatter type="plain" usefile="false" />
<formatter type="xml"/>
</junit>
<mkdir dir="build/test/report"/>
<junitreport todir="build/test">
<fileset dir="build/test" includes="TEST-*.xml"/>
<report todir="build/test/report"/>
</junitreport>
</target>
<target name="test" depends="test-run">
<property name="coverage.report.dir" location="${build.dir}/coverage/report"/>
<mkdir dir="${coverage.report.dir}"/>
<delete dir="${coverage.report.dir}"/>
<mkdir dir="${coverage.report.dir}"/>
<emma enabled="true">
<report>
<fileset dir="${basedir}">
<include name="build/coverage/instrumentation"/>
<include name="build/coverage/coverage"/>
</fileset>
<sourcepath>
<dirset dir="${basedir}">
<include name="src"/>
</dirset>
</sourcepath>
<html outfile="${coverage.report.dir}/index.html"/>
</report>
</emma>
</target>
<target name="dist" depends="clean,test-run,jar,doc">
<mkdir dir="build/${artifact.name}-${revision}"/>
<copy todir="build/${artifact.name}-${revision}">
<fileset dir="." excludes="build/**/*"/>
</copy>
<copy todir="build/${artifact.name}-${revision}">
<fileset dir="."
includes="
build/doc/**/*
build/${artifact.name}-${revision}.jar"
/>
</copy>
<tar destfile="build/${artifact.name}-${revision}.tgz"
compression="gzip" basedir="build"
includes="${artifact.name}-${revision}/**/*"/>
</target>
</project>

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">dynalang</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST ecs-1.4.2-src.tar.gz 3435157 BLAKE2B 97719b74c6bda1cbd785f0045aa7686d61e99ef407e2268071f79586f86002f574e9ebfa14f4ec4f053fbc3aa14099b6fe552387bfe5dcbf4ab653ee73135337 SHA512 b7004f9364a24dd9ec8f963f69279471cc2e39fdc81d1c97dc4881cf65ee16f5f4342129b7bdda12994b69edff23944cb12f5d4b4ec140bf962e3a4f9f4e1bb4

@ -1,42 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Java library to generate markup language text such as HTML and XML"
HOMEPAGE="https://jakarta.apache.org/ecs"
SRC_URI="mirror://apache/jakarta/${PN}/source/${P}-src.tar.gz"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
CDEPEND="
dev-java/xerces:2
dev-java/jakarta-regexp:1.3"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.6"
DEPEND="
${CDEPEND}
source? ( app-arch/zip )
>=virtual/jdk-1.6"
S="${WORKDIR}/${P}-src"
JAVA_ENCODING="ISO8859-1"
JAVA_SRC_DIR="src/java"
JAVA_GENTOO_CLASSPATH="xerces-2,jakarta-regexp-1.3"
java_prepare() {
java-pkg_clean
epatch "${FILESDIR}"/${P}-java7-enum.patch
}

@ -1,217 +0,0 @@
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/ConcreteElement.java b/ecs-1.4.2-src/src/java/org/apache/ecs/ConcreteElement.java
index 1138b28..85e7c42 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/ConcreteElement.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/ConcreteElement.java
@@ -319,11 +319,11 @@ public class ConcreteElement extends ElementAttributes implements Cloneable
if(ce.getTagText() != null)
out.write(ce.getTagText().getBytes(encoding));
- Enumeration enum = ce.registryList.elements();
+ Enumeration enumx = ce.registryList.elements();
- while(enum.hasMoreElements())
+ while(enumx.hasMoreElements())
{
- Object obj = ce.registry.get((String)enum.nextElement());
+ Object obj = ce.registry.get((String)enumx.nextElement());
if(obj instanceof GenericElement)
{
Element e = (Element)obj;
@@ -435,10 +435,10 @@ public class ConcreteElement extends ElementAttributes implements Cloneable
if(getTagText() != null)
out.write(getTagText());
- Enumeration enum = registryList.elements();
- while(enum.hasMoreElements())
+ Enumeration enumx = registryList.elements();
+ while(enumx.hasMoreElements())
{
- Object obj = registry.get((String)enum.nextElement());
+ Object obj = registry.get((String)enumx.nextElement());
if(obj instanceof GenericElement)
{
Element e = (Element)obj;
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/ElementAttributes.java b/ecs-1.4.2-src/src/java/org/apache/ecs/ElementAttributes.java
index 76eeac0..990e92e 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/ElementAttributes.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/ElementAttributes.java
@@ -342,12 +342,12 @@ public abstract class ElementAttributes extends GenericElement implements Attrib
}
out.append(getElementType());
- Enumeration enum = getElementHashEntry().keys();
+ Enumeration enumx = getElementHashEntry().keys();
String value = null; // avoid creating a new string object on each pass through the loop
- while (enum.hasMoreElements())
+ while (enumx.hasMoreElements())
{
- String attr = (String) enum.nextElement();
+ String attr = (String) enumx.nextElement();
if(getAttributeFilterState())
{
value = getAttributeFilter().process(getElementHashEntry().get(attr).toString());
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/filter/RegexpFilter.java b/ecs-1.4.2-src/src/java/org/apache/ecs/filter/RegexpFilter.java
index dcd0db0..effcc0d 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/filter/RegexpFilter.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/filter/RegexpFilter.java
@@ -118,10 +118,10 @@ public class RegexpFilter extends Hashtable implements Filter {
}
String substituteIn = to_process;
- Enumeration enum = keys();
+ Enumeration enumx = keys();
- while (enum.hasMoreElements()) {
- RE r = (RE)enum.nextElement();
+ while (enumx.hasMoreElements()) {
+ RE r = (RE)enumx.nextElement();
String substitution = (String)get(r);
substituteIn = r.subst(substituteIn, substitution);
}
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/html/A.java b/ecs-1.4.2-src/src/java/org/apache/ecs/html/A.java
index 2a30d8d..ac87ae9 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/html/A.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/html/A.java
@@ -462,13 +462,13 @@ public class A extends MultiPartElement implements Printable, FocusEvents, Mouse
*/
public boolean getNeedLineBreak()
{
- java.util.Enumeration enum = elements();
+ java.util.Enumeration enumx = elements();
int i=0;
int j=0;
- while(enum.hasMoreElements())
+ while(enumx.hasMoreElements())
{
j++;
- Object obj = enum.nextElement();
+ Object obj = enumx.nextElement();
if( obj instanceof IMG )
i++;
}
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/html/Select.java b/ecs-1.4.2-src/src/java/org/apache/ecs/html/Select.java
index f8f71c2..a9c1f4a 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/html/Select.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/html/Select.java
@@ -219,10 +219,10 @@ public class Select extends MultiPartElement implements
public Select selectOption(int option)
{
- Enumeration enum = keys();
- for(int x = 0; enum.hasMoreElements(); x++)
+ Enumeration enumx = keys();
+ for(int x = 0; enumx.hasMoreElements(); x++)
{
- ConcreteElement element = (ConcreteElement)getElement((String)enum.nextElement());
+ ConcreteElement element = (ConcreteElement)getElement((String)enumx.nextElement());
if(x == option)
{
((Option)element).setSelected(true);
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/html/TD.java b/ecs-1.4.2-src/src/java/org/apache/ecs/html/TD.java
index 188d5f0..6737648 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/html/TD.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/html/TD.java
@@ -468,13 +468,13 @@ public class TD extends MultiPartElement implements Printable, MouseEvents, KeyE
*/
public boolean getNeedLineBreak()
{
- java.util.Enumeration enum = elements();
+ java.util.Enumeration enumx = elements();
int i=0;
int j=0;
- while(enum.hasMoreElements())
+ while(enumx.hasMoreElements())
{
j++;
- Object obj = enum.nextElement();
+ Object obj = enumx.nextElement();
if( obj instanceof IMG || obj instanceof A )
i++;
}
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/vxml/TestBed2.java b/ecs-1.4.2-src/src/java/org/apache/ecs/vxml/TestBed2.java
index 42d57a7..cd842db 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/vxml/TestBed2.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/vxml/TestBed2.java
@@ -158,12 +158,12 @@ public class TestBed2
Menu menu3 = new Menu("true");
Prompt prompt2 = new Prompt("Welcome Home");
- Enumerate enum = new Enumerate();
- enum.addElement("For ");
- enum.addElement(new Value("_prompt"));
- enum.addElement(", press ");
- enum.addElement(new Value("_dtmf"));
- prompt2.addElement(enum);
+ Enumerate enumx = new Enumerate();
+ enumx.addElement("For ");
+ enumx.addElement(new Value("_prompt"));
+ enumx.addElement(", press ");
+ enumx.addElement(new Value("_dtmf"));
+ prompt2.addElement(enumx);
menu3.addElement(prompt2);
Choice choice1 = new Choice("http://www.sports.example/vxml/start.vxml");
Choice choice2 = new Choice("http://www.weather.example/intro.vxml");
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/a.java b/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/a.java
index 26add7f..1d0425a 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/a.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/a.java
@@ -472,13 +472,13 @@ public class a extends MultiPartElement implements Printable, FocusEvents, Mouse
*/
public boolean getNeedLineBreak()
{
- java.util.Enumeration enum = elements();
+ java.util.Enumeration enumx = elements();
int i=0;
int j=0;
- while(enum.hasMoreElements())
+ while(enumx.hasMoreElements())
{
j++;
- Object obj = enum.nextElement();
+ Object obj = enumx.nextElement();
if( obj instanceof img )
i++;
}
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/td.java b/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/td.java
index 8d96259..6bd4b45 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/td.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/xhtml/td.java
@@ -466,13 +466,13 @@ public class td extends MultiPartElement implements Printable, MouseEvents, KeyE
*/
public boolean getNeedLineBreak()
{
- java.util.Enumeration enum = elements();
+ java.util.Enumeration enumx = elements();
int i=0;
int j=0;
- while(enum.hasMoreElements())
+ while(enumx.hasMoreElements())
{
j++;
- Object obj = enum.nextElement();
+ Object obj = enumx.nextElement();
if( obj instanceof img || obj instanceof a )
i++;
}
diff --git a/ecs-1.4.2-src/src/java/org/apache/ecs/xml/XML.java b/ecs-1.4.2-src/src/java/org/apache/ecs/xml/XML.java
index 1a03349..f6de10c 100644
--- a/ecs-1.4.2-src/src/java/org/apache/ecs/xml/XML.java
+++ b/ecs-1.4.2-src/src/java/org/apache/ecs/xml/XML.java
@@ -193,13 +193,13 @@ public class XML extends MultiPartElement implements Printable
public boolean getNeedLineBreak() {
boolean linebreak = true;
- java.util.Enumeration enum = elements();
+ java.util.Enumeration enumx = elements();
// if this tag has one child, and it's a String, then don't
// do any linebreaks to preserve whitespace
- while (enum.hasMoreElements()) {
- Object obj = enum.nextElement();
+ while (enumx.hasMoreElements()) {
+ Object obj = enumx.nextElement();
if (obj instanceof StringElement) {
linebreak = false;
break;

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST fastutil-7.0.10.zip 518168 BLAKE2B 7941e4b6725a45e7e4f08d6c3c2b44fc5940266d0274ea2c8342747e8078024056c4c39e2d64a2f529599b9780b66f1dbd041f5de4e5fec3879c35fc923702c2 SHA512 9345f509243bf91123b4232b95915ae4d6071b5da17948cf62e993e77e9ed947637f02937ccd98edbfd874db7f98c1858357e21721feb338d97041a7bcc3e558

@ -1,38 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Provides faster type-specific maps, sets and lists with a small memory footprint"
HOMEPAGE="https://github.com/vigna/fastutil"
SRC_URI="https://github.com/vigna/fastutil/archive/${PV}.zip -> ${P}.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86"
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6"
src_compile() {
emake sources
# bug 162650 and #175578
java-pkg_init-compiler_
[[ ${GENTOO_COMPILER} != "javac" ]] && export ANT_OPTS="-Xmx512m"
java-pkg-2_src_compile
}
src_install() {
java-pkg_newjar "${P}.jar"
dodoc CHANGES README.md
use doc && java-pkg_dojavadoc docs
use source && java-pkg_dosrc src/it
}

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="github">vigna/fastutil</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST forehead-1.0_beta5.tbz2 15665 BLAKE2B d127cdc737301003bbf8b471d7ecea66f3f4a66925b446b7fac9b18e20c4e560ec301ed36b8bb6f17ec1e8adfc742b5127042fdf707ce051293b49a99bdad7bd SHA512 1558b0d26a4df210dfd188839e4feb8a8b2369fb514c82f99fdd337cec3520e3555ce7999e2bb11459de4ea04db0820d729c9ebf762fd5bbd91ef56a30c6f0be

@ -1,28 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="A framework to assist in controlling the run-time ClassLoader"
HOMEPAGE="http://forehead.werken.com"
SRC_URI="mirror://gentoo/${P}.tbz2"
LICENSE="Werken-1.1.1.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
>=virtual/jre-1.6"
DEPEND="
>=virtual/jdk-1.6
source? ( app-arch/zip )"
S="${WORKDIR}/${PN}"
JAVA_SRC_DIR="src"

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382

@ -1,34 +0,0 @@
https://github.com/freehep/freehep-vectorgraphics/issues/30
diff -Naur freehep-vectorgraphics-freehep-vectorgraphics-2.4.orig/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java freehep-vectorgraphics-freehep-vectorgraphics-2.4/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java
--- freehep-vectorgraphics-freehep-vectorgraphics-2.4.orig/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java 2014-09-02 09:59:14.000000000 +0100
+++ freehep-vectorgraphics-freehep-vectorgraphics-2.4/freehep-graphicsio-emf/src/main/java/org/freehep/graphicsio/emf/EMFConverter.java 2016-05-25 22:50:41.859734476 +0100
@@ -4,6 +4,7 @@
import org.freehep.graphicsbase.util.export.ExportFileType;
import java.util.List;
+import java.util.Properties;
import java.io.FileInputStream;
import java.io.File;
@@ -64,9 +65,10 @@
destFileName += type.toLowerCase();
}
+ Properties p = new Properties();
+
// TODO there is no possibility to use Constants of base class!
/* create SVG properties
- Properties p = new Properties();
p.put(SVGGraphics2D.EMBED_FONTS, Boolean.toString(false));
p.put(SVGGraphics2D.CLIP, Boolean.toString(true));
p.put(SVGGraphics2D.COMPRESS, Boolean.toString(false));
@@ -82,7 +84,7 @@
new File(destFileName),
emfPanel,
emfPanel,
- null,
+ p,
"Freehep EMF converter");
} catch (Exception e) {
e.printStackTrace();

@ -1,61 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MY_PN="freehep-vectorgraphics"
MY_P="${MY_PN}-${PV}"
JAVA_PKG_IUSE="doc source"
inherit epatch java-pkg-2 java-pkg-simple
DESCRIPTION="High Energy Physics Java library - FreeHEP Enhanced Metafile Format Driver"
HOMEPAGE="http://java.freehep.org/"
SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz"
LICENSE="Apache-2.0 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
CDEPEND="~dev-java/freehep-graphics2d-${PV}:${SLOT}
~dev-java/freehep-graphicsbase-${PV}:${SLOT}
~dev-java/freehep-graphicsio-${PV}:${SLOT}
dev-java/freehep-io:0"
DEPEND="${CDEPEND}
>=virtual/jdk-1.7
test? (
~dev-java/freehep-graphicsio-tests-${PV}:${SLOT}
dev-java/junit:4
)"
RDEPEND="${CDEPEND}
>=virtual/jre-1.7"
S="${WORKDIR}/${MY_PN}-${MY_P}/${PN}"
JAVA_SRC_DIR="src/main/java"
JAVA_GENTOO_CLASSPATH="freehep-graphics2d,freehep-graphicsbase,freehep-graphicsio,freehep-io"
java_prepare() {
epatch "${FILESDIR}"/github-30.patch
}
src_compile() {
java-pkg-simple_src_compile
java-pkg_addres ${PN}.jar src/main/resources
}
src_install() {
java-pkg-simple_src_install
java-pkg_register-optional-dependency freehep-graphicsio-svg
java-pkg_dolauncher emf2svg --main org.freehep.graphicsio.emf.EMF2SVG
}
src_test() {
local DIR=src/test/java
local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,freehep-graphicsio-tests,${JAVA_GENTOO_CLASSPATH})"
ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
ejunit4 -classpath "${CP}" org.freehep.graphicsio.emf.test.EMFTestSuite
}

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="github">freehep/freehep-vectorgraphics</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382

@ -1,51 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MY_PN="freehep-vectorgraphics"
MY_P="${MY_PN}-${PV}"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="High Energy Physics Java library - FreeHEP Scalable Vector Graphics Driver"
HOMEPAGE="http://java.freehep.org/"
SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz"
LICENSE="Apache-2.0 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
CDEPEND="~dev-java/freehep-graphics2d-${PV}:${SLOT}
~dev-java/freehep-graphicsbase-${PV}:${SLOT}
~dev-java/freehep-graphicsio-${PV}:${SLOT}
dev-java/freehep-io:0"
DEPEND="${CDEPEND}
>=virtual/jdk-1.7
test? (
~dev-java/freehep-graphicsio-tests-${PV}:${SLOT}
dev-java/junit:4
)"
RDEPEND="${CDEPEND}
>=virtual/jre-1.7"
S="${WORKDIR}/${MY_PN}-${MY_P}/${PN}"
JAVA_SRC_DIR="src/main/java"
JAVA_GENTOO_CLASSPATH="freehep-graphics2d,freehep-graphicsbase,freehep-graphicsio,freehep-io"
src_compile() {
java-pkg-simple_src_compile
java-pkg_addres ${PN}.jar src/main/resources
}
src_test() {
local DIR=src/test/java
local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,freehep-graphicsio-tests,${JAVA_GENTOO_CLASSPATH})"
ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
ejunit4 -classpath "${CP}" org.freehep.graphicsio.svg.test.SVGTestSuite
}

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<upstream>
<remote-id type="github">freehep/freehep-vectorgraphics</remote-id>
</upstream>
</pkgmetadata>

@ -1 +0,0 @@
DIST geoip-java-1.3.0.zip 138673 BLAKE2B f61c42bad846684a4bfb9952d5b573f1d65aff5b0e7cd2ce0b53c946aecc567cab34d7f171f16b6d531cdc5a6b059747dbd02368d534f31b4894d28433b14938 SHA512 3925a94072a97dac732f4a77f4f141e1484c630b2122b4322cb487c209adbbb30936b782579943c1c766b43ef4ad0db3e264c738ad777656706272ca53ccf85b

@ -1,43 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
JAVA_PKG_IUSE="source doc examples"
inherit java-pkg-2 java-pkg-simple
MY_PN="geoip-api-java"
DESCRIPTION="Java library for lookup countries by IP addresses"
HOMEPAGE="https://github.com/maxmind"
SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6"
S="${WORKDIR}/${MY_PN}-${PV}"
JAVA_SRC_DIR="src"
java_prepare() {
rm -rv src/test || die
}
src_install() {
java-pkg-simple_src_install
dodoc README.md Changes.md
use examples && java-pkg_doexamples examples/*
}
pkg_postinst() {
einfo "Country and City data files can be downloaded here:"
einfo " http://www.maxmind.com/app/geolitecountry"
einfo " http://www.maxmind.com/app/geolitecity"
}

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">maxmind/geoip-api-java</remote-id>
</upstream>
<maintainer type="person">
<email>monsieurp@gentoo.org</email>
<name>Patrice Clement</name>
</maintainer>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
</pkgmetadata>

@ -1 +0,0 @@
DIST glassfish-deployment-api-3.1.1.jar 86511 BLAKE2B 1224261aa87beed9428926409b114b732f24426c2b85c7374d28ebef0a8813cb41fc831f43757b9a007c5c5833444396cb29a784395b476af64de7c1316ce0e3 SHA512 9325d44da2258c84b879360fe92314b49c0b3ca7be2dd3b9016bf884e79ed66f9bf3fcec2b99a7b8baf3847e5d15376d10e3013bd4dd0f0cfaaf7859fa83a6ba

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save