/[gentoo-x86]/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild
Gentoo

Contents of /dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Apr 8 08:05:22 2015 UTC (2 years, 6 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild,v 1.4 2015/03/08 23:45:36 pacho Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit distutils-r1
9
10 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
11 test? ( http://dev.gentoo.org/~tampakrap/tarballs/${PN}-demoapp-0.4.5_p20120427.tar.bz2 )"
12
13 DESCRIPTION="an XSLT template system for Django"
14 HOMEPAGE="http://pypi.python.org/pypi/django-xslt/"
15 KEYWORDS="amd64 x86"
16 IUSE="test"
17
18 LICENSE="BSD"
19 SLOT="0"
20
21 RDEPEND=""
22 DEPEND="${RDEPEND}
23 dev-python/django[${PYTHON_USEDEP}]
24 dev-python/setuptools[${PYTHON_USEDEP}]
25 test? ( dev-python/lxml[${PYTHON_USEDEP}] )"
26
27 python_test() {
28 export SECRET_KEY="green"
29 pushd "${WORKDIR}/demoapp" > /dev/null
30 if ! "${PYTHON}" -c "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" \
31 manage.py test; then
32 die "tests failed under ${EPYTHON}"
33 else
34 einfo "tests passed under ${EPYTHON}"
35 fi
36 }

  ViewVC Help
Powered by ViewVC 1.1.20