summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman@gmail.com>2020-06-10 06:56:53 +0000
committerZach van Rijn <me@zv.io>2023-04-12 03:25:11 +0000
commit9596077198a1dde096abb0cdef6817bd28e2fc4f (patch)
tree02d20fbcce5f6a7a08cae1ed0d724bfbafccd27c
parentb6e783ee53ed16b99c4c9ad257e04b459a046eb7 (diff)
downloadpackages-9596077198a1dde096abb0cdef6817bd28e2fc4f.tar.gz
packages-9596077198a1dde096abb0cdef6817bd28e2fc4f.tar.bz2
packages-9596077198a1dde096abb0cdef6817bd28e2fc4f.tar.xz
packages-9596077198a1dde096abb0cdef6817bd28e2fc4f.zip
user/py3-beautifulsoup4: new package
-rw-r--r--user/py3-beautifulsoup4/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-beautifulsoup4/APKBUILD b/user/py3-beautifulsoup4/APKBUILD
new file mode 100644
index 000000000..a191a1153
--- /dev/null
+++ b/user/py3-beautifulsoup4/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
+pkgname=py3-beautifulsoup4
+_pkgname=${pkgname#py3-}
+_p="${_pkgname#?}"
+_p="${_pkgname%"$_p"}"
+pkgver=4.9.1
+pkgrel=0
+pkgdesc="A tag-soup HTML parser library for Python"
+url="https://www.crummy.com/software/BeautifulSoup/"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends=""
+source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/beautifulsoup4-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py check
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="a1fe9cbfe8616d2ff25cc836769ff02d51ed86b06ca9a37366867b145440b7f64b866346600ed74820f0407c8e70eaac3d58700766a99b5ff7433cb736a57b3c beautifulsoup4-4.9.1.tar.gz"