python-deprecated: update to 1.2.13

Fix test command
This commit is contained in:
Biswapriyo Nath
2022-02-16 09:46:04 +05:30
committed by GitHub
parent 2ce90bfcf5
commit bfc45ff27e

View File

@@ -3,18 +3,18 @@
_realname=deprecated
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=1.2.10
pkgrel=2
pkgver=1.2.13
pkgrel=1
pkgdesc="Python @deprecated decorator to deprecate old python classes, functions or methods (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
url="https://github.com/tantale/deprecated/"
license=('MIT')
depends=("${MINGW_PACKAGE_PREFIX}-python-wrapt")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest-runner")
source=("${_realname}-${pkgver}.tar.gz::https://github.com/tantale/deprecated/archive/v${pkgver}.tar.gz")
sha256sums=('405ddadbc0c32771e62ae8ffae7a970b991a289918ae1508c62332433a7ade24')
sha256sums=('771e20e93bb4bc497bd9955829d36074dd7608962846c0b34a92ff68ed7ebad9')
prepare() {
cd "${srcdir}"
@@ -24,7 +24,7 @@ prepare() {
check() {
cd "${srcdir}/python-build-${CARCH}"
${MINGW_PREFIX}/bin/python test/test.py
${MINGW_PREFIX}/bin/python setup.py pytest || true
}
build() {