public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpgme/
Date: Mon, 21 Aug 2023 19:34:46 +0000 (UTC)	[thread overview]
Message-ID: <1692646479.ca649668d7ad5344f526f23f2f4158d7b8a2d59f.sam@gentoo> (raw)

commit:     ca649668d7ad5344f526f23f2f4158d7b8a2d59f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 21 19:34:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 21 19:34:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca649668

app-crypt/gpgme: add 1.22.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/gpgme/Manifest            |   2 +
 app-crypt/gpgme/gpgme-1.22.0.ebuild | 166 ++++++++++++++++++++++++++++++++++++
 2 files changed, 168 insertions(+)

diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest
index 972170215581..29fcf773bc27 100644
--- a/app-crypt/gpgme/Manifest
+++ b/app-crypt/gpgme/Manifest
@@ -2,3 +2,5 @@ DIST gpgme-1.20.0.tar.bz2 1817377 BLAKE2B 1dce0f32a29ece87f9e0f5c9da394fe3e3b651
 DIST gpgme-1.20.0.tar.bz2.sig 119 BLAKE2B 2f623dae9bbfa68eab7433854b4357dbcb1412488cc347d9088b3da762f656467de6a57a9658e28789c2dfddbf8032aa7683c103e4daa4fdc35502a37c3efc3b SHA512 7c4632aa7c3b31653046ede11afd49eef9986675196c64e2078d65f9fb732898a6f3e818de89f51056eaff5a4854e1f859151a90f1e124890d21219f8c30b3fa
 DIST gpgme-1.21.0.tar.bz2 1830113 BLAKE2B 77000567fde5b78bf46352b25c81e7223506c00703360c87d3bd05afde29ef33d7f9f82e2dbe20f4e64bb6d99a0d8f442d88762d14a72b7ddabf5b38be62e130 SHA512 eb70813d22920d6d54459a4271259edf55d5833edfdd053551ca245521e06a8c19ed02dc93e0c53132a699e6d8c82499f50caf8e390af28468e3549470595b7d
 DIST gpgme-1.21.0.tar.bz2.sig 119 BLAKE2B ac19a5694e139be36ee9c6e28501d4a695166cfbc8f1561de7c7741a274f35cb0a67f779b5fc1ff58b5a11eeaa5e575c06233be65d01c40504efe16a759740ea SHA512 8a471333fd0fc6da50990c3aed67900a6b183cde0fcc449d37435289d8f309c68555c741281c06af9740ac088ae0b4747263da1dfd23d90b050185706948b227
+DIST gpgme-1.22.0.tar.bz2 1717836 BLAKE2B 6c03f4252391a114233fed284bf9eba03fa7b67328b506c01554fbd4239e0f3ede0bc79d82e9f21718084ca17945d628707d4451ac765a8f36d282e7e2d75f8e SHA512 17053053fa885f01416433e43072ac716b5d5db0c3edf45b2d6e90e6384d127626e6ae3ce421abba8f449f5ca7e8963f3d62f3565d295847170bc998d1ec1a70
+DIST gpgme-1.22.0.tar.bz2.sig 119 BLAKE2B fde8892743e7658004d73d89dcb3899fd003ad9222fa47ec0beb29c507917936cd34ade58609cb44c8ed2d2dc0c8e4aba6ac73ed4789d2a375f79055d23c2349 SHA512 20468946e8247dd12991b25a599ee815b2627931fd3886c41b310eea51f058a51cd1584de2292241a225144bf9a1f18b70bb495cb34304879fc294fc95b220ea

