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
This commit is contained in:
Mike Gilbert
2018-06-27 23:01:00 -04:00
parent 494a6f54e8
commit e1964254b2
2 changed files with 16 additions and 0 deletions

View File

@@ -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", ],

View File

@@ -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=(