2023-01-11 13:23:51 +00:00
|
|
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
|
|
pkgname=py3-case
|
|
|
|
_pyname=case
|
|
|
|
pkgver=1.5.3
|
2023-05-05 05:15:49 +00:00
|
|
|
pkgrel=6
|
2023-01-11 13:23:51 +00:00
|
|
|
pkgdesc="Python unittest utilities"
|
|
|
|
url="https://github.com/celery/case/"
|
|
|
|
arch="noarch"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
depends="python3 py3-six"
|
|
|
|
makedepends="py3-setuptools"
|
|
|
|
checkdepends="py3-coverage py3-mock py3-nose"
|
|
|
|
_pypiprefix="${_pyname%${_pyname#?}}"
|
2023-05-05 05:15:49 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2023-01-11 13:23:51 +00:00
|
|
|
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
|
|
|
|
replaces="py-case" # Backwards compatibility
|
|
|
|
provides="py-case=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
|
|
|
|
build() {
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
python3 setup.py test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
|
|
}
|
|
|
|
sha512sums="ae98a571c282f80c685c42ab1dc578847fe88cf8cd07faff505a8df8e3282a602908a8780ab88b36851e3ee6f3c178405e5c50776fd0f49fcc990087575f2958 case-1.5.3.tar.gz"
|