diff --git a/mingw-w64-python-flit/PKGBUILD b/mingw-w64-python-flit/PKGBUILD index 31f4e3b35c..3dfb05863e 100644 --- a/mingw-w64-python-flit/PKGBUILD +++ b/mingw-w64-python-flit/PKGBUILD @@ -7,6 +7,7 @@ pkgver=3.5.1 pkgrel=1 pkgdesc='Simplified packaging of Python modules (mingw-w64)' arch=('any') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') url='https://github.com/takluyver/flit' license=('BSD') depends=("${MINGW_PACKAGE_PREFIX}-python" @@ -149,6 +150,7 @@ package_python-flit-core() { sed -e "s|$srcdir||g" -i {} \; } +# template start; name=mingw-w64-splitpkg-wrappers; version=1.0; for _name in "${pkgname[@]}"; do _short="package_${_name#${MINGW_PACKAGE_PREFIX}-}" _func="$(declare -f "${_short}")" diff --git a/mingw-w64-python-pygments-github-lexers/PKGBUILD b/mingw-w64-python-pygments-github-lexers/PKGBUILD index 5a1d9c0fe2..8559ae6147 100644 --- a/mingw-w64-python-pygments-github-lexers/PKGBUILD +++ b/mingw-w64-python-pygments-github-lexers/PKGBUILD @@ -7,6 +7,7 @@ pkgver=0.0.5 pkgrel=1 pkgdesc="Pygments Github custom lexers. (mingw-w64)" arch=('any') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') url='https://github.com/liluo/pygments-github-lexers' license=('BSD') depends=("${MINGW_PACKAGE_PREFIX}-python" diff --git a/mingw-w64-python-sphinxcontrib-github-alt/PKGBUILD b/mingw-w64-python-sphinxcontrib-github-alt/PKGBUILD index ff5184a866..2634974e60 100644 --- a/mingw-w64-python-sphinxcontrib-github-alt/PKGBUILD +++ b/mingw-w64-python-sphinxcontrib-github-alt/PKGBUILD @@ -1,7 +1,5 @@ -# Maintainer: Some One -# -# https://github.com/jupyter/sphinxcontrib_github_alt/archive/refs/tags/1.2.tar.gz -# +# Maintainer: J. Peter Mugaas + _realname=sphinxcontrib-github-alt pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") @@ -9,43 +7,13 @@ pkgver=1.2 pkgrel=1 pkgdesc="Link to GitHub issues, pull requests, commits and users from Sphinx docs. (mingw-w64)" arch=('any') +mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') url='https://github.com/jupyter/sphinxcontrib_github_alt' license=('BSD') -depends=("${MINGW_PACKAGE_PREFIX}-python") -makedepends=("${MINGW_PACKAGE_PREFIX}-python" - "${MINGW_PACKAGE_PREFIX}-python-alabaster" - "${MINGW_PACKAGE_PREFIX}-python-atomicwrites" - "${MINGW_PACKAGE_PREFIX}-python-babel" - "${MINGW_PACKAGE_PREFIX}-python-coverage" - "${MINGW_PACKAGE_PREFIX}-python-docutils" - "${MINGW_PACKAGE_PREFIX}-python-imagesize" - "${MINGW_PACKAGE_PREFIX}-python-pluggy" - "${MINGW_PACKAGE_PREFIX}-python-py" - "${MINGW_PACKAGE_PREFIX}-python-pygments-github-lexers" - "${MINGW_PACKAGE_PREFIX}-python-pyparsing" - "${MINGW_PACKAGE_PREFIX}-python-pyproject2setuppy" - "${MINGW_PACKAGE_PREFIX}-python-pytest" - "${MINGW_PACKAGE_PREFIX}-python-pytest-cov" - "${MINGW_PACKAGE_PREFIX}-python-jinja2" - "${MINGW_PACKAGE_PREFIX}-python-markupsafe" - "${MINGW_PACKAGE_PREFIX}-python-testpath" - "${MINGW_PACKAGE_PREFIX}-python-requests" - "${MINGW_PACKAGE_PREFIX}-python-pytz" - "${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-applehelp" - "${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-devhelp" - "${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-github-alt" - "${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-htmlhelp" - "${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-jsmath" - "${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-qthelp" - "${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-serializinghtml" - "${MINGW_PACKAGE_PREFIX}-python-six" - "${MINGW_PACKAGE_PREFIX}-python-snowballstemmer" - - - "${MINGW_PACKAGE_PREFIX}-python-tomli" - "${MINGW_PACKAGE_PREFIX}-python-tomli-w" - - ) +depends=("${MINGW_PACKAGE_PREFIX}-python" + "${MINGW_PACKAGE_PREFIX}-python-docutils" + "${MINGW_PACKAGE_PREFIX}-python-sphinx") +makedepends=("${MINGW_PACKAGE_PREFIX}-python-pyproject2setuppy") source=("${_realname}-${pkgver}.tar.gz"::"$url/archive/refs/tags/${pkgver}.tar.gz") sha256sums=('7a85ad988f7b7cdc230d58854c31acab1308a75016b9c453bf76bfc0598cbbac') @@ -63,12 +31,6 @@ build() { "${MINGW_PREFIX}"/bin/python -m pyproject2setuppy.main build } -check() { - cd "${srcdir}/python-build-${MSYSTEM}" - - "${MINGW_PREFIX}"/bin/python -m pyproject2setuppy.main check -} - package() { cd "${srcdir}/python-build-${MSYSTEM}"