1 |
commit: a6296c9e0f1d947b63b8a9c2c97306a6cd96b22a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 9 01:58:52 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 01:58:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6296c9e |
7 |
|
8 |
app-crypt/gpgme: Bump to version 1.15.1 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-crypt/gpgme/Manifest | 1 + |
14 |
app-crypt/gpgme/gpgme-1.15.1.ebuild | 110 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 111 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest |
18 |
index ae4af46c977..676004a99ba 100644 |
19 |
--- a/app-crypt/gpgme/Manifest |
20 |
+++ b/app-crypt/gpgme/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST gpgme-1.13.0.tar.bz2 1820504 BLAKE2B 71fbb034e3c5939d1953554ccbe0e89e2089c5 |
22 |
DIST gpgme-1.13.1.tar.bz2 1759616 BLAKE2B 17fff261ab76b72e096aa42cc847443bfd3bbf0eb6d04af1d38561ddce1d11cfe9a98b6ced268b28f33e2cb7d900a9e6b3dfc56f1c784a021dbefbf493522e70 SHA512 11de670c6cf512508103fe67af56d9fbb2a9dda6fc6fa3cd321371bbe337c7c2c81913ca557d07187adb2a63d37ea1a44da97ab22345bbe6022c405d0cb083b8 |
23 |
DIST gpgme-1.14.0.tar.bz2 1678910 BLAKE2B 75051166b1f3777d630236c5afbd1786df238272b7ccfd053c5a4b2a207ba146550f6be46c1211f3bacbe19fee2f67adbc5be558d69175c19230a1a02e32d9f2 SHA512 b7ffa30a046c75215e1c73e2f34e5e65532e4dcf6bea55796adc6f82fd38dafe264bcd4332b2001155d6f9476d6fd82a77112dad31c1bb29db9ddefc532ae668 |
24 |
DIST gpgme-1.15.0.tar.bz2 1692019 BLAKE2B 4c66f24034a88e7da8a06cef3d0ac9d1d6b5eccb6d4277d36a2399d6e78f5d5f42cf0c13188c1dba72fe11d73da76a71867d3c3b13052695b868dc4a680fa85b SHA512 ab979aea6ccc6d4faf02b3b1a773ce95cb754b4d687ce7adc2ed98e218f21a284a2283d8e2429016e78fcf5a94ea863011573fd1457a71cc0ae3aadd368a98a1 |
25 |
+DIST gpgme-1.15.1.tar.bz2 1699349 BLAKE2B d3a6ccaa35360ed3fc79364dfcc3f2fdcb70e5e41ac72ef011373a39d5def9be9ce1be45843ab65a87630d3fc570d29db5f40b9a273aa8e281464c9d1d3477de SHA512 1d75a848cce6389f7cb8896b57a28dfe1dc5a447bfb4f128b0994a43e04134343400a3be063e971f03dfd595474cfd558519741d5d56afb3e84853ad4f2a45c2 |
26 |
|
27 |
diff --git a/app-crypt/gpgme/gpgme-1.15.1.ebuild b/app-crypt/gpgme/gpgme-1.15.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..164c9edfc86 |
30 |
--- /dev/null |
31 |
+++ b/app-crypt/gpgme/gpgme-1.15.1.ebuild |
32 |
@@ -0,0 +1,110 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6..9} ) |
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 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="common-lisp static-libs +cxx python qt5" |
51 |
+ |
52 |
+RDEPEND=">=app-crypt/gnupg-2 |
53 |
+ >=dev-libs/libassuan-2.5.3:= |
54 |
+ >=dev-libs/libgpg-error-1.36:= |
55 |
+ python? ( ${PYTHON_DEPS} ) |
56 |
+ qt5? ( dev-qt/qtcore:5 )" |
57 |
+ #doc? ( app-doc/doxygen[dot] ) |
58 |
+DEPEND="${RDEPEND} |
59 |
+ qt5? ( dev-qt/qttest:5 )" |
60 |
+BDEPEND="python? ( dev-lang/swig )" |
61 |
+ |
62 |
+REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )" |
63 |
+ |
64 |
+do_python() { |
65 |
+ if use python; then |
66 |
+ pushd "lang/python" > /dev/null || die |
67 |
+ top_builddir="../.." srcdir="." CPP=$(tc-getCPP) distutils-r1_src_${EBUILD_PHASE} |
68 |
+ popd > /dev/null |
69 |
+ fi |
70 |
+} |
71 |
+ |
72 |
+pkg_setup() { |
73 |
+ addpredict /run/user/$(id -u)/gnupg |
74 |
+ |
75 |
+ local MAX_WORKDIR=66 |
76 |
+ if [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then |
77 |
+ ewarn "Disabling tests as WORKDIR '${WORKDIR}' is longer than ${MAX_WORKDIR} which will fail tests" |
78 |
+ SKIP_TESTS=1 |
79 |
+ fi |
80 |
+} |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ elibtoolize |
85 |
+ |
86 |
+ # Make best effort to allow longer PORTAGE_TMPDIR |
87 |
+ # as usock limitation fails build/tests |
88 |
+ ln -s "${P}" "${WORKDIR}/b" |
89 |
+ S="${WORKDIR}/b" |
90 |
+} |
91 |
+ |
92 |
+src_configure() { |
93 |
+ local languages=() |
94 |
+ use common-lisp && languages+=( "cl" ) |
95 |
+ use cxx && languages+=( "cpp" ) |
96 |
+ if use qt5; then |
97 |
+ languages+=( "qt" ) |
98 |
+ #use doc || |
99 |
+ export DOXYGEN=true |
100 |
+ export MOC="$(qt5_get_bindir)/moc" |
101 |
+ fi |
102 |
+ |
103 |
+ econf \ |
104 |
+ $([[ -n "${SKIP_TESTS}" ]] && echo "--disable-gpg-test --disable-gpgsm-test") \ |
105 |
+ --enable-languages="${languages[*]}" \ |
106 |
+ $(use_enable static-libs static) |
107 |
+ |
108 |
+ use python && make -C lang/python prepare |
109 |
+ |
110 |
+ do_python |
111 |
+} |
112 |
+ |
113 |
+src_compile() { |
114 |
+ default |
115 |
+ do_python |
116 |
+} |
117 |
+ |
118 |
+src_test() { |
119 |
+ [[ -z "${SKIP_TESTS}" ]] || return |
120 |
+ |
121 |
+ default |
122 |
+ if use python; then |
123 |
+ test_python() { |
124 |
+ emake -C lang/python/tests check \ |
125 |
+ PYTHON=${EPYTHON} \ |
126 |
+ PYTHONS=${EPYTHON} \ |
127 |
+ TESTFLAGS="--python-libdir=${BUILD_DIR}/lib" |
128 |
+ } |
129 |
+ python_foreach_impl test_python |
130 |
+ fi |
131 |
+} |
132 |
+ |
133 |
+src_install() { |
134 |
+ default |
135 |
+ do_python |
136 |
+ find "${ED}" -type f -name '*.la' -delete || die |
137 |
+ |
138 |
+ # backward compatibility for gentoo |
139 |
+ # in the past we had slots |
140 |
+ dodir /usr/include/gpgme |
141 |
+ dosym ../gpgme.h /usr/include/gpgme/gpgme.h |
142 |
+} |