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
commit57801332c3d753ed939596aa9c198f275bcd45d1 (patch)
tree900cd0b3877fb3444a8eec5e7c26d1b8ef6d20a8 /dev-python/myghty
parentBugs #301331: create initrd fixes; #312321: path for dmeventd; #318433: QA; #... (diff)
downloadhistorical-57801332c3d753ed939596aa9c198f275bcd45d1.tar.gz
historical-57801332c3d753ed939596aa9c198f275bcd45d1.tar.bz2
historical-57801332c3d753ed939596aa9c198f275bcd45d1.zip
Fix dependencies. Update HOMEPAGE.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/myghty')
-rw-r--r--dev-python/myghty/Manifest2
-rw-r--r--dev-python/myghty/myghty-1.1-r1.ebuild18
2 files changed, 11 insertions, 9 deletions
diff --git a/dev-python/myghty/Manifest b/dev-python/myghty/Manifest
index e27a07854bbe..b6282c59692b 100644
--- a/dev-python/myghty/Manifest
+++ b/dev-python/myghty/Manifest
@@ -1,5 +1,5 @@
AUX myghty-1.1-python-2.6.patch 1139 RMD160 df1e15b25bb2a8f09c1de27debe2b1c1f3ae355a SHA1 4382277dc03f8d7578405cddccdf2af9e97b24b7 SHA256 2247bf680a74227bd23616c3fb86706a6a14788cd84636c439b8f62c25ca3c66
DIST Myghty-1.1.tar.gz 320366 RMD160 1c44067b942e6c4de3236be54b36887192de6e38 SHA1 2e6714780d2250d936731a74b331d924bb1799bc SHA256 41bcf9f53c5752faff10cdce21770f41311fd38a6075d4a46f6b67cd1ae31689
-EBUILD myghty-1.1-r1.ebuild 1230 RMD160 804726a6108293c5b8bf6f6dcb8c009d53120821 SHA1 a12b19e5490fb0f18960d11e022328d66fd385a1 SHA256 7057d9cc491ca48500d16e715c7b5d5af72917c09aec3aa8e16fc3ddf4180e54
+EBUILD myghty-1.1-r1.ebuild 1311 RMD160 de3b9b3b60bc5619dfe49799635329c0c0042b71 SHA1 857cc8734bbd96f9d280de02ded771bf3076709a SHA256 27e21b5c584856376434d34ae0cc38f77c77ed584656f290d45a616a49d30696
MISC ChangeLog 785 RMD160 e7e645a317e51b003564a9555c130b1327dde1c3 SHA1 fecd755a05002ad0ba9a517d365ee61f6a96f4d5 SHA256 ca8c00c5b71e6de19b72f31351388eadd5ba5c3184a638e1de0c9f2eb5a4f291
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
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