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
This commit is contained in:
Virgil Dupras
2018-07-26 22:45:39 -04:00
parent cf7f0bb6df
commit 28ecfa1782
2 changed files with 15 additions and 2 deletions

View File

@@ -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>

View File

@@ -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
}