diff options
| author | Virgil Dupras <vdupras@gentoo.org> | 2018-07-26 22:45:39 -0400 |
|---|---|---|
| committer | Virgil Dupras <vdupras@gentoo.org> | 2018-07-26 22:58:53 -0400 |
| commit | 28ecfa178296c73f33305ece57d51346cf70b89f (patch) | |
| tree | a627336a7f753506ab186f99adc6255d08be3d5b /dev-python | |
| parent | cf7f0bb6dfcdf11dbaa1b04c5a3e3ffb647ff519 (diff) | |
| download | gentoo-28ecfa178296c73f33305ece57d51346cf70b89f.tar.gz gentoo-28ecfa178296c73f33305ece57d51346cf70b89f.tar.bz2 gentoo-28ecfa178296c73f33305ece57d51346cf70b89f.zip | |
dev-python/pillow: Add support for Python 3.7
* Remove spurious eutils inherit
* Add myself as primary maintainer
Closes: https://bugs.gentoo.org/661616
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pillow/metadata.xml | 4 | ||||
| -rw-r--r-- | dev-python/pillow/pillow-5.2.0.ebuild | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-python/pillow/metadata.xml b/dev-python/pillow/metadata.xml index c3f74b982665..270281456096 100644 --- a/dev-python/pillow/metadata.xml +++ b/dev-python/pillow/metadata.xml @@ -1,6 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <maintainer type="person"> + <email>vdupras@gentoo.org</email> + <name>Virgil Dupras</name> + </maintainer> <maintainer type="project"> <email>python@gentoo.org</email> <name>Python</name> diff --git a/dev-python/pillow/pillow-5.2.0.ebuild b/dev-python/pillow/pillow-5.2.0.ebuild index 1476c3915c58..b63542786fe6 100644 --- a/dev-python/pillow/pillow-5.2.0.ebuild +++ b/dev-python/pillow/pillow-5.2.0.ebuild @@ -3,10 +3,10 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{5,6} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) PYTHON_REQ_USE='tk?,threads(+)' -inherit distutils-r1 eutils virtualx +inherit distutils-r1 virtualx MY_PN=Pillow MY_P=${MY_PN}-${PV} @@ -64,6 +64,15 @@ python_configure_all() { ) } +python_compile() { + # Pillow monkeypatches distutils to achieve parallel compilation. This + # conflicts with distutils' builtin parallel computation (since py35) + # and make builds hang. To avoid that, we set MAX_CONCURRENCY=1 to + # disable monkeypatching. Can be removed when/if + # https://github.com/python-pillow/Pillow/pull/3272 is merged. + MAX_CONCURRENCY=1 distutils-r1_python_compile +} + python_compile_all() { use doc && emake -C docs html } |
