From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-misc/fslint/Manifest | 3 ++ app-misc/fslint/fslint-2.46.ebuild | 79 ++++++++++++++++++++++++++++++++++++++ app-misc/fslint/metadata.xml | 8 ++++ 3 files changed, 90 insertions(+) create mode 100644 app-misc/fslint/Manifest create mode 100644 app-misc/fslint/fslint-2.46.ebuild create mode 100644 app-misc/fslint/metadata.xml (limited to 'app-misc/fslint') diff --git a/app-misc/fslint/Manifest b/app-misc/fslint/Manifest new file mode 100644 index 000000000000..deba3163ea2c --- /dev/null +++ b/app-misc/fslint/Manifest @@ -0,0 +1,3 @@ +DIST fslint-2.46.tar.xz 135988 BLAKE2B e4cd1187222f9a959c23ea0606263489d6cd52ae1e2f0f4fd4ac859fc516073f3d5186e7bc77a782ab1a698db182e7082333020b25a8f5a705bd1265d99e7ba4 SHA512 7b6122b5920d37548cfb05bb986cc29a86c7de9f549375923299c23fe19cbc8c6a521feafcf6df6fe0562dae8b6a4e804f24fdf5a833ea2b68308be41a96b696 +EBUILD fslint-2.46.ebuild 2137 BLAKE2B 5dbf48e8c1d655c5d8d6b40b18657fabe18e7e36bd9e6e44ca75c08313fff06198ec43c55da82280fa158bb188e017a5daee6cf6932fd31f21082cac1fc2fe80 SHA512 b8244fbd2c91a810bca8b29a63d0a3fbfe9eec21934682d89989b1d7569338cf2b9ff8f266808b2bf7bdd4d0ebf23a416b1ffa9bd1c1a4066fd72790f68f7902 +MISC metadata.xml 250 BLAKE2B 4e66f9af5f8e38f419fa14400bb846409e25a994b97c5ea4576b86ae5b601776c81fccbea03201d3414f9eb32cd0d12afee9babdb5e864338b1a86bfdbfa5cce SHA512 aba0ad6bb553b7f17cc5865b37e6ab4d7cb932b9384937bd8e2c8b254f9ba39afa3b1df70b83974c58076339fbf62b60f26d69f789e349f02b1d89dea299ce3a diff --git a/app-misc/fslint/fslint-2.46.ebuild b/app-misc/fslint/fslint-2.46.ebuild new file mode 100644 index 000000000000..6e119a86e0a1 --- /dev/null +++ b/app-misc/fslint/fslint-2.46.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +# The eutils eclass is still needed for doicon() and domenu(). +inherit eutils python-r1 + +DESCRIPTION="A utility to find various forms of lint on a filesystem" +HOMEPAGE="http://www.pixelbeat.org/fslint/" +SRC_URI="${HOMEPAGE}${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygtk:2[${PYTHON_USEDEP}] + gnome-base/libglade:2.0" + +DEPEND="nls? ( sys-devel/gettext:* )" + +src_prepare() { + default + + # Change some paths to make ${PN}-gui run with our filesystem layout. + # These commands are taken from the debian/rules file. + sed -e "s:^liblocation=.*$:liblocation='${EROOT}usr/share/${PN}':" \ + -e "s:^locale_base=.*$:locale_base=None:" \ + -i "${PN}-gui" \ + || die "failed to fix liblocation and locale_base in ${PN}-gui" +} + +src_install() { + # The commands below roughly follow debian/rules. + python_foreach_impl python_doscript "${PN}-gui" + + insinto "/usr/share/${PN}" + doins "${PN}.glade" "${PN}_icon.png" + + exeinto "/usr/share/${PN}/${PN}" + doexe "${PN}"/find* + doexe "${PN}/${PN}" + doexe "${PN}/zipdir" + + exeinto "/usr/share/${PN}/${PN}/fstool" + doexe "${PN}/fstool/dir_size" "${PN}/fstool/edu" "${PN}/fstool/lS" + python_scriptinto "/usr/share/${PN}/${PN}/fstool" + python_foreach_impl python_doscript "${PN}/fstool/dupwaste" + + exeinto "/usr/share/${PN}/${PN}/supprt" + doexe "${PN}"/supprt/get* + + python_scriptinto "/usr/share/${PN}/${PN}/supprt" + python_foreach_impl python_doscript "${PN}/supprt/md5sum_approx" + + doexe "${PN}/supprt/fslver" + + exeinto "/usr/share/${PN}/${PN}/supprt/rmlint" + doexe "${PN}"/supprt/rmlint/*.sh + python_scriptinto "/usr/share/${PN}/${PN}/supprt/rmlint" + python_foreach_impl python_doscript "${PN}/supprt/rmlint/fixdup" + python_foreach_impl python_doscript "${PN}/supprt/rmlint/merge_hardlinks" + + doicon "${PN}_icon.png" + domenu "${PN}.desktop" + + dodoc doc/{FAQ,NEWS,README,TODO} + doman man/*.1 + + if use nls; then + cd po || die + emake DESTDIR="${D}" install + fi +} diff --git a/app-misc/fslint/metadata.xml b/app-misc/fslint/metadata.xml new file mode 100644 index 000000000000..6e883e5321c1 --- /dev/null +++ b/app-misc/fslint/metadata.xml @@ -0,0 +1,8 @@ + + + + + + pixelb/fslint + + -- cgit v1.2.3