diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-07-22 02:51:51 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-07-22 02:51:51 +0000 |
commit | 850046d26cc32b9fc4641e66a39d858be36f38ff (patch) | |
tree | cf488f9390c2720eb196deba08ee8a067eed8784 /dev-python/django-pipeline | |
parent | bump; drop py2.6 add py3 pypy support, add IUSE doc, build & install (diff) | |
download | gentoo-2-850046d26cc32b9fc4641e66a39d858be36f38ff.tar.gz gentoo-2-850046d26cc32b9fc4641e66a39d858be36f38ff.tar.bz2 gentoo-2-850046d26cc32b9fc4641e66a39d858be36f38ff.zip |
bump
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/django-pipeline')
-rw-r--r-- | dev-python/django-pipeline/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/django-pipeline/django-pipeline-1.3.23.ebuild | 7 | ||||
-rw-r--r-- | dev-python/django-pipeline/django-pipeline-1.3.24.ebuild | 51 |
3 files changed, 64 insertions, 2 deletions
diff --git a/dev-python/django-pipeline/ChangeLog b/dev-python/django-pipeline/ChangeLog index a970e1d8e331..1f91cc69b246 100644 --- a/dev-python/django-pipeline/ChangeLog +++ b/dev-python/django-pipeline/ChangeLog @@ -1,6 +1,12 @@ # 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.24 2014/06/14 01:02:23 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v 1.25 2014/07/22 02:51:51 idella4 Exp $ + +*django-pipeline-1.3.24 (22 Jul 2014) + + 22 Jul 2014; Ian Delaney <idella4@gentoo.org> +django-pipeline-1.3.24.ebuild, + django-pipeline-1.3.23.ebuild: + bump *django-pipeline-1.3.23 (14 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 index 2acebe1b942d..912df30eaf8b 100644 --- a/dev-python/django-pipeline/django-pipeline-1.3.23.ebuild +++ b/dev-python/django-pipeline/django-pipeline-1.3.23.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.23.ebuild,v 1.2 2014/07/22 02:51:51 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) @@ -45,3 +45,8 @@ python_install_all() { use doc && HTML_DOCS=( docs/_build/html/. ) distutils-r1_python_install_all } + +python_install() { + export PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.jsmin.JSMinCompressor' + distutils-r1_python_install +} diff --git a/dev-python/django-pipeline/django-pipeline-1.3.24.ebuild b/dev-python/django-pipeline/django-pipeline-1.3.24.ebuild new file mode 100644 index 000000000000..a01391c635a9 --- /dev/null +++ b/dev-python/django-pipeline/django-pipeline-1.3.24.ebuild @@ -0,0 +1,51 @@ +# 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.24.ebuild,v 1.1 2014/07/22 02:51:51 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" + +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 +} + +python_install() { + export PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.jsmin.JSMinCompressor' + distutils-r1_python_install +} |