1 |
floppym 13/05/31 03:04:45 |
2 |
|
3 |
Modified: django-compressor-1.3.ebuild ChangeLog |
4 |
Log: |
5 |
Use github tarball and actually run tests. XML related tests currently fail. |
6 |
|
7 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-python/django-compressor/django-compressor-1.3.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-compressor/django-compressor-1.3.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-compressor/django-compressor-1.3.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-compressor/django-compressor-1.3.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: django-compressor-1.3.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/django-compressor/django-compressor-1.3.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- django-compressor-1.3.ebuild 29 May 2013 11:54:23 -0000 1.1 |
23 |
+++ django-compressor-1.3.ebuild 31 May 2013 03:04:44 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2013 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-compressor/django-compressor-1.3.ebuild,v 1.1 2013/05/29 11:54:23 idella4 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-compressor/django-compressor-1.3.ebuild,v 1.2 2013/05/31 03:04:44 floppym Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
32 |
@@ -10,7 +10,7 @@ |
33 |
MY_PN="${PN/-/_}" |
34 |
DESCRIPTION="Allows to define regrouped/postcompiled content 'on the fly' inside of django template" |
35 |
HOMEPAGE="http://pypi.python.org/pypi/django_compressor/" |
36 |
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+SRC_URI="https://github.com/jezdez/django_compressor/archive/${PV}.tar.gz -> ${P}.tar.gz" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
IUSE="doc test" |
40 |
|
41 |
@@ -21,28 +21,28 @@ |
42 |
|
43 |
RDEPEND=">=dev-python/django-1.1.4[${PYTHON_USEDEP}] |
44 |
>=dev-python/django-appconf-0.4[${PYTHON_USEDEP}]" |
45 |
-DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] |
46 |
+DEPEND="${RDEPEND} |
47 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
48 |
dev-python/versiontools[${PYTHON_USEDEP}] |
49 |
- test? ( dev-python/twill[${PYTHON_USEDEP}] )" |
50 |
+ test? ( |
51 |
+ dev-python/django-discover-runner[${PYTHON_USEDEP}] |
52 |
+ dev-python/unittest2[${PYTHON_USEDEP}] |
53 |
+ dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}] |
54 |
+ dev-python/html5lib[${PYTHON_USEDEP}] |
55 |
+ dev-python/mock[${PYTHON_USEDEP}] |
56 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
57 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
|
61 |
python_compile_all() { |
62 |
use doc && emake -C docs html |
63 |
} |
64 |
|
65 |
python_test() { |
66 |
- export DJANGO_SETTINGS_MODULE="django.conf" |
67 |
- export SECRET_KEY="green" |
68 |
- local test |
69 |
- for test in compressor/tests/test_*.py |
70 |
- do |
71 |
- if "${PYTHON}" -c \ |
72 |
- "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" ${test} |
73 |
- then |
74 |
- einfo "Test ${test} completed under ${EPYTHON}" |
75 |
- else |
76 |
- die "${test} failed with Python ${EPYTHON}" |
77 |
- fi |
78 |
- done |
79 |
+ set -- django-admin.py test compressor --settings=compressor.test_settings |
80 |
+ echo "$@" |
81 |
+ "$@" || die "Tests failed with ${EPYTHON}" |
82 |
} |
83 |
|
84 |
python_install_all() { |
85 |
|
86 |
|
87 |
|
88 |
1.4 dev-python/django-compressor/ChangeLog |
89 |
|
90 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-compressor/ChangeLog?rev=1.4&view=markup |
91 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-compressor/ChangeLog?rev=1.4&content-type=text/plain |
92 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django-compressor/ChangeLog?r1=1.3&r2=1.4 |
93 |
|
94 |
Index: ChangeLog |
95 |
=================================================================== |
96 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/django-compressor/ChangeLog,v |
97 |
retrieving revision 1.3 |
98 |
retrieving revision 1.4 |
99 |
diff -u -r1.3 -r1.4 |
100 |
--- ChangeLog 29 May 2013 11:54:23 -0000 1.3 |
101 |
+++ ChangeLog 31 May 2013 03:04:44 -0000 1.4 |
102 |
@@ -1,6 +1,9 @@ |
103 |
# ChangeLog for dev-python/django-compressor |
104 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
105 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django-compressor/ChangeLog,v 1.3 2013/05/29 11:54:23 idella4 Exp $ |
106 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django-compressor/ChangeLog,v 1.4 2013/05/31 03:04:44 floppym Exp $ |
107 |
+ |
108 |
+ 31 May 2013; Mike Gilbert <floppym@g.o> django-compressor-1.3.ebuild: |
109 |
+ Use github tarball and actually run tests. XML related tests currently fail. |
110 |
|
111 |
*django-compressor-1.3 (29 May 2013) |