diff --git a/dev-python/pillow/files/pillow-3.4.2-no-scripts.patch b/dev-python/pillow/files/pillow-3.4.2-no-scripts.patch new file mode 100644 index 0000000000000..a8aa0ecc0d0f5 --- /dev/null +++ b/dev-python/pillow/files/pillow-3.4.2-no-scripts.patch @@ -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', diff --git a/dev-python/pillow/pillow-3.4.2.ebuild b/dev-python/pillow/pillow-3.4.2-r1.ebuild similarity index 97% rename from dev-python/pillow/pillow-3.4.2.ebuild rename to dev-python/pillow/pillow-3.4.2-r1.ebuild index 80079f9e62103..c4ed8bcfde64b 100644 --- a/dev-python/pillow/pillow-3.4.2.ebuild +++ b/dev-python/pillow/pillow-3.4.2-r1.ebuild @@ -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