You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/turbogears/turbogears-1.0.8.ebuild

65 lines
1.9 KiB

# Copyright 1999-2011 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.4 2011/04/12 16:22:22 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
inherit distutils
KEYWORDS="~x86 ~amd64"
MY_PN=TurboGears
MY_P=${MY_PN}-${PV}
DESCRIPTION="The rapid web development meta-framework you've been looking for."
HOMEPAGE="http://www.turbogears.org/"
SRC_URI="http://files.turbogears.org/eggs/${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/turbojson-1.1.4
>=dev-python/turbocheetah-1.0
>=dev-python/turbokid-1.0.4
=dev-python/cherrypy-2.3*
>=dev-python/simplejson-1.3
>=dev-python/pastescript-0.9.7
>=dev-python/formencode-0.7.1
>=dev-python/ruledispatch-0.5_pre2306
>=dev-python/decoratortools-1.4
>=dev-python/configobj-4.3.2
|| ( =dev-lang/python-2.4*
( =dev-lang/python-2.5* >=dev-python/cheetah-2.0_rc7-r1 ) )
|| ( =dev-lang/python-2.5*
( =dev-lang/python-2.4* >=dev-python/celementtree-1.0.5 ) )
>=dev-python/sqlobject-0.7
test? ( >=dev-python/nose-0.9.1 >=dev-python/sqlalchemy-0.3.3
|| ( =dev-lang/python-2.5*
( =dev-lang/python-2.4* dev-python/pysqlite ) ) )
>=dev-python/genshi-0.3.6"
DEPEND="${RDEPEND}
app-arch/zip
>=dev-python/setuptools-0.6_rc5"
S="${WORKDIR}/${MY_P}"
DOCS="CHANGELOG.txt CONTRIBUTORS.txt"
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/elixir"
elog " - dev-python/sqlalchemy (already installed when built with tests enabled)"
elog " - dev-python/tg-widgets-lightbox"
elog " - dev-python/tg-widgets-scriptaculous"
}