summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/python-gflags/ChangeLog7
-rw-r--r--dev-python/python-gflags/python-gflags-1.4.ebuild18
2 files changed, 20 insertions, 5 deletions
diff --git a/dev-python/python-gflags/ChangeLog b/dev-python/python-gflags/ChangeLog
index cb0a78b9d243..dc76efd98c44 100644
--- a/dev-python/python-gflags/ChangeLog
+++ b/dev-python/python-gflags/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/python-gflags
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/ChangeLog,v 1.1 2010/11/08 11:24:09 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/ChangeLog,v 1.2 2010/11/14 21:30:04 arfrever Exp $
+
+ 14 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ python-gflags-1.4.ebuild:
+ Fix dependencies. Set SUPPORT_PYTHON_ABIS. Set PYTHON_MODNAME. Improve
+ installation of scripts.
*python-gflags-1.4 (08 Nov 2010)
diff --git a/dev-python/python-gflags/python-gflags-1.4.ebuild b/dev-python/python-gflags/python-gflags-1.4.ebuild
index 12110341b083..a9548612d42c 100644
--- a/dev-python/python-gflags/python-gflags-1.4.ebuild
+++ b/dev-python/python-gflags/python-gflags-1.4.ebuild
@@ -1,8 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/python-gflags-1.4.ebuild,v 1.1 2010/11/08 11:24:09 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gflags/python-gflags-1.4.ebuild,v 1.2 2010/11/14 21:30:04 arfrever Exp $
-EAPI=3
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
@@ -15,5 +18,12 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=""
-RDEPEND="${DEPEND}"
+DEPEND="dev-python/setuptools"
+RDEPEND=""
+
+PYTHON_MODNAME="gflags.py"
+
+src_prepare() {
+ distutils_src_prepare
+ sed -e 's/data_files=\[("bin", \["gflags2man.py"\])\]/scripts=\["gflags2man.py"\]/' -i setup.py
+}