Skip to content

Commit

Permalink
python-ford: update to 7.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Oct 29, 2023
1 parent 8dd2d4e commit 26b94ae
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions mingw-w64-python-ford/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ _pyname=FORD
_realname=ford
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=6.2.5
pkgrel=2
pkgver=7.0.1
pkgrel=1
pkgdesc="FORD, standing for FORtran Documenter, is an automatic documentation generator for modern Fortran programs (mingw-w64)"
url="https://github.com/Fortran-FOSS-Programmers/ford"
license=('spdx:GPL-3.0-or-later')
Expand All @@ -21,7 +21,9 @@ depends=("${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-markdown"
"${MINGW_PACKAGE_PREFIX}-python-markdown-include"
"${MINGW_PACKAGE_PREFIX}-python-markdown-math"
"${MINGW_PACKAGE_PREFIX}-python-pcpp"
"${MINGW_PACKAGE_PREFIX}-python-pygments"
"${MINGW_PACKAGE_PREFIX}-python-rich"
"${MINGW_PACKAGE_PREFIX}-python-toposort"
"${MINGW_PACKAGE_PREFIX}-python-tqdm")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
Expand All @@ -32,7 +34,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-wheel")
options=(!strip)
source=("https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
sha256sums=('5fc8570804244feebbf6ae7102f8fd7e5b4c9f41e4c2173ba7558e49e1df3ab6')
sha256sums=('6ef138ff91a6da9be62f999499e574799fd62d895154df75c48d5e9cfcc17575')

prepare() {
cd "${srcdir}"/${_realname}-${pkgver}
Expand All @@ -55,4 +57,6 @@ package() {
MSYS2_ARG_CONV_EXCL="--prefix=" \
${MINGW_PREFIX}/bin/python -m installer --prefix=${MINGW_PREFIX} \
--destdir="${pkgdir}" dist/*.whl

install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE"
}

0 comments on commit 26b94ae

Please sign in to comment.