Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/convmv/
Date: Sat, 06 May 2017 23:43:13
Message-Id: 1494114185.bb7edf4772c1e05d51873731dd9043da416a4697.polynomial-c@gentoo
1 commit: bb7edf4772c1e05d51873731dd9043da416a4697
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 6 23:42:48 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat May 6 23:43:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7edf47
7
8 app-text/convmv: Bump to version 2.01
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 app-text/convmv/Manifest | 1 +
13 app-text/convmv/convmv-2.01.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/app-text/convmv/Manifest b/app-text/convmv/Manifest
17 index 5132591157a..d14a2c43c1b 100644
18 --- a/app-text/convmv/Manifest
19 +++ b/app-text/convmv/Manifest
20 @@ -1 +1,2 @@
21 DIST convmv-2.0.tar.gz 29534 SHA256 170cf675be1fca77868ff472e9340ca828b1463865a63d4f4b7b3bf4053db93f SHA512 9f452551ab4ea7a45ec4e5d4e4d3c4fdb60cae49f048953d16df9ecd9ee3271c2d6748704f010af6ef312d7ce2079ae9c502e04d936419e29257f68596fc4f58 WHIRLPOOL c907bf99805e2afa7590043a291c7eaa19b681fecf9eb38314d41952edcea381f7e8bf1442226bd9c72122c3b0840e4c376f3947c4b2f65495287155a1353026
22 +DIST convmv-2.01.tar.gz 29375 SHA256 782ac06982aeaf8ff3ab8fc42cb49cb8bc562dbd1e97ef7e17bedcf3ecf2483a SHA512 e82957bcc1462b17c5f667e85caf0d2e8c407fb48afc6faa957f45626cbfa58c141de05f43cc810e8d4abbadc4cc01bf87ee64c157fece20fafed07ad04cc48c WHIRLPOOL fc7f6f6b93c872d1fce69372340b97165ec0138fe02952d7737bea582e6ecdef89cc766e20b7fbf2d75925ce5bf6759d2accf8f276f4feaf02383dfcb33c1bb6
23
24 diff --git a/app-text/convmv/convmv-2.01.ebuild b/app-text/convmv/convmv-2.01.ebuild
25 new file mode 100644
26 index 00000000000..6fad4bcbd99
27 --- /dev/null
28 +++ b/app-text/convmv/convmv-2.01.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +DESCRIPTION="convert filenames to utf8 or any other charset"
36 +HOMEPAGE="http://j3e.de/linux/convmv"
37 +SRC_URI="http://j3e.de/linux/${PN}/${P}.tar.gz"
38 +
39 +LICENSE="GPL-2"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
42 +IUSE=""
43 +
44 +DEPEND="dev-lang/perl"
45 +RDEPEND="${DEPEND}"
46 +
47 +src_prepare() {
48 + default
49 + sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die
50 +}
51 +
52 +src_install() {
53 + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
54 + dodoc CREDITS Changes TODO VERSION
55 +}
56 +
57 +src_test() {
58 + unpack ./testsuite.tar
59 +
60 + cd "${S}"/suite
61 + ./dotests.sh || die "Tests failed"
62 +}