Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/
Date: Fri, 16 Jul 2021 01:35:01
Message-Id: 1626399207.fd08d14ff07663f6cc129545bf9b859ae5074f89.sam@gentoo
1 commit: fd08d14ff07663f6cc129545bf9b859ae5074f89
2 Author: Valérian Rousset <tharvik <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Wed Jul 14 23:25:17 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 01:33:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd08d14f
7
8 net-libs/nativebiginteger: drop 0.9.47
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Valérian Rousset <tharvik <AT> users.noreply.github.com>
12 Closes: https://github.com/gentoo/gentoo/pull/21648
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-libs/nativebiginteger/Manifest | 1 -
16 .../nativebiginteger-0.9.47.ebuild | 71 ----------------------
17 2 files changed, 72 deletions(-)
18
19 diff --git a/net-libs/nativebiginteger/Manifest b/net-libs/nativebiginteger/Manifest
20 index 9ffc0ce9ec8..3e6a65c8c9e 100644
21 --- a/net-libs/nativebiginteger/Manifest
22 +++ b/net-libs/nativebiginteger/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST i2psource_0.9.47.tar.bz2 32488438 BLAKE2B e1544475dad526e242570918c1bb967a4b713567e71201e08b73c8995743a68396b5951f477bfe8830927c0cdf7e991a25a1978d4aaf88cae3e4218ba57a8818 SHA512 7fdd9ab0b3e81aa89e73be6fa172d723c2b5a67365116a1e0e0ec948067fe4f58e3ad946a0ef4605602c0d803b98e37b2d5692a39a14cf7433d546ada204cbc9
25 DIST i2psource_0.9.48.tar.bz2 33029295 BLAKE2B 8210018610d3dd8272d3c136f32048ede9446c517971be97d6588c6a1a592e9db2261077da3634fa29af28ecdb488427dd1145a731b130b75f41c3c56a8c8779 SHA512 ddfbc8f86bc2fd4012e14732493d30e292af1603d74b1f786a0ecc56a1373301ec9b3fd16fe2e37777f953053291b8efdb5510959fcf1e42d7e5f8ec87d85a8a
26 DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82 SHA512 2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec
27
28 diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild
29 deleted file mode 100644
30 index e0d376b7aa6..00000000000
31 --- a/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild
32 +++ /dev/null
33 @@ -1,71 +0,0 @@
34 -# Copyright 2018-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit java-pkg-2 toolchain-funcs
40 -
41 -DESCRIPTION="jbigi library used by net-vpn/i2p"
42 -HOMEPAGE="https://geti2p.net"
43 -SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2"
44 -
45 -LICENSE="public-domain"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="test"
49 -RESTRICT="!test? ( test )"
50 -
51 -DEPEND="
52 - dev-libs/gmp:0=
53 - virtual/jdk:1.8
54 -"
55 -RDEPEND="${DEPEND}"
56 -
57 -S="${WORKDIR}/i2p-${PV}/core"
58 -
59 -PATCHES=(
60 - "${FILESDIR}/${P}-asmfix.patch"
61 -)
62 -
63 -src_compile() {
64 - local compile_lib
65 - compile_lib() {
66 - local name="${1}"
67 - local file="${2}"
68 - shift 2
69 -
70 - "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
71 - ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
72 - "${file}" -o "lib${name}.so"
73 - }
74 -
75 - cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
76 - compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
77 - die "unable to build jbigi"
78 -
79 - if use amd64 || use x86; then
80 - cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
81 - compile_lib jcpuid src/jcpuid.c -Iinclude ||
82 - die "unable to build jcpuid"
83 - fi
84 -
85 - if use test; then
86 - cd "${S}/java/src" || die "unable to cd to java/src"
87 - ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
88 - die "unable to build tests"
89 - fi
90 -}
91 -
92 -src_test() {
93 - cd "${S}/java/src" || die "unable to cd to java/src"
94 - "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" net/i2p/util/NativeBigInteger ||
95 - die "unable to pass tests"
96 -}
97 -
98 -src_install() {
99 - dolib.so c/jbigi/jbigi/libjbigi.so
100 -
101 - if use amd64 || use x86; then
102 - dolib.so c/jcpuid/libjcpuid.so
103 - fi
104 -}