mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
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:
12
dev-python/reportlab/files/reportlab-no-pip.patch
Normal file
12
dev-python/reportlab/files/reportlab-no-pip.patch
Normal 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 #########')
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user