community/py-xlsxwriter: added builddir var in check()

This commit is contained in:
Francesco Colista 2017-10-24 01:58:23 +00:00
parent f382ef11a5
commit 2cf206710f

View File

@ -8,9 +8,7 @@ pkgdesc="A Python module for creating Excel XLSX files"
url="https://github.com/jmcnamara/XlsxWriter" url="https://github.com/jmcnamara/XlsxWriter"
arch="noarch" arch="noarch"
license="BSD" license="BSD"
depends=""
makedepends="python2-dev py-setuptools python3-dev" makedepends="python2-dev py-setuptools python3-dev"
install=""
subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2" subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
@ -27,6 +25,7 @@ package() {
} }
check() { check() {
cd "$builddir"
python2 setup.py check python2 setup.py check
python3 setup.py check python3 setup.py check
} }