Add an updated version of django-pipeline
authorDa Risk <da_risk@geekorum.com>
Fri, 05 Apr 2013 16:56:34 +0200
changeset 70 e3386e263ead
parent 69 774a39db1770
child 71 b5f50d70475b
Add an updated version of django-pipeline (Portage version: 2.1.11.60/hg/Linux x86_64, unsigned Manifest commit)
dev-python/django-pipeline/Manifest
dev-python/django-pipeline/django-pipeline-1.2.24.ebuild
dev-python/django-pipeline/metadata.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/django-pipeline/Manifest	Fri Apr 05 16:56:34 2013 +0200
@@ -0,0 +1,1 @@
+DIST django-pipeline-1.2.24.tar.gz 35938 SHA256 7c4f98f45f4cfda925d3b8a8848adaf41aa8f317b0c19269cc74df048ffaa611 SHA512 9912be18eedbe24615798581c252c7a23a18cebd8594877da852b07aa16f1febad209c561c41131f092ea2bbc232f2d0f954175cfa4c5ca609be0295dbcd0a22 WHIRLPOOL 669fcf99b74de76aa23d2b7b210a56bb570f1409eb2cd95a9bcccbcc9d37af212241e6dd2c88e8b2b313fd179454cb4aeaffc167fd19fa78e03219036dc99e93
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/django-pipeline/django-pipeline-1.2.24.ebuild	Fri Apr 05 16:56:34 2013 +0200
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 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.6 2013/01/21 05:46:14 idella4 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 ~x86"
+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
+		PYTHONPATH=.
+		for test in [a-z]*.py
+		do
+			if ! "$(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
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/django-pipeline/metadata.xml	Fri Apr 05 16:56:34 2013 +0200
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>python</herd>
+	<maintainer>
+		<email>idella4@gentoo.org</email>
+		<name>Ian Delaney</name>
+	</maintainer>
+</pkgmetadata>
+