diff --git a/mingw-w64-python-pytest/PKGBUILD b/mingw-w64-python-pytest/PKGBUILD index a2f8d58bb5..1c80704c21 100644 --- a/mingw-w64-python-pytest/PKGBUILD +++ b/mingw-w64-python-pytest/PKGBUILD @@ -3,7 +3,7 @@ _realname=pytest pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=3.0.3 +pkgver=3.0.7 pkgrel=1 pkgdesc='simple powerful testing with Python (mingw-w64)' url='http://pytest.org' @@ -17,9 +17,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2" "${MINGW_PACKAGE_PREFIX}-python3-py" "${MINGW_PACKAGE_PREFIX}-python2-colorama" "${MINGW_PACKAGE_PREFIX}-python3-colorama") -_dtoken="076c816e2402c4911ccee4b93ba0475145b7cffd0320ca8efa0add7c469c" -source=("https://pypi.python.org/packages/a0/2f/${_dtoken}/${_realname}-${pkgver}.tar.gz") -sha256sums=('f213500a356800a483e8a146ff971ae14a8df3f2c0ae4145181aad96996abee7') +source=("https://pypi.org/packages/source/p/${_realname}/${_realname}-${pkgver}.tar.gz") +sha256sums=('b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab') prepare() { cd ${srcdir} @@ -30,6 +29,8 @@ prepare() { } package_python3-pytest() { + depends=("${MINGW_PACKAGE_PREFIX}-python3-py" "${MINGW_PACKAGE_PREFIX}-python3-setuptools") + cd ${srcdir}/python3-build-${CARCH} ${MINGW_PREFIX}/bin/python3 setup.py build MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ @@ -45,6 +46,8 @@ package_python3-pytest() { } package_python2-pytest() { + depends=("${MINGW_PACKAGE_PREFIX}-python2-py" "${MINGW_PACKAGE_PREFIX}-python2-setuptools") + cd ${srcdir}/python2-build-${CARCH} ${MINGW_PREFIX}/bin/python2 setup.py build MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \