commit:     d12d8da3a8519e604db3c4d0f293ff3358f89373
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  2 17:14:18 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jun  2 17:14:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12d8da3

net-misc/ttytter: [QA] Use proper distfile name

Bug: https://bugs.gentoo.org/show_bug.cgi?id=619854
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-misc/ttytter/Manifest              |  2 +-
 net-misc/ttytter/ttytter-2.1.00.ebuild | 30 +++++++++++++++---------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/net-misc/ttytter/Manifest b/net-misc/ttytter/Manifest
index 859954b473e..e05e8c08500 100644
--- a/net-misc/ttytter/Manifest
+++ b/net-misc/ttytter/Manifest
@@ -1 +1 @@
-DIST 2.1.00.txt 238284 SHA256 
6292ada5d238009c74345c48a66e59b3c0e4e084a733715953e408bb18191898 SHA512 
79629d62ab2a9fd7de82347795f75f9dc850bb6051682af112f4db1362b174f2b4c3df9331483c40461fd5ba7f8dcb325aaee605d2b850f0f7b635afa8fab7b6
 WHIRLPOOL 
9e4a0fe5e535a79e8065238909ad049b4b6330f7444b2292fd1d0c3fb235a72cdfa60334c1f23f8415503b2224f70ed5ecf4472694bdbcb0791100683c8ee172
+DIST ttytter-2.1.00.txt 238320 SHA256 
86c6e7767c65e3179d4ed6368e27df5c4b200285207c3df3164c5a84a73517b1 SHA512 
06b52275c454b7ad772baddcc64c311633fa35cc038e5a62895bbe056bc117e60feaae5a3e83917ec506ca3411e66619c84fbcb8cc7db6428082d14182813cc4
 WHIRLPOOL 
df83cb418635eedd0bb4cd9aefe8af5057d36bf9776d701a4e541fc933c89ed108e0f8e501a30fd20626c32ca55eb5d44631344a0ffd70c6e2db75afa4398e38

diff --git a/net-misc/ttytter/ttytter-2.1.00.ebuild 
b/net-misc/ttytter/ttytter-2.1.00.ebuild
index f659a1db7f1..585c023d30e 100644
--- a/net-misc/ttytter/ttytter-2.1.00.ebuild
+++ b/net-misc/ttytter/ttytter-2.1.00.ebuild
@@ -1,35 +1,35 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-inherit readme.gentoo
+inherit readme.gentoo-r1
 
 DESCRIPTION="A multi-functional, console-based Twitter client"
 HOMEPAGE="http://www.floodgap.com/software/ttytter/";
-SRC_URI="http://www.floodgap.com/software/ttytter/dist2/${PV}.txt";
+SRC_URI="http://www.floodgap.com/software/ttytter/dist2/${PV}.txt -> ${P}.txt"
 
 LICENSE="FFSL"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
+
 DEPEND=""
 RDEPEND=">=dev-lang/perl-5.8
        || ( net-misc/curl www-client/lynx )"
 
-pkg_setup() {
-       DOC_CONTENTS="Please consult the following webpage on how to
-       configure your client.
-       http://www.floodgap.com/software/ttytter/dl.html";
-}
+S=${WORKDIR}
 
-S="${WORKDIR}"
+src_install() {
+       newbin "${DISTDIR}/${A}" ${PN}
 
-src_unpack() {
-       cp "${DISTDIR}"/${A} ${WORKDIR}/${PN} || die
+       local DOC_CONTENTS="
+               Please consult the following webpage on how to
+               configure your client.
+               http://www.floodgap.com/software/ttytter/dl.html";
+       readme.gentoo_create_doc
 }
 
-src_install() {
-       dobin ${PN}
-       readme.gentoo_create_doc
+pkg_postinst() {
+       readme.gentoo_print_elog
 }

Reply via email to