diff options
Diffstat (limited to 'dev-python/django-pipeline')
-rw-r--r-- | dev-python/django-pipeline/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/django-pipeline/django-pipeline-1.3.23.ebuild | 47 |
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/django-pipeline/ChangeLog b/dev-python/django-pipeline/ChangeLog index 779b0a03bde9..a970e1d8e331 100644 --- a/dev-python/django-pipeline/ChangeLog +++ b/dev-python/django-pipeline/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/django-pipeline # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v 1.23 2014/06/07 06:40:25 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v 1.24 2014/06/14 01:02:23 idella4 Exp $ + +*django-pipeline-1.3.23 (14 Jun 2014) + + 14 Jun 2014; Ian Delaney <idella4@gentoo.org> +django-pipeline-1.3.23.ebuild: + bump; set Django dep to 1.6 *django-pipeline-1.3.18 (07 Jun 2014) diff --git a/dev-python/django-pipeline/django-pipeline-1.3.23.ebuild b/dev-python/django-pipeline/django-pipeline-1.3.23.ebuild new file mode 100644 index 000000000000..2acebe1b942d --- /dev/null +++ b/dev-python/django-pipeline/django-pipeline-1.3.23.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.23.ebuild,v 1.1 2014/06/14 01:02:23 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="An asset packaging library for Django" +HOMEPAGE="http://pypi.python.org/pypi/django-pipeline/ https://github.com/cyberdelia/django-pipeline" + +# PyPi releases lack docs/ subdir: +# https://github.com/cyberdelia/django-pipeline/pull/254 +SRC_URI="https://github.com/cyberdelia/django-pipeline/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +# Sec bug 510382 leaves us with django-1.6.5 only +RDEPEND=">=dev-python/django-1.6.5[${PYTHON_USEDEP}] + dev-python/jsmin[${PYTHON_USEDEP}] + virtual/python-futures[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] )" +# As usual for test phase +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + PYTHONPATH=. django-admin.py test --settings=tests.settings tests \ + || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |