summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa85f2ca47cda0ff12fd8c41a7943a564ea3a448 (plain)
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
# Maintainer GI_Jack <GI_Jack@hackermail.com>
# Contributer: Paul Taylor <bao7uo at gmail dot com>
# Contributer: BlackArch

pkgname='python-bs4'
_pkgname='bs4'
pkgver='0.0.2'
pkgrel=1
pkgdesc='Beautiful Soup. bs4 name required by CrackMapExec trunk'
arch=('any')
url='https://pypi.python.org/pypi/bs4/'
license=('custom:unknown')
depends=('python' 'python-beautifulsoup4' 'python-hatchling')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('a48685c58f50fe127722417bae83fe6badf500d54b55f7e39ffe43b798653925')

build() {
    cd "$srcdir/${_pkgname}-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$srcdir/${_pkgname}-$pkgver"
    python -m installer --destdir="${pkgdir}" dist/*.whl
}