commit:     5f0f0a567649ab5144eb4973534de27959bc0ee4
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 14:50:19 2018 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Sep 27 23:51:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f0f0a56

dev-libs/openct: eapi bump

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-libs/openct/metadata.xml            |  3 ---
 dev-libs/openct/openct-0.6.20-r4.ebuild | 25 ++++++++-----------------
 2 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/dev-libs/openct/metadata.xml b/dev-libs/openct/metadata.xml
index 38be29df0b1..769c5bd3d17 100644
--- a/dev-libs/openct/metadata.xml
+++ b/dev-libs/openct/metadata.xml
@@ -13,9 +13,6 @@
                <flag name="debug">
                        Add debug output to the driver library for pcsc-lite.
                </flag>
-               <flag name="udev">
-                       Install rules for <pkg>sys-fs/udev</pkg> to auto-start 
openct.
-               </flag>
        </use>
        <upstream>
                <remote-id type="github">OpenSC/openct</remote-id>

diff --git a/dev-libs/openct/openct-0.6.20-r4.ebuild 
b/dev-libs/openct/openct-0.6.20-r4.ebuild
index 8f874966fbf..cb39d7698bf 100644
--- a/dev-libs/openct/openct-0.6.20-r4.ebuild
+++ b/dev-libs/openct/openct-0.6.20-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit flag-o-matic ltprune multilib udev user
+inherit flag-o-matic multilib udev user
 
 DESCRIPTION="library for accessing smart card terminals"
 HOMEPAGE="https://github.com/OpenSC/openct/wiki";
@@ -13,22 +13,13 @@ KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 
s390 sh sparc x86"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="doc pcsc-lite usb debug +udev"
+IUSE="doc pcsc-lite usb debug"
 
-# Drop the libtool dep once libltdl goes stable.
 RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1:= )
        usb? ( virtual/libusb:0 )
        dev-libs/libltdl:0="
-
-DEPEND="${RDEPEND}
-       doc? ( app-doc/doxygen )"
-
-# udev is not required at all at build-time as it's only a matter of
-# installing the rules; add openrc for the checkpath used in the new
-# init script
-RDEPEND="${RDEPEND}
-       udev? ( virtual/udev )
-       sys-apps/openrc"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
 
 pkg_setup() {
        enewgroup openct
@@ -56,10 +47,10 @@ src_configure() {
 
 src_install() {
        default
-       prune_libtool_files --all
+       find "${D}" -name '*.la' -delete || die
        rm "${D}"/usr/$(get_libdir)/openct-ifd.*
 
-       use udev && udev_newrules etc/openct.udev 70-openct.rules
+       udev_newrules etc/openct.udev 70-openct.rules
 
        newinitd "${FILESDIR}"/openct.initd openct
 }

Reply via email to