1 |
commit: efd268300d4ebfa851eded23fd415ca25f3ed8ad |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 08:23:20 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 10:24:40 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd26830 |
7 |
|
8 |
dev-python/django-pipeline: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/django-pipeline/Manifest | 1 + |
14 |
.../django-pipeline/django-pipeline-1.5.4.ebuild | 54 ++++++++++++++++++++++ |
15 |
2 files changed, 55 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/django-pipeline/Manifest b/dev-python/django-pipeline/Manifest |
18 |
index 2225d00..6c2941d 100644 |
19 |
--- a/dev-python/django-pipeline/Manifest |
20 |
+++ b/dev-python/django-pipeline/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST django-pipeline-1.3.26.tar.gz 41054 SHA256 58433fc07cc81f213686b892caeb8d17d6ed4e00444ef95b35f21a5a3cc6357e SHA512 106c89e6a5509305548f6169f9b38d3a288bdf260c4b933ac1372c8471e897b8f6109cdecf70a4f77dff670e2b97abe4ed990903abfc188a59600189d0473284 WHIRLPOOL 7ead1f6dbc6df1a5c4b26869e6b4ae73cd416ed52f22ba1ff16b57a295f476c7973a56af9c05d1b50097e82dcd286207f648920b3acadd88fc40ad26aae10285 |
23 |
+DIST django-pipeline-1.5.4.tar.gz 41115 SHA256 5e387e2a92880f67c299ade766577c8c66485ffb867fbcffb73f696ddb9b245d SHA512 2393d1b44ca38416589b5b0e731b66e4e95be0b1adcba89fd76905975df0f35857bcbe019fc239127c578ab3a1b77cec5892298068de3634b2020d79e74aa1ad WHIRLPOOL 79e63b07751fb4c216004ca8aa695690b2006346f6b65e075d59484c6411c2f29c7b138f9e12f2e523e8c68e68f11398e183ed4a6816b5a47ef833dbb22b2b02 |
24 |
|
25 |
diff --git a/dev-python/django-pipeline/django-pipeline-1.5.4.ebuild b/dev-python/django-pipeline/django-pipeline-1.5.4.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..9f9095a |
28 |
--- /dev/null |
29 |
+++ b/dev-python/django-pipeline/django-pipeline-1.5.4.ebuild |
30 |
@@ -0,0 +1,54 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="An asset packaging library for Django" |
41 |
+HOMEPAGE="https://pypi.python.org/pypi/django-pipeline/ https://github.com/cyberdelia/django-pipeline" |
42 |
+ |
43 |
+# PyPi releases lack docs/ subdir: |
44 |
+# https://github.com/cyberdelia/django-pipeline/pull/254 |
45 |
+SRC_URI="https://github.com/cyberdelia/django-pipeline/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="doc test" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/django-1.7[${PYTHON_USEDEP}] |
54 |
+ dev-python/jsmin[${PYTHON_USEDEP}] |
55 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
56 |
+ virtual/python-futures[${PYTHON_USEDEP}]" |
57 |
+DEPEND=" |
58 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
60 |
+ test? ( ${RDEPEND} |
61 |
+ dev-python/mock[${PYTHON_USEDEP}] )" |
62 |
+ |
63 |
+# As usual for test phase |
64 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
65 |
+ |
66 |
+python_compile_all() { |
67 |
+ use doc && emake -C docs html |
68 |
+} |
69 |
+ |
70 |
+python_test() { |
71 |
+ # https://github.com/cyberdelia/django-pipeline/issues/381 |
72 |
+ PYTHONPATH=. django-admin.py test --settings=tests.settings tests \ |
73 |
+ || die "Tests failed under ${EPYTHON}" |
74 |
+} |
75 |
+ |
76 |
+python_install_all() { |
77 |
+ use doc && HTML_DOCS=( docs/_build/html/. ) |
78 |
+ distutils-r1_python_install_all |
79 |
+} |
80 |
+ |
81 |
+python_install() { |
82 |
+ export PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.jsmin.JSMinCompressor' |
83 |
+ distutils-r1_python_install |
84 |
+} |