python-sphinx_rtd_theme: update to 1.2.0

This commit is contained in:
Mehdi Chinoune
2023-02-08 01:23:11 +00:00
committed by مهدي شينون (Mehdi Chinoune)
parent eb9c490203
commit ae6a09dba0

View File

@@ -6,24 +6,23 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=1.1.1
pkgver=1.2.0
pkgrel=1
pkgdesc="Python Sphinx Read The Docs Theme (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
license=('MIT')
url='https://github.com/snide/sphinx_rtd_theme'
url='https://github.com/readthedocs/sphinx_rtd_theme'
depends=("${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-docutils"
"${MINGW_PACKAGE_PREFIX}-python-sphinx")
"${MINGW_PACKAGE_PREFIX}-python-sphinx"
"${MINGW_PACKAGE_PREFIX}-python-sphinxcontrib-jquery")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools")
options=('staticlibs')
source=("https://pypi.org/packages/source/s/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('6146c845f1e1947b3c3dd4432c28998a1693ccc742b4f9ad7c63129f0757c103')
sha256sums=('a0d8bd1a2ed52e0b338cbe19c4b2eef3c5e7a048769753dac6a9f059c7b641b8')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
sed -e "s|docutils<0.18|docutils<0.18.2|g" -i setup.py
rm -rf "${srcdir}/python-build-${MSYSTEM}" | true
cp -r "${srcdir}/${_realname}-${pkgver}" "${srcdir}/python-build-${MSYSTEM}"