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 96F59139695 for ; Sat, 1 Jul 2017 12:50:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE028274011; Sat, 1 Jul 2017 12:50:31 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE8B7E0B78 for ; Sat, 1 Jul 2017 12:50:31 +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 9DA6A3418AB for ; Sat, 1 Jul 2017 12:50:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3272749D for ; Sat, 1 Jul 2017 12:50:28 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1498913396.af35e392c5637d7bac98fe71d5dd7921635a031b.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/tinycdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/tinycdb/tinycdb-0.77-r2.ebuild X-VCS-Directories: dev-db/tinycdb/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: af35e392c5637d7bac98fe71d5dd7921635a031b X-VCS-Branch: master Date: Sat, 1 Jul 2017 12:50:28 +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-Archives-Salt: 9c883778-5adc-4fa5-a737-f5e00b05fbd5 X-Archives-Hash: 93f6598981793946968896340f5b2292 commit: af35e392c5637d7bac98fe71d5dd7921635a031b Author: Akinori Hattori gentoo org> AuthorDate: Sat Jul 1 12:49:56 2017 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Sat Jul 1 12:49:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af35e392 dev-db/tinycdb: update to EAPI 6 Package-Manager: Portage-2.3.6, Repoman-2.3.1 dev-db/tinycdb/tinycdb-0.77-r2.ebuild | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild index 937f5d7f3fe..5451c4cff7d 100644 --- a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild +++ b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI="6" -inherit eutils multilib toolchain-funcs +inherit toolchain-funcs DESCRIPTION="A very fast and simple package for creating and reading constant data bases" HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html" @@ -17,11 +17,15 @@ RESTRICT="test" RDEPEND="!dev-db/cdb" +PATCHES=( + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-umask.patch + "${FILESDIR}"/${PN}-uclibc.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-gentoo.patch - epatch "${FILESDIR}"/${PN}-umask.patch - epatch "${FILESDIR}"/${PN}-uclibc.patch - # fix multilib support + default + sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile } @@ -40,9 +44,9 @@ src_install() { use static-libs && targets+=" install-piclib" emake \ - prefix="/usr" \ - mandir="/usr/share/man" \ + prefix="${EPREFIX}"/usr \ + mandir="${EPREFIX}"/usr/share/man \ DESTDIR="${D}" \ ${targets} - dodoc ChangeLog NEWS + einstalldocs }