diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-17 01:21:25 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-17 13:36:39 +0300 |
commit | 1e71a76f90697ffee9480a498eade3a366d179bc (patch) | |
tree | 4c861ff0556d2d7cfffc9219f21b10933d0baf44 | |
parent | 73cf858933b5ea6c48b5faca1d460174d87fdde2 (diff) | |
download | aports-1e71a76f90697ffee9480a498eade3a366d179bc.tar.bz2 aports-1e71a76f90697ffee9480a498eade3a366d179bc.tar.xz |
testing/py3-parsel: new aport
-rw-r--r-- | testing/py3-parsel/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-parsel/APKBUILD b/testing/py3-parsel/APKBUILD new file mode 100644 index 0000000000..8e8c30c06b --- /dev/null +++ b/testing/py3-parsel/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: prspkt <prspkt@protonmail.com> +# Maintainer: prspkt <prspkt@protonmail.com> +pkgname=py3-parsel +_pkgname=parsel +pkgver=1.5.1 +pkgrel=0 +pkgdesc="Library to extract data from HTML and XML using XPath and CSS selectors" +url="https://github.com/scrapy/parsel" +arch="noarch" +license="BSD-3-Clause" +depends="py3-cssselect py3-lxml py3-six py3-w3lib" +checkdepends="py3-pytest" +source="$_pkgname-$pkgver.tar.gz::https://github.com/scrapy/parsel/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="fe6de66c3f43e1ecdeae4239cacca42f3082214b698b16c7f56e4fb924cd70826fe0d7a69517174c71cd249c2b21cb9fdbf9091aafcfed6a3745a70dc37b7964 parsel-1.5.1.tar.gz" |