1 |
commit: 3dbba355ad5c87f7fce5b38567de6f6c17ddc1ea |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 23 01:03:11 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 01:03:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dbba355 |
7 |
|
8 |
app-crypt/gpgme: drop 1.18.0 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-crypt/gpgme/gpgme-1.18.0.ebuild | 132 ------------------------------------ |
13 |
1 file changed, 132 deletions(-) |
14 |
|
15 |
diff --git a/app-crypt/gpgme/gpgme-1.18.0.ebuild b/app-crypt/gpgme/gpgme-1.18.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 4338e7b48226..000000000000 |
18 |
--- a/app-crypt/gpgme/gpgme-1.18.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,132 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..11} ) |
27 |
-DISTUTILS_OPTIONAL=1 |
28 |
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc |
29 |
- |
30 |
-inherit distutils-r1 libtool flag-o-matic qmake-utils toolchain-funcs verify-sig |
31 |
- |
32 |
-DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" |
33 |
-HOMEPAGE="https://www.gnupg.org/related_software/gpgme" |
34 |
-SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2 |
35 |
- verify-sig? ( mirror://gnupg/gpgme/${P}.tar.bz2.sig )" |
36 |
- |
37 |
-LICENSE="GPL-2 LGPL-2.1" |
38 |
-# Please check ABI on each bump, even if SONAMEs didn't change: bug #833355 |
39 |
-# Use e.g. app-portage/iwdevtools integration with dev-libs/libabigail's abidiff. |
40 |
-# Subslot: SONAME of each: <libgpgme.libgpgmepp.libqgpgme.FUDGE> |
41 |
-# Bump FUDGE if a release is made which breaks ABI without changing SONAME. |
42 |
-# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.) |
43 |
-SLOT="1/11.6.15.1" |
44 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
-IUSE="common-lisp static-libs +cxx python qt5 test" |
46 |
-RESTRICT="!test? ( test )" |
47 |
- |
48 |
-# Note: On each bump, update dep bounds on each version from configure.ac! |
49 |
-RDEPEND=">=app-crypt/gnupg-2 |
50 |
- >=dev-libs/libassuan-2.5.3:= |
51 |
- >=dev-libs/libgpg-error-1.36:= |
52 |
- python? ( ${PYTHON_DEPS} ) |
53 |
- qt5? ( dev-qt/qtcore:5 )" |
54 |
- #doc? ( app-doc/doxygen[dot] ) |
55 |
-DEPEND="${RDEPEND} |
56 |
- test? ( |
57 |
- qt5? ( dev-qt/qttest:5 ) |
58 |
- )" |
59 |
-BDEPEND="python? ( dev-lang/swig ) |
60 |
- verify-sig? ( sec-keys/openpgp-keys-gnupg )" |
61 |
- |
62 |
-REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )" |
63 |
- |
64 |
-PATCHES=( |
65 |
- "${FILESDIR}"/${PN}-1.18.0-tests-start-stop-agent-use-command-v.patch |
66 |
-) |
67 |
- |
68 |
-do_python() { |
69 |
- if use python; then |
70 |
- pushd "lang/python" > /dev/null || die |
71 |
- top_builddir="../.." srcdir="." CPP="$(tc-getCPP)" distutils-r1_src_${EBUILD_PHASE} |
72 |
- popd > /dev/null || die |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-src_prepare() { |
77 |
- default |
78 |
- |
79 |
- elibtoolize |
80 |
- |
81 |
- # bug #697456 |
82 |
- addpredict /run/user/$(id -u)/gnupg |
83 |
- |
84 |
- local MAX_WORKDIR=66 |
85 |
- if use test && [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then |
86 |
- eerror "Unable to run tests as WORKDIR='${WORKDIR}' is longer than ${MAX_WORKDIR} which causes failure!" |
87 |
- die "Could not run tests as requested with too-long WORKDIR." |
88 |
- fi |
89 |
- |
90 |
- # Make best effort to allow longer PORTAGE_TMPDIR |
91 |
- # as usock limitation fails build/tests |
92 |
- ln -s "${P}" "${WORKDIR}/b" || die |
93 |
- S="${WORKDIR}/b" |
94 |
-} |
95 |
- |
96 |
-src_configure() { |
97 |
- local languages=() |
98 |
- |
99 |
- use common-lisp && languages+=( "cl" ) |
100 |
- use cxx && languages+=( "cpp" ) |
101 |
- if use qt5; then |
102 |
- languages+=( "qt" ) |
103 |
- #use doc || |
104 |
- export DOXYGEN=true |
105 |
- export MOC="$(qt5_get_bindir)/moc" |
106 |
- fi |
107 |
- |
108 |
- # bug #847955 |
109 |
- append-lfs-flags |
110 |
- |
111 |
- # bug #811933 for libassuan prefix |
112 |
- econf \ |
113 |
- $(use test || echo "--disable-gpgconf-test --disable-gpg-test --disable-gpgsm-test --disable-g13-test") \ |
114 |
- --enable-languages="${languages[*]}" \ |
115 |
- --with-libassuan-prefix="${ESYSROOT}"/usr \ |
116 |
- $(use_enable static-libs static) |
117 |
- |
118 |
- use python && emake -C lang/python prepare |
119 |
- |
120 |
- do_python |
121 |
-} |
122 |
- |
123 |
-src_compile() { |
124 |
- default |
125 |
- do_python |
126 |
-} |
127 |
- |
128 |
-src_test() { |
129 |
- default |
130 |
- |
131 |
- use python && distutils-r1_src_test |
132 |
-} |
133 |
- |
134 |
-python_test() { |
135 |
- emake -C lang/python/tests check \ |
136 |
- PYTHON=${EPYTHON} \ |
137 |
- PYTHONS=${EPYTHON} \ |
138 |
- TESTFLAGS="--python-libdir=${BUILD_DIR}/lib" |
139 |
-} |
140 |
- |
141 |
-src_install() { |
142 |
- default |
143 |
- |
144 |
- do_python |
145 |
- |
146 |
- find "${ED}" -type f -name '*.la' -delete || die |
147 |
- |
148 |
- # Backward compatibility for gentoo |
149 |
- # (in the past, we had slots) |
150 |
- dodir /usr/include/gpgme |
151 |
- dosym ../gpgme.h /usr/include/gpgme/gpgme.h |
152 |
-} |