From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1144489-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 6707F138350
	for <garchives@archives.gentoo.org>; Sun,  9 Feb 2020 18:50:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A991DE081B;
	Sun,  9 Feb 2020 18:50:23 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 2B5D0E081B
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Feb 2020 18:50:23 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 E808E34E8FD
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Feb 2020 18:50:20 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 503AB98
	for <gentoo-commits@lists.gentoo.org>; Sun,  9 Feb 2020 18:50:18 +0000 (UTC)
From: "David Seifert" <soap@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, "David Seifert" <soap@gentoo.org>
Message-ID: <1581274164.481e4782929aef758ba3de9d28cc598d88a1fe9c.soap@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/udns/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-libs/udns/metadata.xml net-libs/udns/udns-0.4.ebuild
X-VCS-Directories: net-libs/udns/
X-VCS-Committer: soap
X-VCS-Committer-Name: David Seifert
X-VCS-Revision: 481e4782929aef758ba3de9d28cc598d88a1fe9c
X-VCS-Branch: master
Date: Sun,  9 Feb 2020 18:50:18 +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: 93e76d28-07df-435b-b9a7-c07a56dadb17
X-Archives-Hash: 367cb099ea907ac6d45d9a8c8ad37fd6

commit:     481e4782929aef758ba3de9d28cc598d88a1fe9c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 18:49:24 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 18:49:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=481e4782

net-libs/udns: Port to EAPI 7

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-libs/udns/metadata.xml    | 14 +++++++-------
 net-libs/udns/udns-0.4.ebuild | 26 ++++++++------------------
 2 files changed, 15 insertions(+), 25 deletions(-)

diff --git a/net-libs/udns/metadata.xml b/net-libs/udns/metadata.xml
index f0db182dbd4..63f96226167 100644
--- a/net-libs/udns/metadata.xml
+++ b/net-libs/udns/metadata.xml
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
-<use>
-	<flag name="tools">Build and install dnsget, ex-rdns and rblcheck tools</flag>
-</use>
-<longdescription>
-UDNS is a stub DNS resolver library with ability to perform both syncronous and asyncronous DNS queries.
-</longdescription>
+	<!-- maintainer-needed -->
+	<use>
+		<flag name="tools">Build and install dnsget, ex-rdns and rblcheck tools</flag>
+	</use>
+	<longdescription>
+		UDNS is a stub DNS resolver library with ability to perform both syncronous and asyncronous DNS queries.
+	</longdescription>
 </pkgmetadata>

diff --git a/net-libs/udns/udns-0.4.ebuild b/net-libs/udns/udns-0.4.ebuild
index f19b2595dc0..0953628925e 100644
--- a/net-libs/udns/udns-0.4.ebuild
+++ b/net-libs/udns/udns-0.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=7
 
-inherit eutils multilib toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Async-capable DNS stub resolver library"
 HOMEPAGE="http://www.corpit.ru/mjt/udns.html"
@@ -14,26 +14,18 @@ SLOT="0"
 KEYWORDS="amd64 ~hppa ppc ~ppc64 sparc x86"
 IUSE="ipv6 static +tools"
 
-# Yes, this doesn't depend on any other library beside "system" set
-DEPEND=""
-RDEPEND=""
-
 src_configure() {
 	# Uses non-standard configure script, econf doesn't work
 	CC=$(tc-getCC) ./configure $(use_enable ipv6) || die "Configure failed"
 }
 
 src_compile() {
-	if use tools; then
-		emake shared
-	else
-		emake sharedlib
-	fi
+	emake $(usex tools shared sharedlib)
 }
 
 src_install() {
 	dolib.so libudns.so.0
-	dosym libudns.so.0 "/usr/$(get_libdir)/libudns.so"
+	dosym libudns.so.0 /usr/$(get_libdir)/libudns.so
 
 	if use tools; then
 		newbin dnsget_s dnsget
@@ -41,12 +33,10 @@ src_install() {
 		newbin rblcheck_s rblcheck
 	fi
 
-	insinto /usr/include
-	doins udns.h
+	doheader udns.h
 
 	doman udns.3
-	if use tools; then
-		doman dnsget.1 rblcheck.1
-	fi
+	use tools && doman dnsget.1 rblcheck.1
+
 	dodoc NEWS NOTES TODO
 }