1 |
commit: f8fa9c396e00343575078538e2c9da26c95b92f2 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 7 19:06:53 2017 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 7 19:11:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8fa9c39 |
7 |
|
8 |
app-misc/fslint: new version 2.46. |
9 |
|
10 |
Gentoo-Bug: 612000 |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
app-misc/fslint/Manifest | 1 + |
15 |
app-misc/fslint/fslint-2.46.ebuild | 79 ++++++++++++++++++++++++++++++++++++++ |
16 |
app-misc/fslint/metadata.xml | 5 ++- |
17 |
3 files changed, 84 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/app-misc/fslint/Manifest b/app-misc/fslint/Manifest |
20 |
index 39c7f633a1d..c67c4eb60b4 100644 |
21 |
--- a/app-misc/fslint/Manifest |
22 |
+++ b/app-misc/fslint/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST fslint-2.44.tar.gz 116654 SHA256 8491a9cd76725e652ac8fe07288ba1f896d9331e30593c0ff3ab9e82e863f0ae SHA512 9ebb6d23186ed9a7194c854c3f3352cd787f01a71d6197aa0c53f5ff0dcb2e24004cfdddee3345655ae179f4397eba95120a5c08f25c5c0f807dab486226844b WHIRLPOOL d06bfdd29ce00a052de89757244f823fba2a30ef51c09bcf58248f73d2ecd33c859a52f172cf2c9f558d00274011083c2851bf47a5e40771fff6d4a0ba081f9b |
25 |
+DIST fslint-2.46.tar.xz 135988 SHA256 f15daebfecfd2eea0d3b48a0193e25974b71dcf1e4b4a33d5a3dcfb7bb9c90cc SHA512 7b6122b5920d37548cfb05bb986cc29a86c7de9f549375923299c23fe19cbc8c6a521feafcf6df6fe0562dae8b6a4e804f24fdf5a833ea2b68308be41a96b696 WHIRLPOOL 2ec6e5e494f140ad3af6b159e0838253851b2b87478b6208030eec7c3c6b178311822b1e45703e6c55bc236ab9e308b2c16e178ea1c4577695c1e34f9e85efe0 |
26 |
|
27 |
diff --git a/app-misc/fslint/fslint-2.46.ebuild b/app-misc/fslint/fslint-2.46.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..77cf60e8c6a |
30 |
--- /dev/null |
31 |
+++ b/app-misc/fslint/fslint-2.46.ebuild |
32 |
@@ -0,0 +1,79 @@ |
33 |
+# Copyright 1999-2017 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+# The eutils eclass is still needed for doicon() and domenu(). |
41 |
+inherit eutils python-r1 |
42 |
+ |
43 |
+DESCRIPTION="A utility to find various forms of lint on a filesystem" |
44 |
+HOMEPAGE="http://www.pixelbeat.org/fslint/" |
45 |
+SRC_URI="${HOMEPAGE}${P}.tar.xz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="nls" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+ |
53 |
+RDEPEND="${PYTHON_DEPS} |
54 |
+ dev-python/pygtk:2[${PYTHON_USEDEP}] |
55 |
+ gnome-base/libglade:2.0" |
56 |
+ |
57 |
+DEPEND="nls? ( sys-devel/gettext:* )" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ |
62 |
+ # Change some paths to make ${PN}-gui run with our filesystem layout. |
63 |
+ # These commands are taken from the debian/rules file. |
64 |
+ sed -e "s:^liblocation=.*$:liblocation='${EROOT}usr/share/${PN}':" \ |
65 |
+ -e "s:^locale_base=.*$:locale_base=None:" \ |
66 |
+ -i "${PN}-gui" \ |
67 |
+ || die "failed to fix liblocation and locale_base in ${PN}-gui" |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ # The commands below roughly follow debian/rules. |
72 |
+ python_foreach_impl python_doscript "${PN}-gui" |
73 |
+ |
74 |
+ insinto "/usr/share/${PN}" |
75 |
+ doins "${PN}.glade" "${PN}_icon.png" |
76 |
+ |
77 |
+ exeinto "/usr/share/${PN}/${PN}" |
78 |
+ doexe "${PN}"/find* |
79 |
+ doexe "${PN}/${PN}" |
80 |
+ doexe "${PN}/zipdir" |
81 |
+ |
82 |
+ exeinto "/usr/share/${PN}/${PN}/fstool" |
83 |
+ doexe "${PN}/fstool/dir_size" "${PN}/fstool/edu" "${PN}/fstool/lS" |
84 |
+ python_scriptinto "/usr/share/${PN}/${PN}/fstool" |
85 |
+ python_foreach_impl python_doscript "${PN}/fstool/dupwaste" |
86 |
+ |
87 |
+ exeinto "/usr/share/${PN}/${PN}/supprt" |
88 |
+ doexe "${PN}"/supprt/get* |
89 |
+ |
90 |
+ python_scriptinto "/usr/share/${PN}/${PN}/supprt" |
91 |
+ python_foreach_impl python_doscript "${PN}/supprt/md5sum_approx" |
92 |
+ |
93 |
+ doexe "${PN}/supprt/fslver" |
94 |
+ |
95 |
+ exeinto "/usr/share/${PN}/${PN}/supprt/rmlint" |
96 |
+ doexe "${PN}"/supprt/rmlint/*.sh |
97 |
+ python_scriptinto "/usr/share/${PN}/${PN}/supprt/rmlint" |
98 |
+ python_foreach_impl python_doscript "${PN}/supprt/rmlint/fixdup" |
99 |
+ python_foreach_impl python_doscript "${PN}/supprt/rmlint/merge_hardlinks" |
100 |
+ |
101 |
+ doicon "${PN}_icon.png" |
102 |
+ domenu "${PN}.desktop" |
103 |
+ |
104 |
+ dodoc doc/{FAQ,NEWS,README,TODO} |
105 |
+ doman man/*.1 |
106 |
+ |
107 |
+ if use nls; then |
108 |
+ cd po || die |
109 |
+ emake DESTDIR="${D}" install |
110 |
+ fi |
111 |
+} |
112 |
|
113 |
diff --git a/app-misc/fslint/metadata.xml b/app-misc/fslint/metadata.xml |
114 |
index 6f49eba8f49..6e883e5321c 100644 |
115 |
--- a/app-misc/fslint/metadata.xml |
116 |
+++ b/app-misc/fslint/metadata.xml |
117 |
@@ -1,5 +1,8 @@ |
118 |
<?xml version="1.0" encoding="UTF-8"?> |
119 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
120 |
<pkgmetadata> |
121 |
-<!-- maintainer-needed --> |
122 |
+ <!-- maintainer-needed --> |
123 |
+ <upstream> |
124 |
+ <remote-id type="github">pixelb/fslint</remote-id> |
125 |
+ </upstream> |
126 |
</pkgmetadata> |