summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-06-27 23:01:00 -0400
committerMike Gilbert <floppym@gentoo.org>2018-06-27 23:01:21 -0400
commite1964254b29fd98ed9ffb9a2631487f4469f9d50 (patch)
treeb2a48d7c1f4728a98732c39ff227b151c79e1697 /dev-python/pillow
parentdev-python/robotframework: version bump to 3.0.4 (diff)
downloadgentoo-e1964254b29fd98ed9ffb9a2631487f4469f9d50.tar.gz
gentoo-e1964254b29fd98ed9ffb9a2631487f4469f9d50.tar.bz2
gentoo-e1964254b29fd98ed9ffb9a2631487f4469f9d50.zip
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
Diffstat (limited to 'dev-python/pillow')
-rw-r--r--dev-python/pillow/files/pillow-4.3.0-no-scripts.patch12
-rw-r--r--dev-python/pillow/pillow-4.3.0-r1.ebuild (renamed from dev-python/pillow/pillow-4.3.0.ebuild)4
2 files changed, 16 insertions, 0 deletions
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
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=(