dev-python/pillow: restore patch to remove scripts install
authorMike Gilbert <floppym@gentoo.org>
Thu, 28 Jun 2018 03:01:00 +0000 (23:01 -0400)
committerMike Gilbert <floppym@gentoo.org>
Thu, 28 Jun 2018 03:01:21 +0000 (23:01 -0400)
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 [new file with mode: 0644]
dev-python/pillow/pillow-4.3.0-r1.ebuild [moved from dev-python/pillow/pillow-4.3.0.ebuild with 97% similarity]

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 (file)
index 0000000..c30b00d
--- /dev/null
@@ -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", ],
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 e18c4f67f8e257ea77b5758199eb6e053c3aa25a..122241c36577bb5e0bff11c2bd3ca38a679091c9 100644 (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=(