app-crypt/gpgme: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sun, 23 Sep 2018 11:59:05 +0000 (14:59 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Thu, 27 Sep 2018 23:51:30 +0000 (02:51 +0300)
Package-Manager: Portage-2.3.49, Repoman-2.3.10

app-crypt/gpgme/gpgme-1.11.1.ebuild

index fff6fce3f72a68753816ecac0c4d7c98453b20ad..423fb4af7e91c41e852b51c528fc5502eacbace5 100644 (file)
@@ -1,12 +1,12 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 DISTUTILS_OPTIONAL=1
 
-inherit distutils-r1 flag-o-matic libtool ltprune qmake-utils toolchain-funcs
+inherit distutils-r1 flag-o-matic libtool qmake-utils toolchain-funcs
 
 DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
 HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
@@ -24,7 +24,6 @@ COMMON_DEPEND=">=app-crypt/gnupg-2
        qt5? ( dev-qt/qtcore:5 )"
        #doc? ( app-doc/doxygen[dot] )
 DEPEND="${COMMON_DEPEND}
-       python? ( dev-lang/swig )
        qt5? ( dev-qt/qttest:5 )"
 RDEPEND="${COMMON_DEPEND}
        cxx? (
@@ -33,6 +32,7 @@ RDEPEND="${COMMON_DEPEND}
                !<kde-apps/kdepimlibs-4.14.10_p20160611:4
                !=kde-apps/kdepimlibs-4.14.11_pre20160211*:4
        )"
+BDEPEND="python? ( dev-lang/swig )"
 
 REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"
 
@@ -108,7 +108,7 @@ src_test() {
 src_install() {
        default
        do_python
-       prune_libtool_files
+       find "${D}" -name '*.la' -delete || die
 
        # backward compatibility for gentoo
        # in the past we had slots