enable some more clangarm64 packages

This commit is contained in:
Miloš Komarčević
2022-06-08 11:21:08 +02:00
parent 1c7907c6cc
commit fce9c52fdd
3 changed files with 10 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ pkgver=2.11.5
pkgrel=1
pkgdesc="A common base representation of python source code for pylint and other projects (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
url="https://github.com/PyCQA/astroid"
license=('spdx:LGPL-2.1-or-later')
depends=("${MINGW_PACKAGE_PREFIX}-python"

View File

@@ -10,9 +10,9 @@ pkgver=1.7.1
pkgrel=1
pkgdesc="A fast and thorough lazy object proxy (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
url="https://github.com/ionelmc/python-lazy-object-proxy"
license=('BSD')
license=('spdx:BSD-2-Clause')
depends=("${MINGW_PACKAGE_PREFIX}-python")
makedepends=(
"${MINGW_PACKAGE_PREFIX}-python-setuptools"
@@ -25,23 +25,23 @@ sha256sums=('3dfe0846b9e90fad09e2611761270de6fefc24cdacccf29decebabca14d5711b')
prepare() {
cd "${srcdir}"
rm -rf python-build-${CARCH} | true
cp -r "python-${_realname}-${pkgver}" "python-build-${CARCH}"
rm -rf python-build-${MSYSTEM} | true
cp -r "python-${_realname}-${pkgver}" "python-build-${MSYSTEM}"
cd "python-build-${CARCH}"
cd "python-build-${MSYSTEM}"
sed -i 's/setuptools_scm>=3.3.1,<6.0/setuptools_scm/' setup.cfg
# Set version for setuptools_scm
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
}
build() {
msg "Python build for ${CARCH}"
cd "${srcdir}/python-build-${CARCH}"
msg "Python build for ${MSYSTEM}"
cd "${srcdir}/python-build-${MSYSTEM}"
${MINGW_PREFIX}/bin/python setup.py build
}
package() {
cd "${srcdir}/python-build-${CARCH}"
cd "${srcdir}/python-build-${MSYSTEM}"
MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \
${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \
--root="${pkgdir}" --optimize=1 --skip-build

View File

@@ -10,7 +10,7 @@ pkgver=2.14.1
pkgrel=1
pkgdesc="Analyzes Python code looking for bugs and signs of poor quality (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
url='http://pylint.pycqa.org/'
license=('spdx:GPL-2.0-or-later')
depends=("${MINGW_PACKAGE_PREFIX}-python"