summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 19:24:58 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 19:24:58 +0000
commit7384a666616d7ebb5f8f245a05a745fb26f88360 (patch)
tree2a9b179202d6b4ad2a3339bb7fc0bbbf5ef26611 /dev-python/myghty
parentsparc stable wrt #310021 (diff)
downloadgentoo-2-7384a666616d7ebb5f8f245a05a745fb26f88360.tar.gz
gentoo-2-7384a666616d7ebb5f8f245a05a745fb26f88360.tar.bz2
gentoo-2-7384a666616d7ebb5f8f245a05a745fb26f88360.zip
Version bump.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/myghty')
-rw-r--r--dev-python/myghty/ChangeLog11
-rw-r--r--dev-python/myghty/myghty-1.2.ebuild56
2 files changed, 65 insertions, 2 deletions
diff --git a/dev-python/myghty/ChangeLog b/dev-python/myghty/ChangeLog
index af1d8be3d396..abd796272c06 100644
--- a/dev-python/myghty/ChangeLog
+++ b/dev-python/myghty/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/myghty
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/myghty/ChangeLog,v 1.3 2009/10/01 02:53:03 arfrever Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/myghty/ChangeLog,v 1.4 2010/07/08 19:24:58 arfrever Exp $
+
+*myghty-1.2 (08 Jul 2010)
+
+ 08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -myghty-1.1-r1.ebuild, -files/myghty-1.1-python-2.6.patch,
+ +myghty-1.2.ebuild:
+ Version bump.
*myghty-1.1-r1 (01 Oct 2009)
diff --git a/dev-python/myghty/myghty-1.2.ebuild b/dev-python/myghty/myghty-1.2.ebuild
new file mode 100644
index 000000000000..06a99d1bb336
--- /dev/null
+++ b/dev-python/myghty/myghty-1.2.ebuild
@@ -0,0 +1,56 @@
+# 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.2.ebuild,v 1.1 2010/07/08 19:24:58 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+MY_PN="Myghty"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Template and view-controller framework derived from HTML::Mason."
+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"
+
+RDEPEND=">=dev-python/routes-1.0
+ dev-python/paste
+ dev-python/pastedeploy
+ dev-python/pastescript"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ cd doc
+ PYTHONPATH="lib" "$(PYTHON -f)" genhtml.py || die "Generation of documentation failed"
+ fi
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/alltests.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml doc/html/* || die "Installation of documentation failed"
+ fi
+}