Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpgme/
Date: Sat, 04 May 2019 15:06:49
Message-Id: 1556982394.b232a54345a60634c3cbcf8168263c9b792a5651.alonbl@gentoo
1 commit: b232a54345a60634c3cbcf8168263c9b792a5651
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 4 15:06:19 2019 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sat May 4 15:06:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b232a543
7
8 app-crypt/gpgme: cleanup old
9
10 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
11 Package-Manager: Portage-2.3.62, Repoman-2.3.11
12
13 app-crypt/gpgme/Manifest | 2 -
14 app-crypt/gpgme/gpgme-1.11.1.ebuild | 117 ------------------------------------
15 app-crypt/gpgme/gpgme-1.12.0.ebuild | 117 ------------------------------------
16 3 files changed, 236 deletions(-)
17
18 diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest
19 index 38d7c6bfffa..2341a8d4569 100644
20 --- a/app-crypt/gpgme/Manifest
21 +++ b/app-crypt/gpgme/Manifest
22 @@ -1,3 +1 @@
23 -DIST gpgme-1.11.1.tar.bz2 1419232 BLAKE2B 93980c24e6d692f35105db23a02db891ef022addd583d5bda8e55ec3552dfebb87c9feebb74fdd59fa353a3b08571e51537f8dcaf63af018beff467a848e97e9 SHA512 42fa6f5d6217aaad9b44b969de9603167d179af9a1573342187718ff123cd88c686211c3dc5f2d9cacc20226ab5b8fef85cb66a19ada71d267c397d8ba52cf1a
24 -DIST gpgme-1.12.0.tar.bz2 1658803 BLAKE2B 630646af597074c06a99c1170c4f8170ad0fe4ba643a27a87a61dd8df681ca14f023b07817657bb049eaeaef01df3975bd1fe1b75a026634a62f832c6c311b56 SHA512 c228b3df28377df882be536ada56dc9c73150048a58e591aa4495f89c854af95820152cd60139840f994c249e9c7df50d8b89eb9d6dc4ce02aa80bbfebcdd014
25 DIST gpgme-1.13.0.tar.bz2 1820504 BLAKE2B 71fbb034e3c5939d1953554ccbe0e89e2089c53a4c79e90ee51bdf96500bf4be8a5e1633772ab8dadd44616dde7be551ad7d3af0a59d7e1df10a19cd9cf56baa SHA512 47a7a67dcc6d111cddd805d288d42e870948114a6dc09ce0675ad8b3d1580bbc2a683e1e70cb2f416919cf2129c72a9ff30e2e3b9527809d04e863cc1f87267b
26
27 diff --git a/app-crypt/gpgme/gpgme-1.11.1.ebuild b/app-crypt/gpgme/gpgme-1.11.1.ebuild
28 deleted file mode 100644
29 index e8510ed6bc6..00000000000
30 --- a/app-crypt/gpgme/gpgme-1.11.1.ebuild
31 +++ /dev/null
32 @@ -1,117 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{5,6} )
39 -DISTUTILS_OPTIONAL=1
40 -
41 -inherit distutils-r1 flag-o-matic libtool qmake-utils toolchain-funcs
42 -
43 -DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
44 -HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
45 -SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2"
46 -
47 -LICENSE="GPL-2 LGPL-2.1"
48 -SLOT="1/11" # subslot = soname major version
49 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 -IUSE="common-lisp static-libs cxx python qt5"
51 -
52 -COMMON_DEPEND=">=app-crypt/gnupg-2
53 - >=dev-libs/libassuan-2.0.2:=
54 - >=dev-libs/libgpg-error-1.29:=
55 - python? ( ${PYTHON_DEPS} )
56 - qt5? ( dev-qt/qtcore:5 )"
57 - #doc? ( app-doc/doxygen[dot] )
58 -DEPEND="${COMMON_DEPEND}
59 - qt5? ( dev-qt/qttest:5 )"
60 -RDEPEND="${COMMON_DEPEND}
61 - cxx? (
62 - !<kde-apps/gpgmepp-4.14.11_pre20160611:4
63 - !kde-apps/gpgmepp:5
64 - !<kde-apps/kdepimlibs-4.14.10_p20160611:4
65 - !=kde-apps/kdepimlibs-4.14.11_pre20160211*:4
66 - )"
67 -BDEPEND="python? ( dev-lang/swig )"
68 -
69 -REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
70 -
71 -do_python() {
72 - if use python; then
73 - pushd "lang/python" > /dev/null || die
74 - top_builddir="../.." srcdir="." CPP=$(tc-getCPP) distutils-r1_src_${EBUILD_PHASE}
75 - popd > /dev/null
76 - fi
77 -}
78 -
79 -pkg_setup() {
80 - addpredict /run/user/$(id -u)/gnupg
81 -
82 - local MAX_WORKDIR=66
83 - if [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then
84 - ewarn "Disabling tests as WORKDIR '${WORKDIR}' is longer than ${MAX_WORKDIR} which will fail tests"
85 - SKIP_TESTS=1
86 - fi
87 -}
88 -
89 -src_prepare() {
90 - default
91 - elibtoolize
92 -
93 - # Make best effort to allow longer PORTAGE_TMPDIR
94 - # as usock limitation fails build/tests
95 - ln -s "${P}" "${WORKDIR}/b"
96 - S="${WORKDIR}/b"
97 -}
98 -
99 -src_configure() {
100 - local languages=()
101 - use common-lisp && languages+=( "cl" )
102 - use cxx && languages+=( "cpp" )
103 - if use qt5; then
104 - languages+=( "qt" )
105 - #use doc ||
106 - export DOXYGEN=true
107 - export MOC="$(qt5_get_bindir)/moc"
108 - fi
109 -
110 - econf \
111 - $([[ -n "${SKIP_TESTS}" ]] && echo "--disable-gpg-test --disable-gpgsm-test") \
112 - --enable-languages="${languages[*]}" \
113 - $(use_enable static-libs static)
114 -
115 - use python && make -C lang/python prepare
116 -
117 - do_python
118 -}
119 -
120 -src_compile() {
121 - default
122 - do_python
123 -}
124 -
125 -src_test() {
126 - [[ -z "${SKIP_TESTS}" ]] || return
127 -
128 - default
129 - if use python; then
130 - test_python() {
131 - emake -C lang/python/tests check \
132 - PYTHON=${EPYTHON} \
133 - PYTHONS=${EPYTHON} \
134 - TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
135 - }
136 - python_foreach_impl test_python
137 - fi
138 -}
139 -
140 -src_install() {
141 - default
142 - do_python
143 - find "${D}" -name '*.la' -delete || die
144 -
145 - # backward compatibility for gentoo
146 - # in the past we had slots
147 - dodir /usr/include/gpgme
148 - dosym ../gpgme.h /usr/include/gpgme/gpgme.h
149 -}
150
151 diff --git a/app-crypt/gpgme/gpgme-1.12.0.ebuild b/app-crypt/gpgme/gpgme-1.12.0.ebuild
152 deleted file mode 100644
153 index ea40cac3051..00000000000
154 --- a/app-crypt/gpgme/gpgme-1.12.0.ebuild
155 +++ /dev/null
156 @@ -1,117 +0,0 @@
157 -# Copyright 1999-2019 Gentoo Authors
158 -# Distributed under the terms of the GNU General Public License v2
159 -
160 -EAPI=7
161 -
162 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
163 -DISTUTILS_OPTIONAL=1
164 -
165 -inherit distutils-r1 flag-o-matic libtool qmake-utils toolchain-funcs
166 -
167 -DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
168 -HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
169 -SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2"
170 -
171 -LICENSE="GPL-2 LGPL-2.1"
172 -SLOT="1/11" # subslot = soname major version
173 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
174 -IUSE="common-lisp static-libs cxx python qt5"
175 -
176 -COMMON_DEPEND=">=app-crypt/gnupg-2
177 - >=dev-libs/libassuan-2.0.2:=
178 - >=dev-libs/libgpg-error-1.29:=
179 - python? ( ${PYTHON_DEPS} )
180 - qt5? ( dev-qt/qtcore:5 )"
181 - #doc? ( app-doc/doxygen[dot] )
182 -DEPEND="${COMMON_DEPEND}
183 - qt5? ( dev-qt/qttest:5 )"
184 -RDEPEND="${COMMON_DEPEND}
185 - cxx? (
186 - !<kde-apps/gpgmepp-4.14.11_pre20160611:4
187 - !kde-apps/gpgmepp:5
188 - !<kde-apps/kdepimlibs-4.14.10_p20160611:4
189 - !=kde-apps/kdepimlibs-4.14.11_pre20160211*:4
190 - )"
191 -BDEPEND="python? ( dev-lang/swig )"
192 -
193 -REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
194 -
195 -do_python() {
196 - if use python; then
197 - pushd "lang/python" > /dev/null || die
198 - top_builddir="../.." srcdir="." CPP=$(tc-getCPP) distutils-r1_src_${EBUILD_PHASE}
199 - popd > /dev/null
200 - fi
201 -}
202 -
203 -pkg_setup() {
204 - addpredict /run/user/$(id -u)/gnupg
205 -
206 - local MAX_WORKDIR=66
207 - if [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then
208 - ewarn "Disabling tests as WORKDIR '${WORKDIR}' is longer than ${MAX_WORKDIR} which will fail tests"
209 - SKIP_TESTS=1
210 - fi
211 -}
212 -
213 -src_prepare() {
214 - default
215 - elibtoolize
216 -
217 - # Make best effort to allow longer PORTAGE_TMPDIR
218 - # as usock limitation fails build/tests
219 - ln -s "${P}" "${WORKDIR}/b"
220 - S="${WORKDIR}/b"
221 -}
222 -
223 -src_configure() {
224 - local languages=()
225 - use common-lisp && languages+=( "cl" )
226 - use cxx && languages+=( "cpp" )
227 - if use qt5; then
228 - languages+=( "qt" )
229 - #use doc ||
230 - export DOXYGEN=true
231 - export MOC="$(qt5_get_bindir)/moc"
232 - fi
233 -
234 - econf \
235 - $([[ -n "${SKIP_TESTS}" ]] && echo "--disable-gpg-test --disable-gpgsm-test") \
236 - --enable-languages="${languages[*]}" \
237 - $(use_enable static-libs static)
238 -
239 - use python && make -C lang/python prepare
240 -
241 - do_python
242 -}
243 -
244 -src_compile() {
245 - default
246 - do_python
247 -}
248 -
249 -src_test() {
250 - [[ -z "${SKIP_TESTS}" ]] || return
251 -
252 - default
253 - if use python; then
254 - test_python() {
255 - emake -C lang/python/tests check \
256 - PYTHON=${EPYTHON} \
257 - PYTHONS=${EPYTHON} \
258 - TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
259 - }
260 - python_foreach_impl test_python
261 - fi
262 -}
263 -
264 -src_install() {
265 - default
266 - do_python
267 - find "${D}" -name '*.la' -delete || die
268 -
269 - # backward compatibility for gentoo
270 - # in the past we had slots
271 - dodir /usr/include/gpgme
272 - dosym ../gpgme.h /usr/include/gpgme/gpgme.h
273 -}