summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristiyan Matev (Darren) <hristiyan.matev@gmail.com>2009-12-15 00:23:34 +0200
committerSebastian Pipping <sebastian@pipping.org>2009-12-15 17:33:54 +0100
commit1638b73ddcc196839dd96b2b1874e06cab2bc1dc (patch)
tree0077dc98d84784eb6fdfb1661c52c8741c4b3358 /dev-python/turbogears/turbogears-2.0.3.ebuild
parentdev-python/toscawidgets: 0.9.8 (diff)
downloadturbogears2-1638b73ddcc196839dd96b2b1874e06cab2bc1dc.tar.gz
turbogears2-1638b73ddcc196839dd96b2b1874e06cab2bc1dc.tar.bz2
turbogears2-1638b73ddcc196839dd96b2b1874e06cab2bc1dc.zip
dev-python/turbogears: 2.0.3
Diffstat (limited to 'dev-python/turbogears/turbogears-2.0.3.ebuild')
-rw-r--r--dev-python/turbogears/turbogears-2.0.3.ebuild73
1 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/turbogears/turbogears-2.0.3.ebuild b/dev-python/turbogears/turbogears-2.0.3.ebuild
new file mode 100644
index 0000000..b0d9f1a
--- /dev/null
+++ b/dev-python/turbogears/turbogears-2.0.3.ebuild
@@ -0,0 +1,73 @@
+
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/turbogears/turbogears-1.0.8.ebuild,v 1.2 2009/04/01 11:49:33 patrick Exp $
+
+NEED_PYTHON=2.6
+
+inherit distutils
+
+KEYWORDS=""
+
+case ${PV} in
+2.0_rc1)
+ MY_FOLDER=2.0.3
+ MY_FILE=2.0.3. ;; # With trailing dot, no typo
+2.0)
+ MY_FOLDER=2.0final
+ MY_FILE=2.0 ;;
+*)
+ MY_FOLDER=2.0.3
+ MY_FILE=${PV/_beta/b} ;;
+esac
+
+MY_P="TurboGears2-${MY_FILE}"
+
+
+DESCRIPTION="The rapid web development meta-framework you've been looking for."
+HOMEPAGE="http://www.turbogears.org/"
+SRC_URI="http://www.turbogears.org/2.0/downloads/${MY_FOLDER}/${MY_P}.tar.gz"
+
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+# this package is not yet py2.6 ready. Keep deps at =py-2.{4,5} for now.
+
+RDEPEND=">=dev-python/pastescript-1.6.2
+ test? ( >=dev-python/nose-0.9.1
+ dev-python/coverage
+ >=dev-python/turbokid-1.0.4
+ >=dev-python/sqlalchemy-0.5
+ dev-python/jinja2
+ >=dev-python/chameleon-genshi-1.0_beta4
+ >=dev-python/repoze-what-1.0.5
+ >=dev-python/repoze-who-testutil-1.0_rc1
+ )
+ >=dev-python/pylons-0.9.7
+ >=dev-python/genshi-0.5.1
+ >=dev-python/webflash-0.1_alpha9
+ >=dev-python/toscawidgets-0.9.4
+ >=dev-python/weberror-0.10.1
+ >=dev-python/repoze-what-pylons-1.0_rc3
+ >=dev-python/repoze-tm2-1.0_alpha4
+ >=dev-python/turbojson-1.2.1"
+
+DEPEND="${RDEPEND}
+ app-arch/zip
+ >=dev-python/setuptools-0.6_rc5"
+
+S="${WORKDIR}/${MY_P}"
+
+src_test() {
+ #I had this fail if pylons is emerged: can't import turbogears config
+ #pythonhead http://trac.turbogears.org/ticket/1774
+ PYTHONPATH=. "${python}" setup.py test || die "tests failed"
+}
+
+pkg_postinst() {
+ elog "While not directly depending on them, TurboGears works with/integrates"
+ elog "the following packages:"
+ elog " - dev-python/sqlalchemy (already installed when built with tests enabled)"
+}