summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4d7fd76441a823769bf526c3861ac78730e73aa (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: Eric Fung <loseurmarbles at gmail dot com>
pkgname=python-foolscap
_pkgname=${pkgname#python-}
pkgver=21.7.0
pkgrel=2
pkgdesc='Remote object-messaging for Python+Twisted'
arch=('any')
url='https://github.com/warner/foolscap'
license=('MIT')
depends=('python-twisted' 'python-pyopenssl')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("${url}/archive/refs/tags/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('e409d272f888373a84a2a02e7fcf4aa211cba9e0e921a3b3aea91a283a59743f')

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

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