dev-util/psautohint: enable py3.9

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-06-19 22:15:53 +02:00
parent 60d293b5e1
commit ed8ca21bb9
2 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<!-- maintainer-needed -->
<upstream>
<bugs-to>https://github.com/adobe-type-tools/psautohint/issues</bugs-to>
<remote-id type="github">adobe-type-tools/psautohint</remote-id>
<remote-id type="pypi">psautohint</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -6,7 +6,7 @@ EAPI=7
COMMIT="1e4c5061d328105c4dcfcb6fdbc27ec49b3e9d23"
DISTUTILS_IN_SOURCE_BUILD=1
EMESON_SOURCE="${S}/libpsautohint"
PYTHON_COMPAT=( python3_8 )
PYTHON_COMPAT=( python3_{8..9} )
inherit meson distutils-r1
@@ -37,7 +37,6 @@ pkg_setup() {
local _v=$(ver_cut 4)
_v="$(ver_cut 1-3)${_v:0:1}$(ver_cut 5)"
export SETUPTOOLS_SCM_PRETEND_VERSION="${_v/p/.post}"
MESON_BUILD_DIR="${WORKDIR}/${P}-build"
}
src_unpack() {
@@ -48,6 +47,7 @@ src_unpack() {
}
src_configure() {
MESON_BUILD_DIR="${WORKDIR}/${P}-build"
BUILD_DIR="${MESON_BUILD_DIR}" meson_src_configure
distutils-r1_src_configure
}