dev-python/reportlab: Patch-out pip and setuptools from setup.py

Bug: https://bugs.gentoo.org/566750

Package-Manager: portage-2.2.26_p3
This commit is contained in:
Mike Gilbert
2015-11-25 15:04:31 -05:00
parent 43921b2c10
commit f5a58267ec
3 changed files with 20 additions and 0 deletions

View File

@@ -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 #########')

View File

@@ -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

View File

@@ -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