diff --git a/dev-python/pillow/files/pillow-4.3.0-no-scripts.patch b/dev-python/pillow/files/pillow-4.3.0-no-scripts.patch new file mode 100644 index 0000000000000..c30b00d54d70e --- /dev/null +++ b/dev-python/pillow/files/pillow-4.3.0-no-scripts.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/562682 + +--- a/setup.py ++++ b/setup.py +@@ -779,7 +779,6 @@ try: + ext_modules=[Extension("PIL._imaging", ["_imaging.c"])], + include_package_data=True, + packages=find_packages(), +- scripts=glob.glob("Scripts/*.py"), + install_requires=['olefile'], + test_suite='nose.collector', + keywords=["Imaging", ], diff --git a/dev-python/pillow/pillow-4.3.0.ebuild b/dev-python/pillow/pillow-4.3.0-r1.ebuild similarity index 97% rename from dev-python/pillow/pillow-4.3.0.ebuild rename to dev-python/pillow/pillow-4.3.0-r1.ebuild index e18c4f67f8e25..122241c36577b 100644 --- a/dev-python/pillow/pillow-4.3.0.ebuild +++ b/dev-python/pillow/pillow-4.3.0-r1.ebuild @@ -43,6 +43,10 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}"/pillow-4.3.0-no-scripts.patch +) + python_compile() { # raqm not in portage yet local args=(