summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2012-06-27 10:22:37 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2012-06-27 10:22:37 +0000
commitf8126aaaa0cdf261c9346d5fcd089afa0ef249a4 (patch)
tree7ea8b101c48b823354a531c423395d717454f4b2 /dev-python/django-pipeline
parentamd64 stable (diff)
downloadgentoo-2-f8126aaaa0cdf261c9346d5fcd089afa0ef249a4.tar.gz
gentoo-2-f8126aaaa0cdf261c9346d5fcd089afa0ef249a4.tar.bz2
gentoo-2-f8126aaaa0cdf261c9346d5fcd089afa0ef249a4.zip
Version bump, ebuild by idella4
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/django-pipeline')
-rw-r--r--dev-python/django-pipeline/ChangeLog8
-rw-r--r--dev-python/django-pipeline/django-pipeline-1.2.9.ebuild66
2 files changed, 73 insertions, 1 deletions
diff --git a/dev-python/django-pipeline/ChangeLog b/dev-python/django-pipeline/ChangeLog
index dc88dc1ec873..ed8833d73e00 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v 1.2 2012/05/29 12:40:13 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v 1.3 2012/06/27 10:22:37 tampakrap Exp $
+
+*django-pipeline-1.2.9 (27 Jun 2012)
+
+ 27 Jun 2012; Theo Chatzimichos <tampakrap@gentoo.org>
+ +django-pipeline-1.2.9.ebuild:
+ Version bump, ebuild by idella4
29 May 2012; Kacper Kowalik <xarthisius@gentoo.org> metadata.xml:
Fix metadata.xml to have only bugzilla related email for proxy maintainer
diff --git a/dev-python/django-pipeline/django-pipeline-1.2.9.ebuild b/dev-python/django-pipeline/django-pipeline-1.2.9.ebuild
new file mode 100644
index 000000000000..38c55d4cc0a8
--- /dev/null
+++ b/dev-python/django-pipeline/django-pipeline-1.2.9.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 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.2.9.ebuild,v 1.1 2012/06/27 10:22:37 tampakrap Exp $
+
+EAPI=4
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS=1
+RESTRICT_PYTHON_ABIS="2.5 3.* *-jython"
+
+inherit distutils
+
+DESCRIPTION="An asset packaging library for Django"
+HOMEPAGE="http://pypi.python.org/pypi/django-pipeline/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+LICENSE="MIT"
+SLOT="0"
+PYTHON_MODNAME="pipeline"
+DISTUTILS_SRC_TEST=nosetests
+RDEPEND=">=dev-python/django-1.4"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+src_compile() {
+ use doc && emake -C docs html
+ rm -f docs/_build/doctrees/environment.pickle || die
+ distutils_src_compile
+}
+
+src_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+ # Python.[56] trigger a harmless deprecation warning
+ testing() {
+ local exit_status=0 test
+ pushd build-${PYTHON_ABI}/lib/tests/tests/ > /dev/null || die
+ for test in [a-z]*.py
+ do
+ if ! PYTHONPATH=.:../../ "${PYTHON}" ${test}; then
+ eerror "test "${test}" failed"
+ exit_status="1"
+ else
+ einfo "test "${test}" passed OK"
+ fi
+ done
+ popd > /dev/null
+ return ${exit_status}
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/_build/html/
+ fi
+
+ # Remove un-needed tests to avoid file collisions
+ rmtests() {
+ rm -rf "${ED}"/$(python_get_sitedir)/tests/ || die
+ }
+
+ python_execute_function rmtests
+}