python-jaraco.classes: update to 3.3.1
This commit is contained in:
committed by
مهدي شينون (Mehdi Chinoune)
parent
e3ce11375b
commit
bfec681d63
@@ -3,11 +3,11 @@
|
||||
_realname=jaraco.classes
|
||||
pkgbase=mingw-w64-python-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||
pkgver=3.3.0
|
||||
pkgrel=2
|
||||
pkgver=3.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="Utility functions for Python class constructs (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
msys2_references=(
|
||||
'pypi: jaraco.classes'
|
||||
)
|
||||
@@ -22,7 +22,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||
"${MINGW_PACKAGE_PREFIX}-python-wheel")
|
||||
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
|
||||
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('c063dd08e89217cee02c8d5e5ec560f2c8ce6cdc2fcdc2e68f7b2e5547ed3621')
|
||||
sha256sums=('cb28a5ebda8bc47d8c8015307d93163464f9f2b91ab4006e09ff0ce07e8bfb30')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_realname}-${pkgver}"
|
||||
@@ -31,21 +31,18 @@ prepare() {
|
||||
}
|
||||
|
||||
build() {
|
||||
msg "Python build for ${MSYSTEM}"
|
||||
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
||||
|
||||
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
msg "Python test for ${MSYSTEM}"
|
||||
cd "${srcdir}/python-build-${MSYSTEM}"
|
||||
|
||||
${MINGW_PREFIX}/bin/python -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
msg "Python install for ${MSYSTEM}"
|
||||
cd "${srcdir}/python-build-${MSYSTEM}"
|
||||
|
||||
MSYS2_ARG_CONV_EXCL="--prefix=" \
|
||||
|
||||
Reference in New Issue
Block a user