~dricottone/huttese-apk

ref: 26df7e93de4db1f67c330db85f8b9b2d2ebc7f6b huttese-apk/sr.ht/py3-beautifulsoup4/APKBUILD -rw-r--r-- 930 bytes
26df7e93 — Drew DeVault sr.ht/py3-emailthreads: upgrade to 0.1.2 4 years ago
                                                                                
617f3b54 Drew DeVault
0d871512 Drew DeVault
617f3b54 Drew DeVault
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-beautifulsoup4
_pyname=beautifulsoup4
pkgver=4.7.1
pkgrel=0
pkgdesc="A Python HTML/XML parser"
url="http://www.crummy.com/software/BeautifulSoup/index.html"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools python3-dev"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # upstream provides no test suite

prepare() {
	2to3 -w bs4 >/dev/null
}

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7aa77bc6008bbcbbbe91b0a850007ab237d2832b63a787fbd94b7cbf47d4276b185e0c61c134df73221406458edff2b75b6b8c2b53b543aa3bb1b0e2202dac5a  beautifulsoup4-4.7.1.tar.gz"