diff --git a/mingw-w64-python-sphinx/PKGBUILD b/mingw-w64-python-sphinx/PKGBUILD index a612f8ccdb..d77eae330c 100644 --- a/mingw-w64-python-sphinx/PKGBUILD +++ b/mingw-w64-python-sphinx/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: Alexey Pavlov # Contributor: Ray Donnelly -_pyname=sphinx +_pyname=Sphinx _realname=sphinx pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=1.7.4 +pkgver=1.7.5 pkgrel=1 pkgdesc="Python documentation generator (mingw-w64)" arch=('any') @@ -49,13 +49,13 @@ checkdepends=( "${MINGW_PACKAGE_PREFIX}-python2-enum34" #'texlive-latexextra' ) -_dtoken="40/45/d4a68a1f8dc669714f48d251afb4352036f87be5e9873cd27e57b9c141f0" -source=("https://pypi.python.org/packages/${_dtoken}/Sphinx-${pkgver}.tar.gz") -sha256sums=('e9b1a75a3eae05dded19c80eb17325be675e0698975baae976df603b6ed1eb10') +#_dtoken="40/45/d4a68a1f8dc669714f48d251afb4352036f87be5e9873cd27e57b9c141f0" +source=("${_realname}-${pkgver}.tar.gz"::"https://pypi.org/packages/source/S/${_pyname}/${_pyname}-${pkgver}.tar.gz") +sha256sums=('d45480a229edf70d84ca9fae3784162b1bc75ee47e480ffe04a4b7f21a95d76d') prepare() { - # souce duplication is required because makefile modify source code - # setyp.py --build tricks don't works well + # source duplication is required because makefile modify source code + # setup.py --build tricks don't works well cd ${srcdir} for pver in {2,3}; do rm -rf python${pver}-build-${CARCH} | true @@ -81,7 +81,7 @@ build() { } package_python3-sphinx() { - pkgdesc='Python3 documentation generator' + pkgdesc='Python3 documentation generator (mingw-w64)' depends=("${MINGW_PACKAGE_PREFIX}-python3-babel" "${MINGW_PACKAGE_PREFIX}-python3-certifi" "${MINGW_PACKAGE_PREFIX}-python3-chardet" @@ -100,7 +100,7 @@ package_python3-sphinx() { "${MINGW_PACKAGE_PREFIX}-python3-sqlalchemy" "${MINGW_PACKAGE_PREFIX}-python3-urllib3" "${MINGW_PACKAGE_PREFIX}-python3-whoosh") - #optdepends=("${MINGW_PACKAGE_PREFIX}-texlive-latexextra": for generation of PDF documentation') + #optdepends=("${MINGW_PACKAGE_PREFIX}-texlive-latexextra: for generation of PDF documentation") optdepends=("${MINGW_PACKAGE_PREFIX}-imagemagick: ext.imageconverter") local _mingw_prefix=$(cygpath -am ${MINGW_PREFIX}) @@ -117,7 +117,7 @@ package_python3-sphinx() { } package_python2-sphinx() { - pkgdesc='Python2 documentation generator' + pkgdesc='Python2 documentation generator (mingw-w64)' depends=("${MINGW_PACKAGE_PREFIX}-python2-babel" "${MINGW_PACKAGE_PREFIX}-python2-certifi" "${MINGW_PACKAGE_PREFIX}-python2-colorama" @@ -137,7 +137,7 @@ package_python2-sphinx() { "${MINGW_PACKAGE_PREFIX}-python2-urllib3" "${MINGW_PACKAGE_PREFIX}-python2-whoosh" "${MINGW_PACKAGE_PREFIX}-python2-typing") - #optdepends=("${MINGW_PACKAGE_PREFIX}-texlive-latexextra": for generation of PDF documentation') + #optdepends=("${MINGW_PACKAGE_PREFIX}-texlive-latexextra: for generation of PDF documentation") optdepends=("${MINGW_PACKAGE_PREFIX}-imagemagick: ext.imageconverter") local _mingw_prefix=$(cygpath -am ${MINGW_PREFIX}) @@ -153,7 +153,7 @@ package_python2-sphinx() { } package_mingw-w64-i686-python2-sphinx() { - install=${_realname}3-${CARCH}.install + install=${_realname}2-${CARCH}.install package_python2-sphinx } @@ -163,7 +163,7 @@ package_mingw-w64-i686-python3-sphinx() { } package_mingw-w64-x86_64-python2-sphinx() { - install=${_realname}3-${CARCH}.install + install=${_realname}2-${CARCH}.install package_python2-sphinx }