python-mdit_py_plugins: update to 0.4.1

This commit is contained in:
Biswapriyo Nath
2024-06-24 05:29:24 +00:00
parent 76745989ee
commit a89fe1ee64

View File

@@ -3,33 +3,31 @@
_realname=mdit_py_plugins
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=0.4.0
pkgrel=2
pkgver=0.4.1
pkgrel=1
pkgdesc="Collection of core plugins for markdown-it-py (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
url='https://github.com/executablebooks/mdit-py-plugins'
url='https://mdit-py-plugins.readthedocs.io/'
msys2_repository_url='https://github.com/executablebooks/mdit-py-plugins'
msys2_references=(
'archlinux: python-mdit_py_plugins'
'pypi: mdit-py-plugins'
)
license=('MIT')
license=('spdx:MIT')
depends=("${MINGW_PACKAGE_PREFIX}-python-markdown-it-py")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-installer"
"${MINGW_PACKAGE_PREFIX}-python-flit-core")
source=("${_realname//_/-}-${pkgver}.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('e156efb677d0a660b8f9a5807bf48c6754d94f4f95996b36e17f131056a69e1a')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('834b8ac23d1cd60cec703646ffd22ae97b7955a6d596eb1d304be1e251ae499c')
build() {
msg "Python build for ${MSYSTEM}"
cd "${srcdir}"
cp -r "${_realname//_/-}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
msg "Python install for ${MSYSTEM}"
cd "${srcdir}/python-build-${MSYSTEM}"
MSYS2_ARG_CONV_EXCL="--prefix=" \