1 |
commit: f5a58267ec4f7a941ecef85fdb8e7d402fbccf81 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 25 20:04:31 2015 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 25 20:05:12 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a58267 |
7 |
|
8 |
dev-python/reportlab: Patch-out pip and setuptools from setup.py |
9 |
|
10 |
Bug: https://bugs.gentoo.org/566750 |
11 |
|
12 |
Package-Manager: portage-2.2.26_p3 |
13 |
|
14 |
dev-python/reportlab/files/reportlab-no-pip.patch | 12 ++++++++++++ |
15 |
...reportlab-3.1.44-r1.ebuild => reportlab-3.1.44-r2.ebuild} | 4 ++++ |
16 |
.../{reportlab-3.2.0.ebuild => reportlab-3.2.0-r1.ebuild} | 4 ++++ |
17 |
3 files changed, 20 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/reportlab/files/reportlab-no-pip.patch b/dev-python/reportlab/files/reportlab-no-pip.patch |
20 |
new file mode 100644 |
21 |
index 0000000..332878e |
22 |
--- /dev/null |
23 |
+++ b/dev-python/reportlab/files/reportlab-no-pip.patch |
24 |
@@ -0,0 +1,12 @@ |
25 |
+diff --git a/setup.py b/setup.py |
26 |
+--- a/setup.py |
27 |
++++ b/setup.py |
28 |
+@@ -538,7 +538,7 @@ |
29 |
+ ], |
30 |
+ |
31 |
+ #this probably only works for setuptools, but distutils seems to ignore it |
32 |
+- install_requires=['pillow>=2.4.0','pip>=1.4.1', 'setuptools>=2.2'], |
33 |
++ install_requires=['pillow>=2.4.0'], |
34 |
+ ) |
35 |
+ print() |
36 |
+ print('########## SUMMARY INFO #########') |
37 |
|
38 |
diff --git a/dev-python/reportlab/reportlab-3.1.44-r1.ebuild b/dev-python/reportlab/reportlab-3.1.44-r2.ebuild |
39 |
similarity index 97% |
40 |
rename from dev-python/reportlab/reportlab-3.1.44-r1.ebuild |
41 |
rename to dev-python/reportlab/reportlab-3.1.44-r2.ebuild |
42 |
index da7f69b..2f49105 100644 |
43 |
--- a/dev-python/reportlab/reportlab-3.1.44-r1.ebuild |
44 |
+++ b/dev-python/reportlab/reportlab-3.1.44-r2.ebuild |
45 |
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND} |
46 |
app-arch/unzip |
47 |
" |
48 |
|
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}"/reportlab-no-pip.patch |
51 |
+) |
52 |
+ |
53 |
src_unpack() { |
54 |
unpack ${P}.tar.gz |
55 |
cd ${P}/src/reportlab/fonts || die |
56 |
|
57 |
diff --git a/dev-python/reportlab/reportlab-3.2.0.ebuild b/dev-python/reportlab/reportlab-3.2.0-r1.ebuild |
58 |
similarity index 96% |
59 |
rename from dev-python/reportlab/reportlab-3.2.0.ebuild |
60 |
rename to dev-python/reportlab/reportlab-3.2.0-r1.ebuild |
61 |
index fc3505f..01f702b 100644 |
62 |
--- a/dev-python/reportlab/reportlab-3.2.0.ebuild |
63 |
+++ b/dev-python/reportlab/reportlab-3.2.0-r1.ebuild |
64 |
@@ -28,6 +28,10 @@ DEPEND="${RDEPEND} |
65 |
app-arch/unzip |
66 |
" |
67 |
|
68 |
+PATCHES=( |
69 |
+ "${FILESDIR}"/reportlab-no-pip.patch |
70 |
+) |
71 |
+ |
72 |
src_unpack() { |
73 |
unpack ${P}.tar.gz |
74 |
cd ${P}/src/reportlab/fonts || die |