Gentoo Archives: gentoo-commits

From: "Patrice Clement (monsieurp)" <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/beecrypt: beecrypt-4.2.1-r3.ebuild beecrypt-4.2.1-r2.ebuild ChangeLog
Date: Fri, 06 Mar 2015 10:35:00
Message-Id: 20150306103452.42BE313287@oystercatcher.gentoo.org
1 monsieurp 15/03/06 10:34:52
2
3 Modified: beecrypt-4.2.1-r2.ebuild ChangeLog
4 Added: beecrypt-4.2.1-r3.ebuild
5 Log:
6 Turn 'threads' USE flag on by default. Fix bug 542250.
7
8 (Portage version: 2.2.14/cvs/Linux i686, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.3 dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild?r1=1.2&r2=1.3
16
17 Index: beecrypt-4.2.1-r2.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- beecrypt-4.2.1-r2.ebuild 26 Dec 2014 20:45:10 -0000 1.2
24 +++ beecrypt-4.2.1-r2.ebuild 6 Mar 2015 10:34:52 -0000 1.3
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2014 Gentoo Foundation
27 +# Copyright 1999-2015 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild,v 1.2 2014/12/26 20:45:10 mgorny Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r2.ebuild,v 1.3 2015/03/06 10:34:52 monsieurp Exp $
31
32 EAPI=5
33
34
35
36
37 1.88 dev-libs/beecrypt/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/ChangeLog?rev=1.88&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/ChangeLog?rev=1.88&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/ChangeLog?r1=1.87&r2=1.88
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v
46 retrieving revision 1.87
47 retrieving revision 1.88
48 diff -u -r1.87 -r1.88
49 --- ChangeLog 26 Dec 2014 20:45:10 -0000 1.87
50 +++ ChangeLog 6 Mar 2015 10:34:52 -0000 1.88
51 @@ -1,6 +1,12 @@
52 # ChangeLog for dev-libs/beecrypt
53 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.87 2014/12/26 20:45:10 mgorny Exp $
55 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
56 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.88 2015/03/06 10:34:52 monsieurp Exp $
57 +
58 +*beecrypt-4.2.1-r3 (06 Mar 2015)
59 +
60 + 06 Mar 2015; Patrice Clement <monsieurp@g.o> +beecrypt-4.2.1-r3.ebuild,
61 + beecrypt-4.2.1-r2.ebuild:
62 + Turn 'threads' USE flag on by default. Fix bug 542250.
63
64 26 Dec 2014; Michał Górny <mgorny@g.o> beecrypt-4.2.1-r2.ebuild:
65 Add missing "use python" conditional.
66
67
68
69 1.1 dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild?rev=1.1&content-type=text/plain
73
74 Index: beecrypt-4.2.1-r3.ebuild
75 ===================================================================
76 # Copyright 1999-2015 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-4.2.1-r3.ebuild,v 1.1 2015/03/06 10:34:52 monsieurp Exp $
79
80 EAPI=5
81
82 PYTHON_COMPAT=( python2_7 )
83
84 inherit eutils multilib autotools java-pkg-opt-2 python-single-r1
85
86 DESCRIPTION="general-purpose cryptography library"
87 HOMEPAGE="http://sourceforge.net/projects/beecrypt/"
88 SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz"
89
90 LICENSE="GPL-2 LGPL-2"
91 SLOT="0"
92 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos"
93 IUSE="+threads java cxx python static-libs doc"
94
95 COMMONDEPEND="!<app-arch/rpm-4.2.1
96 cxx? ( >=dev-libs/icu-2.8:= )
97 python? ( ${PYTHON_DEPS} )"
98
99 DEPEND="${COMMONDEPEND}
100 java? ( >=virtual/jdk-1.4 )
101 doc? ( app-doc/doxygen
102 virtual/latex-base
103 dev-texlive/texlive-fontsextra
104 )"
105 RDEPEND="${COMMONDEPEND}
106 java? ( >=virtual/jre-1.4 )"
107
108 DOCS="BUGS README BENCHMARKS NEWS"
109
110 REQUIRED_USE="cxx? ( threads )
111 python? ( ${PYTHON_REQUIRED_USE} )"
112
113 pkg_setup() {
114 use python && python-single-r1_pkg_setup
115 use java && java-pkg-opt-2_pkg_setup
116 }
117
118 src_prepare() {
119 java-pkg-opt-2_src_prepare
120
121 epatch "${FILESDIR}"/${P}-build-system.patch
122 epatch "${FILESDIR}"/${P}-gcc-4.7.patch
123 eautoreconf
124 }
125
126 src_configure() {
127 # cpluscplus needs threads support
128 econf \
129 --disable-expert-mode \
130 $(use_enable static-libs static) \
131 $(use_enable threads) \
132 $(use_with python python "${PYTHON}") \
133 $(use_with cxx cplusplus) \
134 $(use_with java)
135 }
136
137 src_compile() {
138 default
139
140 if use doc; then
141 cd include/beecrypt || die
142 doxygen || die "doxygen failed"
143 fi
144 }
145
146 src_test() {
147 export BEECRYPT_CONF_FILE="${T}/beecrypt-test.conf"
148 echo "provider.1=${S}/c++/provider/.libs/base.so" > "${BEECRYPT_CONF_FILE}"
149 emake check
150 emake bench
151 }
152
153 src_install() {
154 default
155 use python && rm -f "${D%/}$(python_get_sitedir)"/_bc.*a
156
157 use static-libs || find "${ED}" -name '*.la' -delete
158
159 use doc && dohtml -r docs/html/.
160 }