commit:     3b958e1552981b510beb2b98f125d831a6de1c1c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  3 23:57:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  3 23:59:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b958e15

app-crypt/gpgme: modernise 2.0.0 further

With the removal of bindings that are now split out, we can clean things
up quite a bit, relying on out-of-source.eclass behaviour.

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

 app-crypt/gpgme/gpgme-2.0.0.ebuild | 28 +++++-----------------------
 1 file changed, 5 insertions(+), 23 deletions(-)

diff --git a/app-crypt/gpgme/gpgme-2.0.0.ebuild 
b/app-crypt/gpgme/gpgme-2.0.0.ebuild
index 494b430030bd..6185cd36fe54 100644
--- a/app-crypt/gpgme/gpgme-2.0.0.ebuild
+++ b/app-crypt/gpgme/gpgme-2.0.0.ebuild
@@ -9,11 +9,11 @@ EAPI=8
 # (find the one for the current release then subscribe to it +
 # any subsequent ones linked within so you're covered for a while.)
 
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc
-
-# in-source builds are not supported:
+# out-of-source b/c in-source builds are not supported:
 # * https://dev.gnupg.org/T6313#166339
 # * https://dev.gnupg.org/T6673#174545
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc
 inherit libtool flag-o-matic out-of-source verify-sig
 
 DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
@@ -34,7 +34,6 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips 
~ppc ~ppc64 ~riscv
 IUSE="common-lisp static-libs test"
 RESTRICT="!test? ( test )"
 
-# On each bump, update dep bounds on each version from configure.ac!
 RDEPEND="
        >=app-crypt/gnupg-2
        >=dev-libs/libassuan-2.5.3:=
@@ -64,8 +63,8 @@ src_prepare() {
                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
+       # Make best effort to allow longer PORTAGE_TMPDIR as usock limitation
+       # fails build/tests.
        ln -s "${P}" "${WORKDIR}/b" || die
        S="${WORKDIR}/b"
 }
@@ -74,8 +73,6 @@ my_src_configure() {
        # bug #847955
        append-lfs-flags
 
-       cd "${BUILD_DIR}" || die
-
        local languages=(
                $(usev common-lisp 'cl')
        )
@@ -90,22 +87,7 @@ my_src_configure() {
        ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
-my_src_compile() {
-       cd "${BUILD_DIR}" || die
-
-       emake
-}
-
-my_src_test() {
-       cd "${BUILD_DIR}" || die
-
-       emake check
-}
-
 my_src_install() {
-       einstalldocs
-
-       cd "${BUILD_DIR}" || die
        emake DESTDIR="${D}" install
        find "${ED}" -type f -name '*.la' -delete || die
 }

Reply via email to