From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28DC5138239 for ; Thu, 13 May 2021 10:59:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E5D6E08E0; Thu, 13 May 2021 10:59:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 68D49E08E0 for ; Thu, 13 May 2021 10:59:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E0AE340C36 for ; Thu, 13 May 2021 10:59:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE8D875B for ; Thu, 13 May 2021 10:59:51 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1620903564.f00da2074632ce8b74ec6f5fd4ee935dbf6f6715.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libusb-compat/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild X-VCS-Directories: dev-libs/libusb-compat/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: f00da2074632ce8b74ec6f5fd4ee935dbf6f6715 X-VCS-Branch: master Date: Thu, 13 May 2021 10:59:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 772ecc9a-c96d-4f74-b30d-e902269d8b72 X-Archives-Hash: 627f864da6573f7ba25c301c3e42414e commit: f00da2074632ce8b74ec6f5fd4ee935dbf6f6715 Author: David Seifert gentoo org> AuthorDate: Thu May 13 10:59:24 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Thu May 13 10:59:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00da207 dev-libs/libusb-compat: Port to EAPI 7 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert gentoo.org> .../libusb-compat/libusb-compat-0.1.5-r3.ebuild | 31 ++++++++++------------ 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild index d2650c1bb74..caafc1eefa1 100644 --- a/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild +++ b/dev-libs/libusb-compat/libusb-compat-0.1.5-r3.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit multilib-minimal usr-ldscript +inherit usr-ldscript multilib-minimal DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)" HOMEPAGE="http://libusb.sourceforge.net/" @@ -12,27 +12,23 @@ SRC_URI="mirror://sourceforge/${PN/-compat}/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="debug examples static-libs" +IUSE="debug examples" -RDEPEND=">=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}] +RDEPEND=" + >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}] !dev-libs/libusb:0" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -DOCS="AUTHORS ChangeLog NEWS README" - -PATCHES=( - "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch -) +PATCHES=( "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch ) MULTILIB_CHOST_TOOLS=( /usr/bin/libusb-config ) multilib_src_configure() { - ECONF_SOURCE="${S}" \ - econf \ - $(use_enable static-libs static) \ + ECONF_SOURCE="${S}" econf \ + --disable-static \ $(use_enable debug debug-log) } @@ -43,11 +39,12 @@ multilib_src_install() { } multilib_src_install_all() { - find "${ED}" -name '*.la' -delete || die einstalldocs if use examples; then - insinto /usr/share/doc/${PF}/examples - doins examples/*.c + docinto examples + dodoc examples/*.c fi + + find "${ED}" -name '*.la' -delete || die }