mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user