summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-11-15 21:37:17 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-11-15 21:37:17 (GMT)
commit8de2b02039b94a6fe9c65228ed238dda46937cb7 (patch)
tree6a490eb50cc81707c47d9ecea7431f73f36aede5 /abs/core
parent5e7d2d138ad77fca2eafc93f48e0e715507696c5 (diff)
downloadlinhes_pkgbuild-8de2b02039b94a6fe9c65228ed238dda46937cb7.zip
linhes_pkgbuild-8de2b02039b94a6fe9c65228ed238dda46937cb7.tar.gz
linhes_pkgbuild-8de2b02039b94a6fe9c65228ed238dda46937cb7.tar.bz2
python2-soupsieve: 1.9.6
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/python_modules/python2-soupsieve/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-soupsieve/PKGBUILD b/abs/core/python_modules/python2-soupsieve/PKGBUILD
new file mode 100644
index 0000000..f552d97
--- /dev/null
+++ b/abs/core/python_modules/python2-soupsieve/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgname=python2-soupsieve
+pkgver=1.9.6
+pkgrel=2
+pkgdesc="A CSS4 selector implementation for Beautiful Soup"
+url="https://github.com/facelessuser/soupsieve"
+license=('MIT')
+arch=('any')
+depends=('python2-backports.functools_lru_cache')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest' 'python2-beautifulsoup4' 'python2-html5lib' 'python2-lxml')
+source=("https://github.com/facelessuser/soupsieve/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('44954cdedc16a51c794ebe6770caeb8f179167ad2f0a0478cb1efd5878d6cc49fffd6119125964b19184afa6d0d7dedadb81dee020a48c5128ccf56e36a78f61')
+
+build() {
+ cd soupsieve-$pkgver
+ python2 setup.py build
+}
+
+check() {
+ cd soupsieve-$pkgver
+ pytest2
+}
+
+package() {
+ cd soupsieve-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}