summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-11-25 15:04:31 -0500
committerMike Gilbert <floppym@gentoo.org>2015-11-25 15:05:12 -0500
commitf5a58267ec4f7a941ecef85fdb8e7d402fbccf81 (patch)
tree941723622e2a920224c2cb20747371110eca0dbd /dev-python/reportlab
parentapp-arch/unace: update to Debian patchset 8 #566018 (diff)
downloadgentoo-f5a58267ec4f7a941ecef85fdb8e7d402fbccf81.tar.gz
gentoo-f5a58267ec4f7a941ecef85fdb8e7d402fbccf81.tar.bz2
gentoo-f5a58267ec4f7a941ecef85fdb8e7d402fbccf81.zip
dev-python/reportlab: Patch-out pip and setuptools from setup.py
Bug: https://bugs.gentoo.org/566750 Package-Manager: portage-2.2.26_p3
Diffstat (limited to 'dev-python/reportlab')
-rw-r--r--dev-python/reportlab/files/reportlab-no-pip.patch12
-rw-r--r--dev-python/reportlab/reportlab-3.1.44-r2.ebuild (renamed from dev-python/reportlab/reportlab-3.1.44-r1.ebuild)4
-rw-r--r--dev-python/reportlab/reportlab-3.2.0-r1.ebuild (renamed from dev-python/reportlab/reportlab-3.2.0.ebuild)4
3 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/reportlab/files/reportlab-no-pip.patch b/dev-python/reportlab/files/reportlab-no-pip.patch
new file mode 100644
index 000000000000..332878e24dcf
--- /dev/null
+++ b/dev-python/reportlab/files/reportlab-no-pip.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+--- a/setup.py
++++ b/setup.py
+@@ -538,7 +538,7 @@
+ ],
+
+ #this probably only works for setuptools, but distutils seems to ignore it
+- install_requires=['pillow>=2.4.0','pip>=1.4.1', 'setuptools>=2.2'],
++ install_requires=['pillow>=2.4.0'],
+ )
+ print()
+ print('########## SUMMARY INFO #########')
diff --git a/dev-python/reportlab/reportlab-3.1.44-r1.ebuild b/dev-python/reportlab/reportlab-3.1.44-r2.ebuild
index da7f69bed81f..2f49105817a5 100644
--- a/dev-python/reportlab/reportlab-3.1.44-r1.ebuild
+++ b/dev-python/reportlab/reportlab-3.1.44-r2.ebuild
@@ -31,6 +31,10 @@ DEPEND="${RDEPEND}
app-arch/unzip
"
+PATCHES=(
+ "${FILESDIR}"/reportlab-no-pip.patch
+)
+
src_unpack() {
unpack ${P}.tar.gz
cd ${P}/src/reportlab/fonts || die
diff --git a/dev-python/reportlab/reportlab-3.2.0.ebuild b/dev-python/reportlab/reportlab-3.2.0-r1.ebuild
index fc3505fedca7..01f702bccdc5 100644
--- a/dev-python/reportlab/reportlab-3.2.0.ebuild
+++ b/dev-python/reportlab/reportlab-3.2.0-r1.ebuild
@@ -28,6 +28,10 @@ DEPEND="${RDEPEND}
app-arch/unzip
"
+PATCHES=(
+ "${FILESDIR}"/reportlab-no-pip.patch
+)
+
src_unpack() {
unpack ${P}.tar.gz
cd ${P}/src/reportlab/fonts || die