app-admin/pydf: bump to EAPI 6, add maintainer-needed
authorAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 17:54:20 +0000 (12:54 -0500)
committerAustin English <wizardedit@gentoo.org>
Thu, 7 Jul 2016 18:00:22 +0000 (13:00 -0500)
Package-Manager: portage-2.2.28

app-admin/pydf/metadata.xml
app-admin/pydf/pydf-12-r1.ebuild [new file with mode: 0644]

index 097975e3adc26aa49b959a01cffb169a88f64eb3..6f49eba8f49693023f393161560b3a2d9e2717c5 100644 (file)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+<!-- maintainer-needed -->
 </pkgmetadata>
diff --git a/app-admin/pydf/pydf-12-r1.ebuild b/app-admin/pydf/pydf-12-r1.ebuild
new file mode 100644 (file)
index 0000000..c3ed739
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+inherit python-r1
+
+DESCRIPTION="Enhanced df with colors"
+HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
+SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/${PN}_${PV}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       sed -i -e "s:/etc/pydfrc:${EPREFIX}/etc/pydfrc:" pydf || die
+}
+
+src_install() {
+       python_foreach_impl python_doscript pydf
+       insinto /etc
+       doins pydfrc
+       doman pydf.1
+       dodoc README
+}