mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/py-simplejson: move tests to check function
This commit is contained in:
parent
2d63d211a8
commit
a3fd852747
@ -12,15 +12,17 @@ depends=""
|
||||
makedepends="py-setuptools python2-dev python3-dev"
|
||||
subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
|
||||
python2 setup.py build
|
||||
python2 setup.py test
|
||||
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
python2 setup.py test
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user