mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
34 lines
1,004 B
Text
34 lines
1,004 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-beautifulsoup4
|
|
_pkgname=beautifulsoup4
|
|
pkgver=4.11.2
|
|
pkgrel=0
|
|
pkgdesc="A Python HTML/XML parser"
|
|
url="https://www.crummy.com/software/BeautifulSoup/index.html"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-soupsieve"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/b/beautifulsoup4/beautifulsoup4-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-beautifulsoup4" # Backwards compatibility
|
|
provides="py-beautifulsoup4=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest -s bs4
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
68f5328f881946e80ed1af36b26da184f0af58aaf124f5f623f89c40130e1578f6dbe874b11c802e52c0ec02cfbf6b681e10eb235279631f479d14c2243e7dd3 beautifulsoup4-4.11.2.tar.gz
|
|
"
|