commit:     e1964254b29fd98ed9ffb9a2631487f4469f9d50
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 28 03:01:00 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Jun 28 03:01:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1964254

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

 dev-python/pillow/files/pillow-4.3.0-no-scripts.patch        | 12 ++++++++++++
 .../pillow/{pillow-4.3.0.ebuild => pillow-4.3.0-r1.ebuild}   |  4 ++++
 2 files changed, 16 insertions(+)

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 00000000000..c30b00d54d7
--- /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 e18c4f67f8e..122241c3657 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=(

Reply via email to