1 |
commit: 5d16c01786b1352bf3f8b8e4bea1808ee24f1a5f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 2 22:52:15 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 3 09:11:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d16c017 |
7 |
|
8 |
dev-python/django-compressor: Clean old up |
9 |
|
10 |
dev-python/django-compressor/Manifest | 1 - |
11 |
.../django-compressor/django-compressor-1.4.ebuild | 61 ---------------------- |
12 |
2 files changed, 62 deletions(-) |
13 |
|
14 |
diff --git a/dev-python/django-compressor/Manifest b/dev-python/django-compressor/Manifest |
15 |
index 2f7771974bf..33a69120e34 100644 |
16 |
--- a/dev-python/django-compressor/Manifest |
17 |
+++ b/dev-python/django-compressor/Manifest |
18 |
@@ -1,2 +1 @@ |
19 |
-DIST django-compressor-1.4.tar.gz 103414 BLAKE2B b9ba72dff76a621e47533c220175c01bd31612d53a75ced3c900201337697af254e86fb69394a12eab400f022e1a70d524467619e0ecfeace50c6552418a2f91 SHA512 620618675585248a38040d91e3c33a534758cc87c4b2cab16ac3d55f82e37be6d4d7058226f6366e14305465a29235e89acba937019cd28fe4285614797179e2 |
20 |
DIST django-compressor-1.5.tar.gz 105855 BLAKE2B 18cd7d664a683c44674d89f714e36dc4c7c8f9412567c12b31bc563a16340a11ffc3c4e686fa8d360a40553989ed41aa208e71aa31d0bb2c5fe31f5d7c3261e7 SHA512 d6c7a04263895a4195754a49bd4831053186c99d6fdd07977c26059eb931c982bd3b60848311e8469ad0e0298204a5fc3f0e63697a5af5608abf0b76e521c797 |
21 |
|
22 |
diff --git a/dev-python/django-compressor/django-compressor-1.4.ebuild b/dev-python/django-compressor/django-compressor-1.4.ebuild |
23 |
deleted file mode 100644 |
24 |
index ddef2f2c9f7..00000000000 |
25 |
--- a/dev-python/django-compressor/django-compressor-1.4.ebuild |
26 |
+++ /dev/null |
27 |
@@ -1,61 +0,0 @@ |
28 |
-# Copyright 1999-2015 Gentoo Foundation |
29 |
-# Distributed under the terms of the GNU General Public License v2 |
30 |
- |
31 |
-EAPI=5 |
32 |
- |
33 |
-PYTHON_COMPAT=( python2_7 python3_4 ) |
34 |
- |
35 |
-inherit distutils-r1 |
36 |
- |
37 |
-MY_PN="${PN/-/_}" |
38 |
- |
39 |
-DESCRIPTION="Compresses linked and inline javascript or CSS into a single cached file" |
40 |
-HOMEPAGE="https://github.com/django-compressor/django-compressor" |
41 |
-SRC_URI="https://github.com/jezdez/django_compressor/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
-KEYWORDS="amd64 x86" |
43 |
-IUSE="doc test" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
- |
48 |
-RDEPEND=" |
49 |
- dev-python/django[${PYTHON_USEDEP}] |
50 |
- >=dev-python/django-appconf-0.4[${PYTHON_USEDEP}]" |
51 |
-DEPEND="${RDEPEND} |
52 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
- dev-python/versiontools[${PYTHON_USEDEP}] |
54 |
- test? ( |
55 |
- dev-python/django[${PYTHON_USEDEP}] |
56 |
- dev-python/django-discover-runner[${PYTHON_USEDEP}] |
57 |
- dev-python/unittest2[${PYTHON_USEDEP}] |
58 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
59 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
60 |
- dev-python/mock[${PYTHON_USEDEP}] |
61 |
- dev-python/jinja[${PYTHON_USEDEP}] |
62 |
- dev-python/lxml[${PYTHON_USEDEP}] |
63 |
- dev-python/Coffin[${PYTHON_USEDEP}] |
64 |
- dev-python/jingo[${PYTHON_USEDEP}] |
65 |
- )" |
66 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
67 |
- |
68 |
-python_compile_all() { |
69 |
- use doc && emake -C docs html |
70 |
-} |
71 |
- |
72 |
-python_test() { |
73 |
- # https://github.com/django-compressor/django-compressor/issues/531 532 |
74 |
- pushd "${BUILD_DIR}/lib" > /dev/null || die |
75 |
- if python_is_python3; then |
76 |
- sed -e s':test_cachekey:_&:' -e s':test_css:_&:g' \ |
77 |
- -i compressor/tests/test_base.py || die |
78 |
- fi |
79 |
- set -- django-admin.py test compressor --settings=compressor.test_settings |
80 |
- echo "$@" |
81 |
- "$@" || die "Tests failed with ${EPYTHON}" |
82 |
- popd > /dev/null || die |
83 |
-} |
84 |
- |
85 |
-python_install_all() { |
86 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
87 |
- distutils-r1_python_install_all |
88 |
-} |