diff options
-rw-r--r-- | user/py3-beautifulsoup4/APKBUILD | 30 |
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" |