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 3CF5C13832E for ; Mon, 25 Jul 2016 16:43:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A667CE094C; Mon, 25 Jul 2016 16:43:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 524ECE094C for ; Mon, 25 Jul 2016 16:43:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8F60340BCD for ; Mon, 25 Jul 2016 16:43:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4407F78B for ; Mon, 25 Jul 2016 16:43:43 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1469465007.fe4661299b7410994932cf77c1e850ee990c9d75.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-accessibility/espeakup/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-accessibility/espeakup/espeakup-9999.ebuild X-VCS-Directories: app-accessibility/espeakup/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: fe4661299b7410994932cf77c1e850ee990c9d75 X-VCS-Branch: master Date: Mon, 25 Jul 2016 16:43:43 +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: de018d19-7905-4552-a68f-3cf0ef31eee0 X-Archives-Hash: faafa6661627efb13ac1a20694670278 commit: fe4661299b7410994932cf77c1e850ee990c9d75 Author: William Hubbs gentoo org> AuthorDate: Mon Jul 25 16:35:10 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Jul 25 16:43:27 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe466129 app-accessibility/espeakup: migrate live ebuild to eapi 6 Package-Manager: portage-2.2.28 app-accessibility/espeakup/espeakup-9999.ebuild | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/app-accessibility/espeakup/espeakup-9999.ebuild b/app-accessibility/espeakup/espeakup-9999.ebuild index 713e990..c50eee2 100644 --- a/app-accessibility/espeakup/espeakup-9999.ebuild +++ b/app-accessibility/espeakup/espeakup-9999.ebuild @@ -2,17 +2,19 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://github.com/williamh/espeakup.git" - vcs=git-2 + inherit git-r3 else - SRC_URI="" + EGIT_COMMIT=v${PV} + SRC_URI="https://github.com/williamh/espeakup/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" + inherit vcs-snapshot fi -inherit $vcs linux-info +inherit linux-info DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup" HOMEPAGE="https://github.com/williamh/espeakup" @@ -42,13 +44,9 @@ pkg_setup() { fi } -src_compile() { - emake || die "Compile failed." -} - src_install() { - emake DESTDIR="${D}" PREFIX=/usr install || die "Install failed." - dodoc README ToDo + emake DESTDIR="${D}" PREFIX=/usr install + einstalldocs newconfd "${FILESDIR}"/espeakup.confd espeakup newinitd "${FILESDIR}"/espeakup.rc espeakup }