python-ufolib2: update to 0.16.0
This commit is contained in:
@@ -4,8 +4,8 @@ _realname=ufolib2
|
||||
_pyname=ufoLib2
|
||||
pkgbase=mingw-w64-python-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||
pkgver=0.15.0
|
||||
pkgrel=2
|
||||
pkgver=0.16.0
|
||||
pkgrel=1
|
||||
pkgdesc="A library to deal with UFO font sources (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
|
||||
@@ -24,7 +24,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
|
||||
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
|
||||
source=("https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
|
||||
sha256sums=('a2ee420df4192dae4923b52cfacf1e6da486af222d2732477211d00aa57f0e33')
|
||||
sha256sums=('49f0dc7f72ccacfe7faefe0d53d37971d45664d8b0563ef36956fa7bfa55a2bd')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pyname}-${pkgver}"
|
||||
@@ -36,7 +36,6 @@ prepare() {
|
||||
|
||||
build() {
|
||||
msg "Python build for ${MSYSTEM}"
|
||||
cd "${srcdir}"
|
||||
cp -r "${_pyname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
||||
|
||||
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
||||
@@ -46,7 +45,7 @@ check() {
|
||||
msg "Python test for ${MSYSTEM}"
|
||||
cd "${srcdir}/python-build-${MSYSTEM}"
|
||||
|
||||
${MINGW_PREFIX}/bin/python -m pytest || warning "Tests failed"
|
||||
PYTHONPATH="$(pwd)/src" ${MINGW_PREFIX}/bin/python -m pytest || warning "Tests failed"
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Reference in New Issue
Block a user