mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-python/pillow: don't install example scripts in /usr/bin
We already install them in /usr/share/doc/${PF}/examples.
This resolves a file collision with dev-python/cgkit.
Bug: https://bugs.gentoo.org/600694
Package-Manager: portage-2.3.2_p11
This commit is contained in:
12
dev-python/pillow/files/pillow-3.4.2-no-scripts.patch
Normal file
12
dev-python/pillow/files/pillow-3.4.2-no-scripts.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 5257e748..410ce788 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -746,7 +746,6 @@ setup(name=NAME,
|
||||
ext_modules=[Extension("PIL._imaging", ["_imaging.c"])],
|
||||
include_package_data=True,
|
||||
packages=find_packages(),
|
||||
- scripts=glob.glob("Scripts/*.py"),
|
||||
test_suite='nose.collector',
|
||||
keywords=["Imaging", ],
|
||||
license='Standard PIL License',
|
||||
@@ -48,6 +48,10 @@ S="${WORKDIR}/${MY_P}"
|
||||
# See _render and _clean in Tests/test_imagefont.py
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/pillow-3.4.2-no-scripts.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable all the stuff we don't want.
|
||||
local f
|
||||
Reference in New Issue
Block a user