dev-python/ufoProcessor: enable py3.11

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-05-01 12:26:58 +05:00
parent 67d0f4b655
commit a80e67689c
4 changed files with 51 additions and 52 deletions

View File

@@ -1 +1 @@
DIST ufoProcessor-1.9.0.gh.tar.gz 34299 BLAKE2B 06570e3e3ade479e470460fcec0e8af9e786d03d95b27f8a65b6b89519b281da0931f7fc4171fe212120881efcfce489c2d0c634467402981670d392cc6113bc SHA512 8e98777eebe0e4d470cb1d6765826ea8752fb3bdcf539581c7b28cede7907b53d68371406f0ee19e718b1de585a4f1d191ef07583fb9c3badc45fb4f3ceb576c
DIST ufoProcessor-1.9.0.zip 70066 BLAKE2B 498e98043c0b65638a8edd3f64071aff02a84d017358e9a04e563790b9d6c92078343e16109d4feaabc8c1163b679be751b3f3cc0431bb1501f6d5caa63373b3 SHA512 6a7089fc92334c6b206a336d23f63f5cc838b3bc205eceb8e9f8cc2039ae5e4e2a3da487fc3d4b11a4072a729878c8068fbadc5ca07b785ac0a20a24efb747f4

View File

@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/LettError/ufoProcessor/issues</bugs-to>
<remote-id type="github">LettError/ufoProcessor</remote-id>
<remote-id type="pypi">ufoProcessor</remote-id>
</upstream>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/LettError/ufoProcessor/issues</bugs-to>
<remote-id type="github">LettError/ufoProcessor</remote-id>
<remote-id type="pypi">ufoProcessor</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
DESCRIPTION="A Python package for processing and generating UFO files"
HOMEPAGE="https://github.com/LettError/ufoProcessor"
SRC_URI="https://github.com/LettError/ufoProcessor/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
IUSE="test"
KEYWORDS="~amd64"
RDEPEND="
${PYTHON_DEPS}
>=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
>=dev-python/fontMath-0.4.9[${PYTHON_USEDEP}]
>=dev-python/fontParts-0.8.2[${PYTHON_USEDEP}]
>=dev-python/fonttools-3.32.0[${PYTHON_USEDEP}]
>=dev-python/MutatorMath-2.1.2[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? ( dev-python/unicodedata2[${PYTHON_USEDEP}] )
"
BDEPEND="dev-python/setuptools-scm[${PYTHON_USEDEP}]"
RESTRICT="!test? ( test )"
pkg_setup() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV%_*}"
}
python_test() {
"${EPYTHON}" Tests/tests.py || die "Tests failed with ${EPYTHON}"
}

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Read, write and generate UFOs with designspace data"
HOMEPAGE="
https://pypi.org/project/ufoProcessor/
https://github.com/LettError/ufoProcessor
"
SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${PV} .zip)"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/MutatorMath-2.1.2[${PYTHON_USEDEP}]
>=dev-python/defcon-0.6.0[${PYTHON_USEDEP}]
>=dev-python/fontMath-0.4.9[${PYTHON_USEDEP}]
>=dev-python/fontParts-0.8.2[${PYTHON_USEDEP}]
>=dev-python/fonttools-3.32.0[${PYTHON_USEDEP}]
>=dev-python/fs-2.2.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.0[${PYTHON_USEDEP}]
"
BDEPEND="
app-arch/unzip
test? ( dev-python/unicodedata2[${PYTHON_USEDEP}] )
"
distutils_enable_tests setup.py
python_test() {
${EPYTHON} Tests/tests.py || die "Tests failed with ${EPYTHON}"
}