Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/django-pipeline: django-pipeline-1.3.11.ebuild django-pipeline-1.3.9.ebuild ChangeLog
Date: Fri, 31 May 2013 16:21:23
Message-Id: 20130531162120.2B2092171D@flycatcher.gentoo.org
idella4     13/05/31 16:21:20

  Modified:             django-pipeline-1.3.9.ebuild ChangeLog
  Added:                django-pipeline-1.3.11.ebuild
  Log:
  bump, restrict tests in 1.3.9 on finding source content missing, drop py3.2 on failing tests
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.5                  dev-python/django-pipeline/django-pipeline-1.3.9.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.9.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.9.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.9.ebuild?r1=1.4&r2=1.5

Index: django-pipeline-1.3.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.9.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- django-pipeline-1.3.9.ebuild	22 May 2013 16:23:08 -0000	1.4
+++ django-pipeline-1.3.9.ebuild	31 May 2013 16:21:20 -0000	1.5
@@ -1,6 +1,6 @@
 # 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.3.9.ebuild,v 1.4 2013/05/22 16:23:08 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.9.ebuild,v 1.5 2013/05/31 16:21:20 idella4 Exp $
 
 EAPI=5
 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
@@ -21,6 +21,8 @@
 	dev-python/jsmin[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}
 	dev-python/setuptools[${PYTHON_USEDEP}]"
+# Test phase unworkable due to missing source content
+RESTRICT="test"
 
 python_compile_all() {
 	use doc && emake -C docs html



1.14                 dev-python/django-pipeline/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	22 May 2013 16:23:08 -0000	1.13
+++ ChangeLog	31 May 2013 16:21:20 -0000	1.14
@@ -1,6 +1,13 @@
 # ChangeLog for dev-python/django-pipeline
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v 1.13 2013/05/22 16:23:08 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-pipeline/ChangeLog,v 1.14 2013/05/31 16:21:20 idella4 Exp $
+
+*django-pipeline-1.3.11 (31 May 2013)
+
+  31 May 2013; Ian Delaney <idella4@g.o> +django-pipeline-1.3.11.ebuild,
+  django-pipeline-1.3.9.ebuild:
+  bump, restrict tests in 1.3.9 on finding source content missing, drop py3.2 on
+  failing tests
 
 *django-pipeline-1.3.9-r1 (22 May 2013)
 



1.1                  dev-python/django-pipeline/django-pipeline-1.3.11.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.11.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-pipeline/django-pipeline-1.3.11.ebuild?rev=1.1&content-type=text/plain

Index: django-pipeline-1.3.11.ebuild
===================================================================
# 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.3.11.ebuild,v 1.1 2013/05/31 16:21:20 idella4 Exp $

EAPI=5
# There's doubt in py3.2's readiness
PYTHON_COMPAT=( python{2_6,2_7,3_3} )

inherit distutils-r1

DESCRIPTION="An asset packaging library for Django"
HOMEPAGE="http://pypi.python.org/pypi/django-pipeline/ https://github.com/cyberdelia/django-pipeline"
SRC_URI="https://github.com/cyberdelia/django-pipeline/archive/1.3.11.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"

RDEPEND=">=dev-python/django-1.4.1[${PYTHON_USEDEP}]
	dev-python/futures[$(python_gen_usedep python{2_6,2_7})]
	dev-python/jsmin[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
	dev-python/setuptools[${PYTHON_USEDEP}]"

python_prepare() {
	use test && DISTUTILS_IN_SOURCE_BUILD=1
	distutils_python_prepare
}

python_compile_all() {
	use doc && emake -C docs html
	rm -f docs/_build/doctrees/environment.pickle || die
}

python_compile() {
	# Need remove tests before reaching distutils-r1_src_install
	if ! use test; then
		rm -rf tests/ || die
	fi
	distutils-r1_python_compile
}

python_test() {
	export DJANGO_SETTINGS_MODULE="django.conf"
	pushd "${BUILD_DIR}"/lib/tests/ &> /dev/null
	ln -sf ../../../tests/assets . || die
	ln -sf ../../../tests/assets2 . || die
	cd ../../../ || die
	if ! django-admin.py-${EPYTHON} test --setting=tests.settings tests
	then
		die "Tests failed under ${EPYTHON}"
	else
		einfo "Tests passed under ${EPYTHON}"
	fi
	rm -rf tests/ || die
	rm -rf "${S}"/tests/ || einfo "tests folder already removed"
}

python_install_all() {
	use doc && HTML_DOCS=( docs/_build/html/. )
	distutils-r1_python_install_all
}