diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-05-29 12:19:37 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-05-29 12:19:37 +0000 |
commit | 809348196660a156190d5a0784641e1f9e5b514f (patch) | |
tree | 7e3232466c651b1db367d39fbb6b14a2a6e96b5d /dev-python | |
parent | bump, update of deps, remove old, closes Bug #470664 (diff) | |
download | gentoo-2-809348196660a156190d5a0784641e1f9e5b514f.tar.gz gentoo-2-809348196660a156190d5a0784641e1f9e5b514f.tar.bz2 gentoo-2-809348196660a156190d5a0784641e1f9e5b514f.zip |
revbump. migrate -> distutils-r1, remove old ebuild
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/django-xslt/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-python/django-xslt/django-xslt-0.4.5.ebuild | 37 |
3 files changed, 44 insertions, 39 deletions
diff --git a/dev-python/django-xslt/ChangeLog b/dev-python/django-xslt/ChangeLog index 69e34f564678..fcc727165821 100644 --- a/dev-python/django-xslt/ChangeLog +++ b/dev-python/django-xslt/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/django-xslt -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-xslt/ChangeLog,v 1.2 2012/11/13 11:23:27 idella4 Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-xslt/ChangeLog,v 1.3 2013/05/29 12:19:37 idella4 Exp $ + +*django-xslt-0.4.5-r1 (29 May 2013) + + 29 May 2013; Ian Delaney <idella4@gentoo.org> +django-xslt-0.4.5-r1.ebuild, + -django-xslt-0.4.5.ebuild: + revbump. migrate -> distutils-r1, remove old ebuild 14 Nov 2012; Ian Delaney <idella4@gentoo.org> metadata.xml: Updating maintainer, metadata.xml diff --git a/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild b/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild new file mode 100644 index 000000000000..caeee5d7eec5 --- /dev/null +++ b/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild,v 1.1 2013/05/29 12:19:37 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 + +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + test? ( http://dev.gentoo.org/~tampakrap/tarballs/${PN}-demoapp-0.4.5_p20120427.tar.bz2 )" + +DESCRIPTION="A configurable set of panels that display debug information" +HOMEPAGE="http://pypi.python.org/pypi/django-xslt/" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +LICENSE="BSD" +SLOT="0" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/django[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/lxml[${PYTHON_USEDEP}] )" + +python_test() { + export SECRET_KEY="green" + pushd "${WORKDIR}/demoapp" > /dev/null + if ! "${PYTHON}" -c "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" \ + manage.py test; then + die "tests failed under ${EPYTHON}" + else + einfo "tests passed under ${EPYTHON}" + fi +} diff --git a/dev-python/django-xslt/django-xslt-0.4.5.ebuild b/dev-python/django-xslt/django-xslt-0.4.5.ebuild deleted file mode 100644 index eda574204894..000000000000 --- a/dev-python/django-xslt/django-xslt-0.4.5.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-xslt/django-xslt-0.4.5.ebuild,v 1.1 2012/04/27 13:48:21 tampakrap Exp $ - -EAPI=4 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS=1 -RESTRICT_PYTHON_ABIS="3.*" -inherit distutils - -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - test? ( http://dev.gentoo.org/~tampakrap/tarballs/${PN}-demoapp-0.4.5_p20120427.tar.bz2 )" - -DESCRIPTION="A configurable set of panels that display debug information" -HOMEPAGE="http://pypi.python.org/pypi/django-xslt/" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -LICENSE="BSD" -SLOT="0" -PYTHON_MODNAME="djangoxslt" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/django - dev-python/setuptools - test? ( dev-python/lxml )" - -src_test() { - testing() { - pushd "${WORKDIR}/demoapp" > /dev/null - PYTHONPATH="${S}/build-${PYTHON_ABI}/lib/" \ - "$(PYTHON)" manage.py test - popd "${WORKDIR}/demoapp" > /dev/null - } - python_execute_function testing -} |