Skip to content

Commit

Permalink
dev-python/pillow: restore patch to remove scripts install
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/562682
Package-Manager: Portage-2.3.40_p15, Repoman-2.3.9_p247
  • Loading branch information
floppym committed Jun 28, 2018
1 parent 494a6f5 commit e196425
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dev-python/pillow/files/pillow-4.3.0-no-scripts.patch
Original file line number Diff line number Diff line change
@@ -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", ],
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down

0 comments on commit e196425

Please sign in to comment.