summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValérian Rousset <tharvik@users.noreply.github.com>2019-10-01 23:37:48 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-11-13 07:46:58 +0200
commit248df639abe036a96ffe0c594c9d325489d4720f (patch)
tree613b96e40327b7e4b7fe05a674f8ccb777a5ed66 /net-libs/nativebiginteger
parentnet-libs/nativebiginteger: bump to 0.9.42 (diff)
downloadgentoo-248df639abe036a96ffe0c594c9d325489d4720f.tar.gz
gentoo-248df639abe036a96ffe0c594c9d325489d4720f.tar.bz2
gentoo-248df639abe036a96ffe0c594c9d325489d4720f.zip
net-libs/nativebiginteger: drop olds
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Valérian Rousset <tharvik@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/12785 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-libs/nativebiginteger')
-rw-r--r--net-libs/nativebiginteger/Manifest1
-rw-r--r--net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild67
-rw-r--r--net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild74
3 files changed, 0 insertions, 142 deletions
diff --git a/net-libs/nativebiginteger/Manifest b/net-libs/nativebiginteger/Manifest
index 195305a55c47..27eb59d92ee2 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.8.7.tar.bz2 18473515 BLAKE2B 9f79cd2e69f26ba0fadc24b6cad0ff43301c65fd640313688687895de908c6a0c6fd9d1be6c82a6d7478cd4ecf633ce3b8fd4d200cce644512a7b4fa275a0927 SHA512 32b4eb4bf8bc7d6bb692b3ecd6b0a34c4d3d7c94b0d09a4ff330151979ccdaca9a6c88fef9b7e7965a1bba8ef54dbb710d89e0bb19265ee177ce547ff50ca969
DIST i2psource_0.9.36.tar.bz2 29856168 BLAKE2B 0f10101b874bf6fc8415f10b08282947962a6fb8c3eaefde67d3f250d65a159551c24038625aa6712e88b368ccae38d136314025ac19fcb9dd9145251283b357 SHA512 e9023cae1c7dbdd92c9c4823497dfa8497cee3683de1232deddbdc548ba08edefe218bd81e00e952d8a95037c32de8359daaf43c2d5f25c75aba65554d2d47b4
DIST i2psource_0.9.42.tar.bz2 31523717 BLAKE2B 7f110f282a91fa0de700bfaee95968bb534f6f2c7d097c2d70fc9e6bda3ac583762b6b974b38b5947b15a77f91a8d595c957b35838456280236cd88c25d3d47b SHA512 bf8d83c1b1607f5ecf16d33d16cc760eb982d65ef0f89ebd5c61208a38a23f08f465e04889b8ef1d05df4d02a095d85a80077a5b10253d96023f056d01efacef
diff --git a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
deleted file mode 100644
index 243ce87fb2a1..000000000000
--- a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs multilib java-pkg-2
-
-DESCRIPTION="jbigi JNI library for net.i2p.util.NativeBigInteger java-class from I2P"
-HOMEPAGE="http://www.i2p2.de"
-SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2"
-
-LICENSE="|| ( public-domain BSD MIT )"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="test"
-
-DEPEND="${RDEPEND}
- >=virtual/jdk-1.5"
-RDEPEND="dev-libs/gmp"
-
-S=${WORKDIR}/i2p-${PV}/core/
-
-src_prepare() {
- epatch "${FILESDIR}/${P}"-build-system.patch \
- "${FILESDIR}/${P}"-jcpuid-build-system.patch \
- "${FILESDIR}/${P}"-debug-all.patch \
- "${FILESDIR}/${P}"-non-android-warnings.patch \
- "${FILESDIR}/${P}"-asmfix.patch
-}
-
-src_compile() {
- tc-export CC
-
- cd c/jbigi/jbigi/src || die
- ../../build_jbigi.sh dynamic || die
-
- if use test ; then
- einfo "Building tests ..."
- cd "${S}"java/src || die
- ejavac net/i2p/util/NativeBigInteger.java || die
- eend $?
- fi
- if ( use amd64 || use x86 ) ; then
- cd "${S}"c/jcpuid
- ./build.sh || die
- fi
-}
-
-src_test() {
- cd java/src || die
- java -Djava.library.path="${S}"/c/jbigi/jbigi/src net/i2p/util/NativeBigInteger || die
-}
-
-src_install() {
- local os arch
-
- dolib c/jbigi/jbigi/src/libjbigi.so
- ( use amd64 || use x86 ) && dolib c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-x86-linux.so
-
- ## The following is needed for compatibility with earlier versions of NativeBigInteger ##
-
- # arch list found by "none" + grep 'JBIGI_OPTIMIZATION_.*=' core/java/src/net/i2p/util/NativeBigInteger.java
- for arch in none arm k6 k62 k63 athlon x86_64 x86_64_32 pentium pentiummmx pentium2 pentium3 pentium4 ppc ; do
- dosym libjbigi.so /usr/$(get_libdir)/libjbigi-linux-$arch.so
- done
-}
diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
deleted file mode 100644
index 6e2963035dd2..000000000000
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils toolchain-funcs multilib java-pkg-opt-2
-
-DESCRIPTION="jbigi JNI library for net.i2p.util.NativeBigInteger java-class from I2P"
-HOMEPAGE="http://www.i2p2.de"
-SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2"
-
-LICENSE="|| ( public-domain BSD MIT )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="test"
-
-RDEPEND="dev-libs/gmp:0="
-DEPEND="
- ${RDEPEND}
- test? ( >=virtual/jdk-1.7 )"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-PATCHES=(
- "${FILESDIR}/${P}"-asmfix.patch
-)
-
-QA_PRESTRIPPED="usr/lib64/libjcpuid.so"
-
-QA_SONAME="usr/lib64/libjcpuid.so"
-
-pkg_setup() {
- if use test; then
- java-pkg-opt-2_pkg_setup
- export JAVA_HOME=$(java-config -O)
- fi
-}
-
-src_compile() {
- tc-export CC
-
- cd c/jbigi/jbigi/src &&
- ../../build_jbigi.sh dynamic ||
- die 'unable to build jbigi'
-
- if use test; then
- cd "${S}/java/src" &&
- ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
- die 'unable to build tests'
- fi
-
- if ( use amd64 || use x86 ); then
- cd "${S}/c/jcpuid" &&
- ./build.sh ||
- die 'unable to build jcpuid'
- fi
-}
-
-src_test() {
- cd java/src &&
- $(java-config -J) -Djava.library.path="${S}/c/jbigi/jbigi/src" net/i2p/util/NativeBigInteger ||
- die 'unable to pass tests'
-}
-
-src_install() {
- dolib c/jbigi/jbigi/src/libjbigi.so
-
- if ( use amd64 || use x86 ); then
- newlib.so \
- "c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-$(tc-arch)-linux.so" \
- libjcpuid.so
- fi
-}