diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-26 00:03:35 -0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-05-28 01:14:38 +0300 |
commit | 9843cf361355612ca5427f5502a822d632b23e46 (patch) | |
tree | 16b2a62d74a5351ab0a9e66dba87fb8cd72262e4 /testing/py3-cssselect2 | |
parent | 1cd27b797a3a5f0f0d0439203afbd75e85e58551 (diff) | |
download | aports-9843cf361355612ca5427f5502a822d632b23e46.tar.bz2 aports-9843cf361355612ca5427f5502a822d632b23e46.tar.xz |
testing/py3-cssselect2: modernize
Diffstat (limited to 'testing/py3-cssselect2')
-rw-r--r-- | testing/py3-cssselect2/APKBUILD | 6 |
1 files changed, 1 insertions, 5 deletions
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" } |