From: Mike Gilbert Date: Thu, 28 Jun 2018 03:01:00 +0000 (-0400) Subject: dev-python/pillow: restore patch to remove scripts install X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e1964254b29fd98ed9ffb9a2631487f4469f9d50;p=gentoo.git dev-python/pillow: restore patch to remove scripts install Closes: https://bugs.gentoo.org/562682 Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247 --- 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 000000000000..c30b00d54d70 --- /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 e18c4f67f8e2..122241c36577 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=(