summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2017-01-04 14:28:21 +0000
committerAnthony G. Basile <blueness@gentoo.org>2017-01-05 09:07:53 -0500
commit85bf53f42339d1d6ddcc06028d59ec36ab32aa3f (patch)
tree3d00b590720ee028a9eab2f4b566a1ab65fa0b80 /dev-libs/libsecp256k1
parentBitcoin 0.13.2 (diff)
downloadgentoo-85bf53f42339d1d6ddcc06028d59ec36ab32aa3f.tar.gz
gentoo-85bf53f42339d1d6ddcc06028d59ec36ab32aa3f.tar.bz2
gentoo-85bf53f42339d1d6ddcc06028d59ec36ab32aa3f.zip
dev-libs/libsecp256k1: Implement suggestions re asm & doc USE flags, and gmp dependency
- asm USE flag is masked on unsupported architectures. - asm USE flag is enabled by default on supported architectures. - gmp dependency indicates package breaks if the subslot changes. - New versions only: README.md is now installed without the doc USE flag (which is removed).
Diffstat (limited to 'dev-libs/libsecp256k1')
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild4
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild4
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild4
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild9
-rw-r--r--dev-libs/libsecp256k1/libsecp256k1-9999.ebuild9
5 files changed, 12 insertions, 18 deletions
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild
index 48768c1cebb9..b9f5da84dda4 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20141212.ebuild
@@ -15,13 +15,13 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${My
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm x86"
-IUSE="asm doc endomorphism gmp test"
+IUSE="+asm doc endomorphism gmp test"
REQUIRED_USE="
asm? ( amd64 )
"
RDEPEND="
- gmp? ( dev-libs/gmp:0 )
+ gmp? ( dev-libs/gmp:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild
index b0307ce01edb..ac42c2b53f36 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20150423.ebuild
@@ -15,13 +15,13 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${My
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="asm doc endomorphism gmp libressl test"
+IUSE="+asm doc endomorphism gmp libressl test"
REQUIRED_USE="
asm? ( amd64 )
"
RDEPEND="
- gmp? ( dev-libs/gmp:0 )
+ gmp? ( dev-libs/gmp:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
index 6fd17f30f41f..6f0d840fc010 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20151118.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${My
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"
+IUSE="+asm doc ecdh endomorphism experimental gmp libressl +recovery schnorr test"
REQUIRED_USE="
asm? ( amd64 )
@@ -23,7 +23,7 @@ REQUIRED_USE="
schnorr? ( experimental )
"
RDEPEND="
- gmp? ( dev-libs/gmp:0 )
+ gmp? ( dev-libs/gmp:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
index 629e443aaba7..96523ebd6d78 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-0.0.0_pre20161213.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/bitcoin/${MyPN}/archive/${COMMITHASH}.tar.gz -> ${PN
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="asm doc ecdh endomorphism experimental gmp java +recovery test test_openssl"
+IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test_openssl"
REQUIRED_USE="
asm? ( || ( amd64 arm ) arm? ( experimental ) )
@@ -24,7 +24,7 @@ REQUIRED_USE="
test_openssl? ( test )
"
RDEPEND="
- gmp? ( dev-libs/gmp:0 )
+ gmp? ( dev-libs/gmp:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -64,10 +64,7 @@ src_configure() {
}
src_install() {
- if use doc; then
- dodoc README.md
- fi
-
+ dodoc README.md
emake DESTDIR="${D}" install
prune_libtool_files
}
diff --git a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
index fa2726044e8e..0eebe3c7847c 100644
--- a/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
+++ b/dev-libs/libsecp256k1/libsecp256k1-9999.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/bitcoin/${MyPN}"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
-IUSE="asm doc ecdh endomorphism experimental gmp java +recovery test test_openssl"
+IUSE="+asm ecdh endomorphism experimental gmp java +recovery test test_openssl"
REQUIRED_USE="
asm? ( || ( amd64 arm ) arm? ( experimental ) )
@@ -23,7 +23,7 @@ REQUIRED_USE="
test_openssl? ( test )
"
RDEPEND="
- gmp? ( dev-libs/gmp:0 )
+ gmp? ( dev-libs/gmp:0= )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
@@ -61,10 +61,7 @@ src_configure() {
}
src_install() {
- if use doc; then
- dodoc README.md
- fi
-
+ dodoc README.md
emake DESTDIR="${D}" install
prune_libtool_files
}