summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-12-22 13:26:25 -0500
committerMike Gilbert <floppym@gentoo.org>2015-12-22 13:27:22 -0500
commit513476a748add18526b741a431f4647c329c3517 (patch)
tree8a75bb85fbe547ee42d32ebb580acbe05254e0e7
parentdev-libs/tinyxml: use versionator to parse $PV (diff)
downloadgentoo-513476a748add18526b741a431f4647c329c3517.tar.gz
gentoo-513476a748add18526b741a431f4647c329c3517.tar.bz2
gentoo-513476a748add18526b741a431f4647c329c3517.zip
app-text/rpl: Convert to distutils-r1 and fix egg-info file
Bug: https://bugs.gentoo.org/567462 Package-Manager: portage-2.2.26_p32
-rw-r--r--app-text/rpl/rpl-1.5.5-r1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-text/rpl/rpl-1.5.5-r1.ebuild b/app-text/rpl/rpl-1.5.5-r1.ebuild
new file mode 100644
index 00000000000..009a127997f
--- /dev/null
+++ b/app-text/rpl/rpl-1.5.5-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Intelligent recursive search/replace utility"
+HOMEPAGE="http://rpl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+python_prepare_all() {
+ iconv -f latin1 -t utf8 -o setup.py.new setup.py || die
+ mv setup.py.new setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman ${PN}.1
+}