diff --git a/app-crypt/gpgme/gpgme-1.22.0.ebuild b/app-crypt/gpgme/gpgme-1.22.0.ebuild
new file mode 100644
index 000000000000..8ae4f686b180
--- /dev/null
+++ b/app-crypt/gpgme/gpgme-1.22.0.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Maintainers should:
+# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/
+# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159
+# (find the one for the current release then subscribe to it +
+# any subsequent ones linked within so you're covered for a while.)
+
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} )
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
+
+# in-source builds are not supported:
+# * https://dev.gnupg.org/T6313#166339
+# * https://dev.gnupg.org/T6673#174545
+inherit distutils-r1 libtool flag-o-matic out-of-source qmake-utils toolchain-funcs verify-sig
+
+DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
+HOMEPAGE="https://www.gnupg.org/related_software/gpgme"
+SRC_URI="
+	mirror://gnupg/gpgme/${P}.tar.bz2
+	verify-sig? ( mirror://gnupg/gpgme/${P}.tar.bz2.sig )
+"
+
+LICENSE="GPL-2 LGPL-2.1"
+# Please check ABI on each bump, even if SONAMEs didn't change: bug #833355
+# Use e.g. app-portage/iwdevtools integration with dev-libs/libabigail's abidiff.
+# Subslot: SONAME of each: <libgpgme.libgpgmepp.libqgpgme.FUDGE>
+# Bump FUDGE if a release is made which breaks ABI without changing SONAME.
+# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.)
+SLOT="1/11.6.15.2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="common-lisp static-libs +cxx python qt5 test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
+
+# - On each bump, update dep bounds on each version from configure.ac!
+RDEPEND="
+	>=app-crypt/gnupg-2
+	>=dev-libs/libassuan-2.5.3:=
+	>=dev-libs/libgpg-error-1.36:=
+	>=dev-libs/libgpg-error-1.46-r1
+	python? ( ${PYTHON_DEPS} )
+	qt5? ( dev-qt/qtcore:5 )
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		qt5? ( dev-qt/qttest:5 )
+	)
+"
+#doc? ( app-doc/doxygen[dot] )
+BDEPEND="
+	python? ( dev-lang/swig )
+	verify-sig? ( sec-keys/openpgp-keys-gnupg )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.18.0-tests-start-stop-agent-use-command-v.patch
+)
+
+src_prepare() {
+	default
+
+	elibtoolize
+
+	# bug #697456
+	addpredict /run/user/$(id -u)/gnupg
+
+	local MAX_WORKDIR=66
+	if use test && [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then
+		eerror "Unable to run tests as WORKDIR='${WORKDIR}' is longer than ${MAX_WORKDIR} which causes failure!"
+		die "Could not run tests as requested with too-long WORKDIR."
+	fi
+
+	# Make best effort to allow longer PORTAGE_TMPDIR
+	# as usock limitation fails build/tests
+	ln -s "${P}" "${WORKDIR}/b" || die
+	S="${WORKDIR}/b"
+}
+
+my_src_configure() {
+	local languages=()
+
+	# bug #847955
+	append-lfs-flags
+
+	if use common-lisp ; then
+		languages+=( "cl" )
+	fi
+
+	if use cxx ; then
+		languages+=( "cpp" )
+	fi
+
+	# TODO: qt6? but qt5 and qt5 are mutually exclusive :(
+	if use qt5; then
+		languages+=( "qt5" )
+
+		#use doc ||
+		export DOXYGEN=true
+		export MOC="$(qt5_get_bindir)/moc"
+	fi
+
+	local myeconfargs=(
+		$(use test || echo "--disable-gpgconf-test --disable-gpg-test --disable-gpgsm-test --disable-g13-test")
+		--enable-languages="${languages[*]}"
+		$(use_enable static-libs static)
+	)
+
+	econf "${myeconfargs[@]}"
+
+	if use python ; then
+		emake -C lang/python prepare
+
+		pushd lang/python > /dev/null || die
+		top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_configure
+		popd > /dev/null || die
+	fi
+}
+
+my_src_compile() {
+	default
+
+	if use python ; then
+		pushd lang/python > /dev/null || die
+		top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_compile
+		popd > /dev/null || die
+	fi
+}
+
+my_src_test() {
+	default
+
+	if use python ; then
+		distutils-r1_src_test
+	fi
+}
+
+python_test() {
+	emake -C lang/python/tests check \
+		PYTHON=${EPYTHON} \
+		PYTHONS=${EPYTHON} \
+		TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
+}
+
+my_src_install() {
+	default
+
+	if use python ; then
+		pushd lang/python > /dev/null || die
+		top_builddir="../.." srcdir="${S}/lang/python" CPP="$(tc-getCPP)" distutils-r1_src_install
+		popd > /dev/null || die
+	fi
+
+	find "${ED}" -type f -name '*.la' -delete || die
+
+	# Backward compatibility for gentoo
+	# (in the past, we had slots)
+	dodir /usr/include/gpgme
+	dosym ../gpgme.h /usr/include/gpgme/gpgme.h
+}


             reply	other threads:[~2023-08-21 19:34 UTC|newest]

Thread overview: 231+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-21 19:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-11 17:02 [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpgme/ Sam James
2024-11-02  6:42 Sam James
2024-10-15  1:35 Sam James
2024-10-10 11:04 Arthur Zamarin
2024-10-09  5:46 Sam James
2024-10-08 20:46 Arthur Zamarin
2024-10-07 17:36 Sam James
2024-10-07 17:30 Jakov Smolić
2024-10-07 17:30 Jakov Smolić
2024-09-10  1:37 Eli Schwartz
2024-08-06 14:43 James Le Cuirot
2024-06-11 19:25 Michał Górny
2024-02-20 20:49 Andreas Sturmlechner
2024-02-20  5:56 Sam James
2024-02-20  5:56 Sam James
2024-02-17  9:55 Arthur Zamarin
2024-02-12 10:31 Sam James
2024-01-26 20:48 Andreas Sturmlechner
2024-01-25 19:14 Mike Gilbert
2024-01-25 19:11 Mike Gilbert
2024-01-05  5:26 Arthur Zamarin
2024-01-05  5:26 Arthur Zamarin
2023-12-21 16:13 Sam James
2023-12-03  5:11 Sam James
2023-11-29  5:15 Sam James
2023-11-27 23:22 Sam James
2023-11-25 20:47 Sam James
2023-11-22 11:16 Arthur Zamarin
2023-11-22  0:25 Sam James
2023-11-14 11:42 Sam James
2023-11-06 18:13 Andreas Sturmlechner
2023-11-05 19:14 Arthur Zamarin
2023-11-05 19:14 Arthur Zamarin
2023-11-05 19:11 Arthur Zamarin
2023-11-05 19:11 Arthur Zamarin
2023-10-24 19:36 Arthur Zamarin
2023-10-24 19:36 Arthur Zamarin
2023-10-08 15:29 Arthur Zamarin
2023-10-07 23:27 Sam James
2023-09-04 13:29 Andreas Sturmlechner
2023-09-03 16:46 Arthur Zamarin
2023-09-03 16:46 Arthur Zamarin
2023-08-19 12:39 Arthur Zamarin
2023-08-19 12:19 Arthur Zamarin
2023-08-19 12:19 Arthur Zamarin
2023-08-19 11:46 Arthur Zamarin
2023-08-19 11:46 Arthur Zamarin
2023-08-19 11:38 Sam James
2023-07-07 22:04 Sam James
2023-06-10 21:28 Andreas Sturmlechner
2023-06-09 12:04 Arthur Zamarin
2023-06-09  9:54 Sam James
2023-06-09  9:54 Sam James
2023-06-09  6:53 Arthur Zamarin
2023-06-03 19:45 Arthur Zamarin
2023-06-02 16:13 Arthur Zamarin
2023-06-01 19:15 Arthur Zamarin
2023-06-01 19:15 Arthur Zamarin
2023-05-05  4:59 Michał Górny
2023-05-04 23:20 Ionen Wolkens
2023-05-04 16:11 Michał Górny
2023-04-22 16:35 Sam James
2023-03-17 21:54 Sam James
2022-11-25 14:51 Arthur Zamarin
2022-11-25 10:28 Arthur Zamarin
2022-11-25  8:34 Arthur Zamarin
2022-11-25  8:13 Arthur Zamarin
2022-11-25  7:57 Sam James
2022-11-25  7:51 Sam James
2022-11-25  7:51 Sam James
2022-11-25  7:34 Arthur Zamarin
2022-10-09 21:12 Sam James
2022-10-08 13:19 Sam James
2022-09-23  1:06 Sam James
2022-09-01  2:16 Sam James
2022-08-10 13:05 Sam James
2022-07-15 18:30 Arthur Zamarin
2022-06-18 23:04 Sam James
2022-06-14 18:01 Sam James
2022-06-12 14:52 Sam James
2022-05-28 18:19 Sam James
2022-05-17  5:34 Sam James
2022-03-26  0:12 Sam James
2022-03-07  5:17 Sam James
2022-03-07  4:28 Sam James
2022-03-07  4:21 Sam James
2022-03-06 23:38 Sam James
2022-03-06 23:35 Sam James
2022-02-17 19:23 Lars Wendler
2022-02-17 18:43 Sam James
2022-02-17 18:40 David Seifert
2022-02-10  9:54 David Seifert
2022-02-08  7:57 Lars Wendler
2021-12-04  1:32 Sam James
2021-11-29 20:48 Sam James
2021-11-29  0:54 Sam James
2021-11-26 15:33 Arthur Zamarin
2021-11-26  8:51 Agostino Sarubbo
2021-11-26  6:34 Sam James
2021-11-26  6:34 Sam James
2021-08-21 22:15 James Le Cuirot
2021-08-05 18:07 Michał Górny
2021-06-25  1:02 Lars Wendler
2021-06-25  1:02 Lars Wendler
2021-06-14 18:05 Sergei Trofimovich
2021-06-13 12:38 Sam James
2021-06-13 11:12 Sam James
2021-06-13  6:30 Agostino Sarubbo
2021-06-13  6:04 Sam James
2021-06-13  6:04 Sam James
2021-06-13  3:45 Sam James
2021-06-13  3:45 Sam James
2021-01-09  2:02 Lars Wendler
2021-01-09  2:02 Lars Wendler
2021-01-06 12:55 Fabian Groffen
2020-12-13  0:16 Sam James
2020-11-14 23:39 Sam James
2020-11-12 21:57 Lars Wendler
2020-11-12 20:09 Lars Wendler
2020-11-12 20:09 Lars Wendler
2020-10-06 15:07 Lars Wendler
2020-09-07  8:47 Sergei Trofimovich
2020-09-07  8:20 Sergei Trofimovich
2020-09-06  7:49 Sergei Trofimovich
2020-08-30 23:56 Sam James
2020-08-29 20:00 Sam James
2020-08-28 22:21 Sergei Trofimovich
2020-07-17  6:27 Lars Wendler
2020-04-18  3:02 Craig Andrews
2020-03-09 16:01 Lars Wendler
2020-03-09 15:51 Mike Gilbert
2020-02-11 11:38 Michał Górny
2020-01-09 10:56 Kristian Fiskerstrand
2019-11-01 10:16 Mikle Kolyada
2019-11-01 10:16 Mikle Kolyada
2019-10-09 18:21 Sergei Trofimovich
2019-10-06  5:50 Matt Turner
2019-10-04 13:15 Agostino Sarubbo
2019-10-02 19:08 Agostino Sarubbo
2019-10-02 18:53 Agostino Sarubbo
2019-09-29 21:00 Sergei Trofimovich
2019-09-29 20:54 Sergei Trofimovich
2019-09-29 19:26 Sergei Trofimovich
2019-09-29  9:11 Sergei Trofimovich
2019-09-27  0:50 Mike Gilbert
2019-09-26 22:22 Tim Harder
2019-06-14  1:26 Göktürk Yüksek
2019-06-09 20:32 Sergei Trofimovich
2019-06-09 19:22 Sergei Trofimovich
2019-06-06 16:52 Michael Haubenwallner
2019-05-04 15:06 Alon Bar-Lev
2019-05-03  7:11 Sergei Trofimovich
2019-05-02 21:43 Mikle Kolyada
2019-04-28 20:34 Thomas Deutschmann
2019-04-27 16:03 Sergei Trofimovich
2019-04-22 14:40 Sergei Trofimovich
2019-04-20 18:47 Mikle Kolyada
2019-04-20 17:42 Mikle Kolyada
2019-04-15 23:55 Aaron Bauman
2019-03-26 18:21 Alon Bar-Lev
2019-01-21 20:22 Alon Bar-Lev
2019-01-03 14:58 Sergei Trofimovich
2018-10-09 21:03 Alon Bar-Lev
2018-08-14 16:02 Alon Bar-Lev
2018-07-23 22:02 Mikle Kolyada
2018-07-02  4:24 Alon Bar-Lev
2018-07-02  3:08 Alon Bar-Lev
2018-06-27 22:22 Sergei Trofimovich
2018-06-27 22:15 Sergei Trofimovich
2018-06-27 21:54 Sergei Trofimovich
2018-06-27 17:23 Tobias Klausmann
2018-06-27  6:25 Sergei Trofimovich
2018-06-26 15:35 Mikle Kolyada
2018-05-20 20:23 Sergei Trofimovich
2018-03-15 16:10 Mikle Kolyada
2018-03-04  8:16 Tobias Klausmann
2018-03-02 19:24 Alon Bar-Lev
2018-02-16 17:42 Alon Bar-Lev
2018-02-16 17:42 Alon Bar-Lev
2018-02-06  8:07 Sergei Trofimovich
2018-01-07 22:07 Sergei Trofimovich
2018-01-07 18:11 Alon Bar-Lev
2018-01-07 14:23 Sergei Trofimovich
2018-01-06 20:47 Alon Bar-Lev
2018-01-06  0:04 Alon Bar-Lev
2018-01-05 23:44 Alon Bar-Lev
2018-01-04 17:07 Mikle Kolyada
2017-12-19 17:49 Fabian Groffen
2017-12-16 20:58 Fabian Groffen
2017-12-13  6:26 Alon Bar-Lev
2017-12-12 17:29 Alon Bar-Lev
2017-11-22 18:33 Alon Bar-Lev
2017-08-25 16:54 Alon Bar-Lev
2017-08-03 18:30 Alon Bar-Lev
2017-07-17  7:16 Alon Bar-Lev
2017-07-11  6:11 Alon Bar-Lev
2017-05-15  3:01 Zac Medico
2017-05-13  5:05 Alon Bar-Lev
2017-05-01  8:03 Andreas Sturmlechner
2017-04-19  8:03 David Seifert
2017-03-25 18:11 Alon Bar-Lev
2017-03-17  9:40 Alon Bar-Lev
2017-03-17  9:40 Alon Bar-Lev
2017-03-16 20:45 Alon Bar-Lev
2017-03-16 20:45 Alon Bar-Lev
2017-03-16 19:53 Alon Bar-Lev
2017-03-16 10:13 Michael Weber
2017-03-16  3:37 Guilherme Amadio
2017-03-15  6:00 Jeroen Roovers
2017-03-08  6:01 Markus Meier
2017-03-03 19:14 Tobias Klausmann
2017-03-03  9:02 Agostino Sarubbo
2017-01-03  9:27 Fabian Groffen
2016-12-21 17:17 Johannes Huber
2016-12-21 17:17 Johannes Huber
2016-12-21 17:17 Johannes Huber
2016-12-21 17:17 Johannes Huber
2016-11-21 16:25 Alon Bar-Lev
2016-10-19 22:45 Alon Bar-Lev
2016-10-19  5:47 Alon Bar-Lev
2016-10-19  5:27 Alon Bar-Lev
2016-10-18 20:54 Kristian Fiskerstrand
2016-10-11  8:36 Alon Bar-Lev
2016-10-03 18:50 Alon Bar-Lev
2016-10-03 18:50 Alon Bar-Lev
2016-09-25 18:26 Alon Bar-Lev
2016-09-24  6:23 Alon Bar-Lev
2016-09-23 20:55 Alon Bar-Lev
2016-09-23 16:25 Alon Bar-Lev
2015-09-10  6:07 Alon Bar-Lev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1692646479.ca649668d7ad5344f526f23f2f4158d7b8a2d59f.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox