From 9843cf361355612ca5427f5502a822d632b23e46 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 26 May 2019 00:03:35 -0300 Subject: testing/py3-cssselect2: modernize --- testing/py3-cssselect2/APKBUILD | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'testing/py3-cssselect2') diff --git a/testing/py3-cssselect2/APKBUILD b/testing/py3-cssselect2/APKBUILD index fb4ab6c624..b0a8876c3d 100644 --- a/testing/py3-cssselect2/APKBUILD +++ b/testing/py3-cssselect2/APKBUILD @@ -9,7 +9,7 @@ url="https://pypi.org/projects/cssselect2/" arch="noarch" license="BSD-3-Clause" depends="py3-tinycss2" -makedepends="python3-dev py3-setuptools py3-tinycss2 py3-pytest py3-pytest-cov" +makedepends="py3-setuptools py3-pytest py3-pytest-cov" _pypiprefix="${_pyname%${_pyname#?}}" source=" https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz @@ -18,18 +18,14 @@ source=" builddir="$srcdir"/$_pyname-$pkgver build() { - cd "$builddir" python3 setup.py build } check() { - cd "$builddir" python3 setup.py pytest } package() { - cd "$builddir" - mkdir -p "$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir" } -- cgit v1.2.3