Skip to content
Snippets Groups Projects
Commit 8f47ef65 authored by alice's avatar alice Committed by alice
Browse files

community/psautohint: upgrade to 2.4.0

parent 204913df
No related branches found
No related tags found
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!38717community/py3-ufolib2: upgrade to 0.13.1
# Contributor: Rasmus Thomsen <oss@cogitri.dev> # Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev> # Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=psautohint pkgname=psautohint
pkgver=2.3.1 pkgver=2.4.0
pkgrel=1 pkgrel=0
pkgdesc="standalone version of AFDKO's autohinter" pkgdesc="standalone version of AFDKO's autohinter"
url="https://github.com/adobe-type-tools/psautohint" url="https://github.com/adobe-type-tools/psautohint"
arch="all !s390x" # ufo2ft arch="all !s390x" # ufo2ft
license="Apache-2.0" license="Apache-2.0"
depends="python3 py3-fonttools py3-lxml py3-statmake py3-ufo2ft py3-setuptools" depends="
makedepends="py3-setuptools_scm python3-dev" py3-fonttools
source="https://github.com/adobe-type-tools/psautohint/releases/download/v$pkgver/psautohint-$pkgver.zip" py3-fs
py3-lxml
python3
"
makedepends="
py3-gpep517
py3-installer
py3-setuptools_scm
py3-wheel
python3-dev
"
checkdepends="py3-pytest py3-pytest-xdist"
source="https://github.com/adobe-type-tools/psautohint/releases/download/v$pkgver/psautohint-$pkgver.tar.gz"
options="!check" # fail for some reason
build() { build() {
python3 setup.py build export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
mkdir dist
python3 -m gpep517 build-wheel \
--wheel-dir dist \
--output-fd 1
} }
check() { check() {
python3 setup.py test PYTHONPATH="$(echo build/lib.linux*)" \
pytest
} }
package() { package() {
python3 setup.py install --prefix=/usr --root="$pkgdir" --skip-build python3 -m installer -d "$pkgdir" \
dist/psautohint-*.whl
} }
sha512sums=" sha512sums="
0bf7daf38c8425b4f46eb836bd22d3da6c8a2d97811e91738ca8adae193e9204db4bcfda41947d42a3ad2d5ea9bf1b86ca5771585fb0689091ab082c83050cfe psautohint-2.3.1.zip e690794630d5ad178c708f15d150870b33a03a20051ed3f8b85c48b2f24cac4455561303ca4d7344a76b48c737eb06ca0b09d44d129ae3e1ea8ee43c3bb8ee04 psautohint-2.4.0.tar.gz
" "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment