From efb3c9d518b8d505148a6a0f565448a176c26d87 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 5 Mar 2018 23:28:22 +0000 Subject: testing/py-pep8-naming: modernize builddir --- testing/py-pep8-naming/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testing') diff --git a/testing/py-pep8-naming/APKBUILD b/testing/py-pep8-naming/APKBUILD index c3d7a22f11..104c73ad94 100644 --- a/testing/py-pep8-naming/APKBUILD +++ b/testing/py-pep8-naming/APKBUILD @@ -15,16 +15,16 @@ checkdepends="py-tox py-virtualenv" install="" subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_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" + cd "$builddir" python2 setup.py build python3 setup.py build } check() { - cd "$_builddir" + cd "$builddir" tox } @@ -49,7 +49,7 @@ _py() { depends="$depends $python" install_if="$pkgname=$pkgver-r$pkgrel $python" - cd "$_builddir" + cd "$builddir" $python setup.py install --prefix=/usr --root="$subpkgdir" } -- cgit v1.2.3