summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e714619edda50d061645c170403565c9ecd8bac8 (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
27
28
29
30
31
32
33
# Maintainer: Butui Hu <hot123tea123@gmail.com>

pkgname=python-fastprocess
_pkgname=fastprocess
pkgver=2.1.0
pkgrel=1
pkgdesc='A fast subprocess library'
arch=('any')
url='https://github.com/dstathis/fastprocess'
license=('LGPL-3.0-or-later')
depends=(
  python
)
makedepends=(
  python-build
  python-hatchling
  python-installer
  python-setuptools
  python-wheel
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dstathis/fastprocess/archive/${pkgver}.tar.gz")
sha512sums=('63f62f3dbb3311ef6ee555fcd5686f6ec3b304c1719d680c83cc72045ba20c8bb72f31eac381a6a5f7b6f8c8bd18bed2979e914d0b09d9cb870300a31d513fc9')

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

package() {
  cd "${_pkgname}-${pkgver}"
  python -m installer --destdir="${pkgdir}" dist/*.whl
}
# vim:set ts=2 sw=2 et: