commit:     256190dfeede8638cd4d261d643cce92e80efe72
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 23:38:37 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 23:38:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=256190df

dev-libs/libsecp256k1: cleanup old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libsecp256k1/Manifest                     |  3 -
 .../libsecp256k1-0.0.0_pre20151118.ebuild          | 62 -------------------
 .../libsecp256k1-0.0.0_pre20161213.ebuild          | 70 ---------------------
 .../libsecp256k1-0.1_pre20170928.ebuild            | 71 ----------------------
 dev-libs/libsecp256k1/metadata.xml                 |  1 -
 5 files changed, 207 deletions(-)

diff --git a/dev-libs/libsecp256k1/Manifest b/dev-libs/libsecp256k1/Manifest
index 1562739aca4..a782dfc4d6f 100644
--- a/dev-libs/libsecp256k1/Manifest
+++ b/dev-libs/libsecp256k1/Manifest
@@ -1,4 +1 @@
-DIST libsecp256k1-v0.0.0_pre20161213.tgz 147557 BLAKE2B 
078cb90c078722e2eb3b5645f9692d737c99ebfe04db5a96dcfb57bb750b31c009cd3ae46f793bb1789239be9689f6e695a5b03477eecea84f2c657d0cc7442c
 SHA512 
f4d16fae972364fd04bfcfbaca1edde4410a7367a936f76c1e93b85ac3c9c45da58785f604a4fc14cdfb4d7a23395d2d274957ad83118e15a236dfff0d0f57dd
-DIST libsecp256k1-v0.1_pre20170928.tgz 150935 BLAKE2B 
f8b3408a33f36186c07cf931a8183a7a241e6418a846f4c3b248cf87e7a8b33a5a92368aa30310efadb066792eebead7fb48b4f4d902e7c8e9b4209717d7b8c0
 SHA512 
f480c76ba04b3d731c65227e156eb726b27da92f5dcfbd9b0a34c62e97f9b6dfd5c3fae3180b59244d0c9845fdf624b05f29e097f3ac0032ab15cebc4bf00660
 DIST libsecp256k1-v0.1_pre20190401.tgz 166663 BLAKE2B 
68c9fc3fda6af56452f32edeae5dcb5a92f68bc3fb39a397c532951c6392347df14ea0347bbe05cab43158512e0d9f5ea87bd8f69bece1b04440860ebb8065ee
 SHA512 
8c4945e93cb5ff241482ba4426b25162a7ae3b26860edc10c91d06b1c396887202ad971f4d38e035828352531b87fc29087a12b675e43da44f23c9ea3b6c0cc8
-DIST secp256k1-v0.0.0_pre20151118.tgz 125884 BLAKE2B 
7a4fc950006138d04d8d3da35db24be0c568e25202c16f34f94555fde1297fba839fd114a003b5510693de3386de22166c6f1294726fe381ae5b565cb9866a75
 SHA512 
3cc0a4973acf7936a7c6dc0abc37ee43ecd69e835069ed40765595d36ca597b43837b5d6f90499455599de03abfc775d7c9d019d26216b79b03dd6dc53a73e19

diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild 
b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
deleted file mode 100644
index af6109a499d..00000000000
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils ltprune
-
-MyPN=secp256k1
-DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
-HOMEPAGE="https://github.com/bitcoin/secp256k1";
-COMMITHASH="6c527eceee7f5105c33c98dfae24ffeffd71f7cf"
-SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> 
${MyPN}-v${PV}.tgz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~mips ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE="+asm doc ecdh endomorphism experimental gmp libressl +recovery schnorr 
test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
-       asm? ( amd64 )
-       ecdh? ( experimental )
-       schnorr? ( experimental )
-"
-RDEPEND="
-       gmp? ( dev-libs/gmp:0= )
-"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       test? (
-               !libressl? ( dev-libs/openssl:0= )
-               libressl? ( dev-libs/libressl:0= )
-       )
-"
-
-S="${WORKDIR}/${MyPN}-${COMMITHASH}"
-
-src_prepare() {
-       eautoreconf
-}
-
-src_configure() {
-       econf \
-               --disable-benchmark \
-               $(use_enable test tests) \
-               $(use_enable ecdh module-ecdh) \
-               $(use_enable endomorphism)  \
-               --with-asm=$(usex asm auto no) \
-               --with-bignum=$(usex gmp gmp no) \
-               $(use_enable recovery module-recovery) \
-               $(use_enable schnorr module-schnorr) \
-               --disable-static
-}
-
-src_install() {
-       if use doc; then
-               dodoc README.md
-       fi
-
-       emake DESTDIR="${D}" install
-       prune_libtool_files
-}

diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild 
b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
deleted file mode 100644
index a413717963d..00000000000
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils ltprune
-
-MyPN=secp256k1
-DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
-HOMEPAGE="https://github.com/bitcoin/secp256k1";
-COMMITHASH="8225239f490f79842a5a3b82ad6cc8aa11d5208e"
-SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> 
${PN}-v${PV}.tgz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test-openssl"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
-       asm? ( || ( amd64 arm ) arm? ( experimental ) )
-       ecdh? ( experimental )
-       java? ( ecdh )
-       test-openssl? ( test )
-"
-RDEPEND="
-       gmp? ( dev-libs/gmp:0= )
-"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       java? ( virtual/jdk )
-       test-openssl? ( dev-libs/openssl:0 )
-"
-
-S="${WORKDIR}/${MyPN}-${COMMITHASH}"
-
-src_prepare() {
-       eautoreconf
-}
-
-src_configure() {
-       local asm_opt
-       if use asm; then
-               if use arm; then
-                       asm_opt=arm
-               else
-                       asm_opt=auto
-               fi
-       else
-               asm_opt=no
-       fi
-       econf \
-               --disable-benchmark \
-               $(use_enable experimental) \
-               $(use_enable java jni) \
-               $(use_enable test tests) \
-               $(use_enable test-openssl openssl-tests) \
-               $(use_enable ecdh module-ecdh) \
-               $(use_enable endomorphism)  \
-               --with-asm=$asm_opt \
-               --with-bignum=$(usex gmp gmp no) \
-               $(use_enable recovery module-recovery) \
-               --disable-static
-}
-
-src_install() {
-       dodoc README.md
-       emake DESTDIR="${D}" install
-       prune_libtool_files
-}

diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild 
b/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild
deleted file mode 100644
index b8f02347f60..00000000000
--- a/dev-libs/libsecp256k1/libsecp256k1-0.1_pre20170928.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools eutils
-
-MyPN=secp256k1
-DESCRIPTION="Optimized C library for EC operations on curve secp256k1"
-HOMEPAGE="https://github.com/bitcoin-core/secp256k1";
-COMMITHASH="7a78f60598a6aeb635ef227ead50fb44a209c363"
-SRC_URI="https://github.com/bitcoin-core/${MyPN}/archive/${COMMITHASH}.tar.gz 
-> ${PN}-v${PV}.tgz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test-openssl"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
-       asm? ( || ( amd64 arm ) arm? ( experimental ) )
-       ecdh? ( experimental )
-       java? ( ecdh )
-       test-openssl? ( test )
-"
-RDEPEND="
-       gmp? ( dev-libs/gmp:0= )
-"
-DEPEND="${RDEPEND}
-       virtual/pkgconfig
-       java? ( virtual/jdk )
-       test-openssl? ( dev-libs/openssl:0 )
-"
-
-S="${WORKDIR}/${MyPN}-${COMMITHASH}"
-
-src_prepare() {
-       default
-       eautoreconf
-}
-
-src_configure() {
-       local asm_opt
-       if use asm; then
-               if use arm; then
-                       asm_opt=arm
-               else
-                       asm_opt=auto
-               fi
-       else
-               asm_opt=no
-       fi
-       econf \
-               --disable-benchmark \
-               $(use_enable experimental) \
-               $(use_enable java jni) \
-               $(use_enable test tests) \
-               $(use_enable test-openssl openssl-tests) \
-               $(use_enable ecdh module-ecdh) \
-               $(use_enable endomorphism)  \
-               --with-asm=$asm_opt \
-               --with-bignum=$(usex gmp gmp no) \
-               $(use_enable recovery module-recovery) \
-               --disable-static
-}
-
-src_install() {
-       dodoc README.md
-       emake DESTDIR="${D}" install
-       find "${D}" -name '*.la' -delete || die
-}

diff --git a/dev-libs/libsecp256k1/metadata.xml 
b/dev-libs/libsecp256k1/metadata.xml
index 10e5b2a45bf..c5a0de90e4c 100644
--- a/dev-libs/libsecp256k1/metadata.xml
+++ b/dev-libs/libsecp256k1/metadata.xml
@@ -15,7 +15,6 @@
     <flag name="endomorphism">Enable endomorphism</flag>
     <flag name="experimental">Allow experimental USE flags</flag>
     <flag name="recovery">Enable ECDSA pubkey recovery module</flag>
-    <flag name="schnorr">Enable Schnorr signature module</flag>
     <flag name="test-openssl">Enable OpenSSL comparison tests</flag>
   </use>
   <upstream>

Reply via email to