summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 23d79066135b53cc691f945fd71b9d5a75218052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Achmad Fathoni<fathoni.id(at)gmail.com>
pkgname=python-types-urllib3
_pkgname=${pkgname:7}
pkgver=1.26.11
pkgrel=2
pkgdesc="Typing stubs for urllib3"
arch=('any')
url="https://pypi.org/project/${pkgname}"
license=(Apache)
makedepends=(python-build python-installer python-wheel python-setuptools)
depends=(python)
source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('24d64e441168851eb05f1d022de18ae31558f5649c8f1117e384c2e85e31315b')

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

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