1 |
commit: 9dcecf905a782155e2aeb827a7c70964d1c13622 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 25 00:36:43 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 25 01:02:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dcecf90 |
7 |
|
8 |
app-crypt/gpgme: Bump to version 1.16.0 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
app-crypt/gpgme/Manifest | 1 + |
13 |
app-crypt/gpgme/gpgme-1.16.0.ebuild | 110 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 111 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest |
17 |
index 48746098dd1..aacbbd833e9 100644 |
18 |
--- a/app-crypt/gpgme/Manifest |
19 |
+++ b/app-crypt/gpgme/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST gpgme-1.14.0.tar.bz2 1678910 BLAKE2B 75051166b1f3777d630236c5afbd1786df238272b7ccfd053c5a4b2a207ba146550f6be46c1211f3bacbe19fee2f67adbc5be558d69175c19230a1a02e32d9f2 SHA512 b7ffa30a046c75215e1c73e2f34e5e65532e4dcf6bea55796adc6f82fd38dafe264bcd4332b2001155d6f9476d6fd82a77112dad31c1bb29db9ddefc532ae668 |
22 |
DIST gpgme-1.15.0.tar.bz2 1692019 BLAKE2B 4c66f24034a88e7da8a06cef3d0ac9d1d6b5eccb6d4277d36a2399d6e78f5d5f42cf0c13188c1dba72fe11d73da76a71867d3c3b13052695b868dc4a680fa85b SHA512 ab979aea6ccc6d4faf02b3b1a773ce95cb754b4d687ce7adc2ed98e218f21a284a2283d8e2429016e78fcf5a94ea863011573fd1457a71cc0ae3aadd368a98a1 |
23 |
DIST gpgme-1.15.1.tar.bz2 1699349 BLAKE2B d3a6ccaa35360ed3fc79364dfcc3f2fdcb70e5e41ac72ef011373a39d5def9be9ce1be45843ab65a87630d3fc570d29db5f40b9a273aa8e281464c9d1d3477de SHA512 1d75a848cce6389f7cb8896b57a28dfe1dc5a447bfb4f128b0994a43e04134343400a3be063e971f03dfd595474cfd558519741d5d56afb3e84853ad4f2a45c2 |
24 |
+DIST gpgme-1.16.0.tar.bz2 1718913 BLAKE2B da55e695b148e949a1c0770d0298d7a8c9f87d7a1f9e45d380f8c13c472bd44cb4266adb9a113e2b1dcc2596291744f48fdf998ff2de876059d89d184dc87f3a SHA512 69487be69612e9bf0221ff56ae687248bd13635db1b7087130e93c1670e38f3c810bbca17723555c04fe207976c35871bbc3da005179ce099504321cf33636e4 |
25 |
|
26 |
diff --git a/app-crypt/gpgme/gpgme-1.16.0.ebuild b/app-crypt/gpgme/gpgme-1.16.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..9b99df979f9 |
29 |
--- /dev/null |
30 |
+++ b/app-crypt/gpgme/gpgme-1.16.0.ebuild |
31 |
@@ -0,0 +1,110 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7..9} ) |
38 |
+DISTUTILS_OPTIONAL=1 |
39 |
+ |
40 |
+inherit distutils-r1 flag-o-matic libtool qmake-utils toolchain-funcs |
41 |
+ |
42 |
+DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" |
43 |
+HOMEPAGE="http://www.gnupg.org/related_software/gpgme" |
44 |
+SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="GPL-2 LGPL-2.1" |
47 |
+SLOT="1/11" # subslot = soname major version |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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" |
49 |
+IUSE="common-lisp static-libs +cxx python qt5" |
50 |
+ |
51 |
+RDEPEND=">=app-crypt/gnupg-2 |
52 |
+ >=dev-libs/libassuan-2.5.3:= |
53 |
+ >=dev-libs/libgpg-error-1.36:= |
54 |
+ python? ( ${PYTHON_DEPS} ) |
55 |
+ qt5? ( dev-qt/qtcore:5 )" |
56 |
+ #doc? ( app-doc/doxygen[dot] ) |
57 |
+DEPEND="${RDEPEND} |
58 |
+ qt5? ( dev-qt/qttest:5 )" |
59 |
+BDEPEND="python? ( dev-lang/swig )" |
60 |
+ |
61 |
+REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )" |
62 |
+ |
63 |
+do_python() { |
64 |
+ if use python; then |
65 |
+ pushd "lang/python" > /dev/null || die |
66 |
+ top_builddir="../.." srcdir="." CPP=$(tc-getCPP) distutils-r1_src_${EBUILD_PHASE} |
67 |
+ popd > /dev/null |
68 |
+ fi |
69 |
+} |
70 |
+ |
71 |
+pkg_setup() { |
72 |
+ addpredict /run/user/$(id -u)/gnupg |
73 |
+ |
74 |
+ local MAX_WORKDIR=66 |
75 |
+ if [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then |
76 |
+ ewarn "Disabling tests as WORKDIR '${WORKDIR}' is longer than ${MAX_WORKDIR} which will fail tests" |
77 |
+ SKIP_TESTS=1 |
78 |
+ fi |
79 |
+} |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ default |
83 |
+ elibtoolize |
84 |
+ |
85 |
+ # Make best effort to allow longer PORTAGE_TMPDIR |
86 |
+ # as usock limitation fails build/tests |
87 |
+ ln -s "${P}" "${WORKDIR}/b" |
88 |
+ S="${WORKDIR}/b" |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local languages=() |
93 |
+ use common-lisp && languages+=( "cl" ) |
94 |
+ use cxx && languages+=( "cpp" ) |
95 |
+ if use qt5; then |
96 |
+ languages+=( "qt" ) |
97 |
+ #use doc || |
98 |
+ export DOXYGEN=true |
99 |
+ export MOC="$(qt5_get_bindir)/moc" |
100 |
+ fi |
101 |
+ |
102 |
+ econf \ |
103 |
+ $([[ -n "${SKIP_TESTS}" ]] && echo "--disable-gpg-test --disable-gpgsm-test") \ |
104 |
+ --enable-languages="${languages[*]}" \ |
105 |
+ $(use_enable static-libs static) |
106 |
+ |
107 |
+ use python && make -C lang/python prepare |
108 |
+ |
109 |
+ do_python |
110 |
+} |
111 |
+ |
112 |
+src_compile() { |
113 |
+ default |
114 |
+ do_python |
115 |
+} |
116 |
+ |
117 |
+src_test() { |
118 |
+ [[ -z "${SKIP_TESTS}" ]] || return |
119 |
+ |
120 |
+ default |
121 |
+ if use python; then |
122 |
+ test_python() { |
123 |
+ emake -C lang/python/tests check \ |
124 |
+ PYTHON=${EPYTHON} \ |
125 |
+ PYTHONS=${EPYTHON} \ |
126 |
+ TESTFLAGS="--python-libdir=${BUILD_DIR}/lib" |
127 |
+ } |
128 |
+ python_foreach_impl test_python |
129 |
+ fi |
130 |
+} |
131 |
+ |
132 |
+src_install() { |
133 |
+ default |
134 |
+ do_python |
135 |
+ find "${ED}" -type f -name '*.la' -delete || die |
136 |
+ |
137 |
+ # backward compatibility for gentoo |
138 |
+ # in the past we had slots |
139 |
+ dodir /usr/include/gpgme |
140 |
+ dosym ../gpgme.h /usr/include/gpgme/gpgme.h |
141 |
+} |