dev-python/pillow: re-support pypy
authorVirgil Dupras <vdupras@gentoo.org>
Fri, 7 Sep 2018 18:43:59 +0000 (14:43 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Fri, 7 Sep 2018 18:45:31 +0000 (14:45 -0400)
commit33875ec2cd5306aad166cb0e5202f6342c3a2f95
tree810b1d590bde7e54f10911a58fb2a14baefc7123
parent7547f010f6d6687d5172186ebd3c325af44b2962
dev-python/pillow: re-support pypy

pypy support had been dropped in pillow 4.3 ebuild and is being
re-introduced now. Tests pass.

This required a little bit of library path fiddling in setup.py, the
root cause of it being that `sysconfig.get_config_var('prefix')` under
pypy doesn't return the same thing as with CPython. This fiddling was
required if we wanted to keep the --disable-platform-guessing flag.

I tried not to break the fix that was done in bug 661830.

I've tried pypy3, but not all tests passed. I didn't investigate further
(I'm just trying to return to pre-4.3 levels so that we can stabilize)

Bug: https://bugs.gentoo.org/661830
Closes: https://bugs.gentoo.org/608620
Package-Manager: Portage-2.3.49, Repoman-2.3.10
dev-python/pillow/files/pillow-5.2.0-fix-lib-paths.patch [new file with mode: 0644]
dev-python/pillow/files/pillow-5.2.0-no-usr-lib.patch [deleted file]
dev-python/pillow/pillow-5.2.0.ebuild