summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-07 22:31:57 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-07 22:31:57 +0000
commit96f38410f56c57dc859cbfa2243a25ad3d837a7f (patch)
treef679d6772005508ee043da6930723a79a462145f /dev-python/myghty
parentBugs #301331: create initrd fixes; #312321: path for dmeventd; #318433: QA; #... (diff)
downloadgentoo-2-96f38410f56c57dc859cbfa2243a25ad3d837a7f.tar.gz
gentoo-2-96f38410f56c57dc859cbfa2243a25ad3d837a7f.tar.bz2
gentoo-2-96f38410f56c57dc859cbfa2243a25ad3d837a7f.zip
Fix dependencies. Update HOMEPAGE.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/myghty')
-rw-r--r--dev-python/myghty/myghty-1.1-r1.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-python/myghty/myghty-1.1-r1.ebuild b/dev-python/myghty/myghty-1.1-r1.ebuild
index 995aea7d6be9..70c199c4584d 100644
--- a/dev-python/myghty/myghty-1.1-r1.ebuild
+++ b/dev-python/myghty/myghty-1.1-r1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/myghty/myghty-1.1-r1.ebuild,v 1.1 2009/10/01 02:53:03 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/myghty/myghty-1.1-r1.ebuild,v 1.2 2010/06/07 22:31:57 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils
@@ -11,13 +13,13 @@ MY_PN="Myghty"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Template and view-controller framework derived from HTML::Mason."
-HOMEPAGE="http://www.myghty.org"
-SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+HOMEPAGE="http://www.myghty.org/ http://pypi.python.org/pypi/Myghty"
+SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
+IUSE="doc"
RDEPEND=">=dev-python/routes-1.0
dev-python/paste
@@ -25,19 +27,19 @@ RDEPEND=">=dev-python/routes-1.0
dev-python/pastescript"
DEPEND="${RDEPEND}
dev-python/setuptools"
-RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_P}"
src_prepare() {
distutils_src_prepare
-
epatch "${FILESDIR}/${P}-python-2.6.patch"
}
src_compile() {
distutils_src_compile
+
if use doc; then
+ einfo "Generation of documentation"
cd doc
PYTHONPATH=./lib/ python genhtml.py || die "Generation of documentation failed"
fi