summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-02-07 09:51:53 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-02-07 09:51:53 +0000
commitbe8d4c97885abfaa474c0a887d0a595f4bbecfa6 (patch)
tree08f9e84636e3568271bb5c1b662833a8839e77ac /dev-libs
parentRespect CFLAGS wrt bug #455840, fix conditions on nonexistent 'svn' USE flag ... (diff)
downloadhistorical-be8d4c97885abfaa474c0a887d0a595f4bbecfa6.tar.gz
historical-be8d4c97885abfaa474c0a887d0a595f4bbecfa6.tar.bz2
historical-be8d4c97885abfaa474c0a887d0a595f4bbecfa6.zip
Revision bump: EAPI 5, add sub-slot operator for dependency on dev-libs/icu, wrt bug #455900
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/beecrypt/ChangeLog10
-rw-r--r--dev-libs/beecrypt/Manifest23
-rw-r--r--dev-libs/beecrypt/beecrypt-4.2.1-r1.ebuild87
3 files changed, 97 insertions, 23 deletions
diff --git a/dev-libs/beecrypt/ChangeLog b/dev-libs/beecrypt/ChangeLog
index 1c662c691925..e089fbf69ed3 100644
--- a/dev-libs/beecrypt/ChangeLog
+++ b/dev-libs/beecrypt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/beecrypt
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.83 2012/09/06 05:41:11 vapier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.84 2013/02/07 09:51:52 pinkbyte Exp $
+
+*beecrypt-4.2.1-r1 (07 Feb 2013)
+
+ 07 Feb 2013; Sergey Popov <pinkbyte@gentoo.org> +beecrypt-4.2.1-r1.ebuild:
+ Revision bump: EAPI 5, add sub-slot operator for dependency on dev-libs/icu,
+ wrt bug #455900
06 Sep 2012; Mike Frysinger <vapier@gentoo.org>
files/beecrypt-4.2.1-build-system.patch:
diff --git a/dev-libs/beecrypt/Manifest b/dev-libs/beecrypt/Manifest
index 79b3ecb7b887..1afd724d9a41 100644
--- a/dev-libs/beecrypt/Manifest
+++ b/dev-libs/beecrypt/Manifest
@@ -1,26 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX beecrypt-4.2.1-build-system.patch 3796 SHA256 98eb6ff5991988563bc33c431379443ac13fde2b23d9cc9e5ee0bd7c470f504b SHA512 6f13707e238cd2602c1482554381fc4ffb59d367fc095453ae05c7bc17438552745b304ce2ad5c071a367a0a90809173682676a392396521e20006f214db0c46 WHIRLPOOL aa8b7b454635b46fb238505a7a2f2e051943ca956fb7093a6b0e45e0fc93b5a0cd22ee16ebcf8d85b198dda4713744c112a5ee64efe70a82970eca5aeef86f13
AUX beecrypt-4.2.1-gcc-4.7.patch 258 SHA256 03e95b2f5c7340a7ee8e8a11933118a23a335e6f5076f4e7fb08e8bc9249b7a8 SHA512 d0d7dab1b302590d03474132039a98ed1f9b8f2e126300fe917acc0c2207bef8d1e90be14bb01d6278ac79a8f2d46aa81b8e56f3ee76b3c90b2e3ef6b0bbc375 WHIRLPOOL 09f5589ac7fcf2c6684deecd9582d046cec6b17d38cbd00131fdb95bcc63f5702920a01f3a138186e4a7066db66318e055120b1ca6999a88211c12c87f6291dd
DIST beecrypt-4.2.1.tar.gz 882758 SHA256 286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d SHA512 59995d53c024efe6344a21ac0d6d55fbe652488a4a22cc6719f9fc3851d56697fa8738937d48aa1e6f9ebe749de61ac3c79a5f0cea793872213c3bdf922e71bc WHIRLPOOL c4a0371d8e2cf37194800867c58e77d72bb59ab464fdff9c561230ece0f288dabdebfdd0ac13382c9ebe45b455ffbfdd81e6a15969dcb86d3d8c8e6635e294bb
+EBUILD beecrypt-4.2.1-r1.ebuild 2047 SHA256 376ef9a54ab0deabe6918ff59f80d1a36a7affc2f290774841349aa46750ac69 SHA512 e10e3b690c447c824d1ae9da4877eec9b17795f51f7c9f88eae03367b56908deae8ecfb801f633fd63edeac05cccf9be404e229a5d4984e24352cea176a7aac3 WHIRLPOOL 212699e7bb6359f2356ca07c23361f5e5c12906f5fe6bc34aceb8ee6ded437551f9a674d4332ebce7e605b573a75cc483cf58743fdf0403c0644fda1ca374d5d
EBUILD beecrypt-4.2.1.ebuild 2034 SHA256 c0fd94138ebfa2596ff573a76e7f94c9a1116fe31edf71310afb20700f1478a0 SHA512 ea2f9065818ea667bc8207a7c05fbf655b2c8d7ca77818da10ec4f22a0c3d97d67f7a895d8c747da08095412f867e4b43a1b23f2447c9b176d4db9261908685d WHIRLPOOL 63998197832e4d5de88b8f09e6e30184791c06a86daa60fc4fe99c93c79dee10b7d7dae5aa362e39bf75ccbc7a31c1ef7cfcccb321320fe18f58012a119635dc
-MISC ChangeLog 13325 SHA256 e942374e5f5c4ed83db320c4515af93a09a81ff83ca8d4362fa9a4a106c71854 SHA512 c487cf4ccc85d5b0c6c62e05ec2c9caaa7b9d5ad72c0c38218cb496fda4205e89abcac4552517537c676858bcc5724599509db34dc4c3ef39321c5b8e58a3fed WHIRLPOOL 97486ab4e8b03652ab04446114deddd44c96480735aa4ef27de5b937c01e9b35540ac3523c4af618526782156689969a9d23832ae8d302c478962c2feb899316
+MISC ChangeLog 13536 SHA256 dc329105aa816a4276703fcbdf087918f9431a58ca39980fd0b8af9db3747ec7 SHA512 1e50a18957fbe511a1702d706fd1c558ede647a6a73b90b71560f5b537a6e92f0f51fdd879649060a59afa9d849862890bf1858535c6861f1b7ff47d361f5269 WHIRLPOOL 60b32257876411dc62242f81737d332596fbd97e9c1629ee47d3aa4257aeb96bd45e5a4f5fdeb6c3c3fb4a3e0f0eb799c476ce30b052bbf926852ef6986475eb
MISC metadata.xml 210 SHA256 90082fe26a119a63ca8fbe227f66c33ba74167b6cf28e2cef02dea6c4f656c39 SHA512 4554adeece55ce9adfdadba04443a3ede6ff910b96a11b77bb1f07ddd6bdbc756b8e6e1873660f8f54e67f46db1065980794a6136c6de7883b24d0ee13ff51fe WHIRLPOOL f546bd1233d5a9934ba0480881ceba944cb8ff1869c12ed2421d4ccbb247ee38dc0c7c8b979f10533ad0fc603b5e4829d0ddf174a83d0bda8e8dd62c1c873eeb
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBCAAGBQJQSDfdAAoJELEHsLL7fEFWTaoP/iSqeUYyeAEElYIdzvUK2UIo
-YWCNz/OuCViPDByutZjJTfSsY7SiYCf9d7MHxXVasvSouABya4yCl8RoMKqb3PLK
-2ni7rDmshk5RpkNevBXLb6fhukeedMgxoYOwL+18IYtzRnljriigYF1hAmXmXeT7
-hSogR4WRgWegyYRPHIw6jXQ/padDHJHVmsCKfStFipZ0OtPpRtakl79iZZp6+1LN
-fKxBMOS30fdR7mfPjjezSfA/dKW3t84gC5wg0Q5jiFH1OWR+Me3vUmDCE6vG4Q2z
-PYanQoPrnjciMitl2MOJnSFmXe2vqbGP6cb9xc3woFAUpPEdpfDHiAVW/9zfXiTX
-v8VhbX9UjwDv/mkWdJU6Lid0JpAwxu5D/xX6aiy40v2oyI6rZIvH49oh5n70Uwte
-lLnIDtTAE+xmKoIw09GR0wERb8MuIYN1SAsqqucMK/kE/1510ns/bTEVEKQ9wxd9
-xnfhiRW5vstlYndWl6RGgMo41dEDpyIZggIjRZl0Nao8fQat0V5PP9da3rh8O2z8
-cfC8eBY/4TI/7dis0dinY+JslB/oWxM4ZVUoz+BPV+8oU6e3jUyUhKek+M3aAKNs
-/cVFMxNj0TepdfASuSDZAEo4nv0yDYXFTwEGyK8ivnWRJ3HeRu8ZBum0EPWu+YZ4
-1FRIA0dsFmYZev2/QUvb
-=2UVn
------END PGP SIGNATURE-----
diff --git a/dev-libs/beecrypt/beecrypt-4.2.1-r1.ebuild b/dev-libs/beecrypt/beecrypt-4.2.1-r1.ebuild
new file mode 100644
index 000000000000..7a3fe0b829b0
--- /dev/null
+++ b/dev-libs/beecrypt/beecrypt-4.2.1-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r1.ebuild,v 1.1 2013/02/07 09:51:52 pinkbyte Exp $
+
+EAPI=5
+PYTHON_DEPEND="python? 2"
+
+inherit eutils multilib autotools java-pkg-opt-2 python
+
+DESCRIPTION="general-purpose cryptography library"
+HOMEPAGE="http://sourceforge.net/projects/beecrypt/"
+SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="java cxx python static-libs threads doc"
+
+COMMONDEPEND="!<app-arch/rpm-4.2.1
+ cxx? ( >=dev-libs/icu-2.8:= )"
+
+DEPEND="${COMMONDEPEND}
+ java? ( >=virtual/jdk-1.4 )
+ doc? ( app-doc/doxygen
+ virtual/latex-base
+ dev-texlive/texlive-fontsextra
+ )"
+RDEPEND="${COMMONDEPEND}
+ java? ( >=virtual/jre-1.4 )"
+
+DOCS="BUGS README BENCHMARKS NEWS"
+
+REQUIRED_USE="cxx? ( threads )"
+
+pkg_setup() {
+ if use python; then
+ python_set_active_version 2
+ python_pkg_setup
+ java-pkg-opt-2_pkg_setup
+ fi
+}
+
+src_prepare() {
+ java-pkg-opt-2_src_prepare
+
+ use python && python_convert_shebangs -r 2 .
+
+ epatch "${FILESDIR}"/${P}-build-system.patch
+ epatch "${FILESDIR}"/${P}-gcc-4.7.patch
+ eautoreconf
+}
+
+src_configure() {
+ # cpluscplus needs threads support
+ econf \
+ --disable-expert-mode \
+ $(use_enable static-libs static) \
+ $(use_enable threads) \
+ $(use_with python python "${EPREFIX}"/usr/bin/python2) \
+ $(use_with cxx cplusplus) \
+ $(use_with java)
+}
+
+src_compile() {
+ default
+
+ if use doc; then
+ cd include/beecrypt
+ doxygen || die "doxygen failed"
+ fi
+}
+
+src_test() {
+ export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf"
+ echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}"
+ emake check
+ emake bench
+}
+
+src_install() {
+ default
+ rm -f "${ED}"/usr/$(get_libdir)/python*/site-packages/_bc.*a
+
+ use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
+
+ use doc && dohtml -r docs/html/.
+}