From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1239303-garchives=archives.gentoo.org@lists.gentoo.org> 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 A30F413835A for <garchives@archives.gentoo.org>; Thu, 7 Jan 2021 04:10:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5305E0863; Thu, 7 Jan 2021 04:10:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 900D8E0863 for <gentoo-commits@lists.gentoo.org>; Thu, 7 Jan 2021 04:10:26 +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 3354F340C24 for <gentoo-commits@lists.gentoo.org>; Thu, 7 Jan 2021 04:10:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9375848D for <gentoo-commits@lists.gentoo.org>; Thu, 7 Jan 2021 04:10:23 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1609992395.5d964ed5ad7989e4075febd72d6e4083b80a3cf2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdnet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libdnet/libdnet-1.14-r2.ebuild X-VCS-Directories: dev-libs/libdnet/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5d964ed5ad7989e4075febd72d6e4083b80a3cf2 X-VCS-Branch: master Date: Thu, 7 Jan 2021 04:10:23 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 904e207e-ef59-4ad8-a696-a48fe035add2 X-Archives-Hash: 4ea7f8dd9e4b405e0c8ce3591613dde9 commit: 5d964ed5ad7989e4075febd72d6e4083b80a3cf2 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Jan 7 04:06:35 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jan 7 04:06:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d964ed5 dev-libs/libdnet: further style changes Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/libdnet/libdnet-1.14-r2.ebuild | 34 ++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/dev-libs/libdnet/libdnet-1.14-r2.ebuild b/dev-libs/libdnet/libdnet-1.14-r2.ebuild index 068ca755f13..f628dbd0b74 100644 --- a/dev-libs/libdnet/libdnet-1.14-r2.ebuild +++ b/dev-libs/libdnet/libdnet-1.14-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 + AT_M4DIR="config" PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_OPTIONAL=1 @@ -10,27 +11,26 @@ inherit autotools distutils-r1 DESCRIPTION="simplified, portable interface to several low-level networking routines" HOMEPAGE="https://github.com/ofalk/libdnet" SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz" -LICENSE="LGPL-2" +S="${WORKDIR}/${PN}-${P}" +LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="python test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -DEPEND=" - python? ( ${PYTHON_DEPS} ) -" -RDEPEND=" - ${DEPEND} -" +DEPEND="python? ( ${PYTHON_DEPS} )" +RDEPEND="${DEPEND}" BDEPEND=" python? ( dev-python/cython[${PYTHON_USEDEP}] ) " + RESTRICT="test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + DOCS=( README.md THANKS ) -S="${WORKDIR}/${PN}-${P}" + PATCHES=( "${FILESDIR}/${PN}-1.14-ndisc.patch" "${FILESDIR}/${PN}-1.14-strlcpy.patch" @@ -53,29 +53,33 @@ src_prepare() { eautoreconf if use python; then - cd python + cd python || die distutils-r1_src_prepare fi } src_configure() { - econf --disable-static $(use_with python) + econf \ + --disable-static \ + $(use_with python) } src_compile() { default if use python; then - cd python + cd python || die distutils-r1_src_compile fi } src_install() { default + if use python; then - cd python + cd python || die unset DOCS distutils-r1_src_install fi - find "${D}" -name '*.la' -delete || die + + find "${ED}" -name '*.la' -delete || die }