summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cdd1315b6e83fb0c5de12bcd0372aa86d2db311c (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
# Maintainer: Blair Bonnett <blair.bonnett@gmail.com>

pkgname=python-linuxfd
pkgver=1.5
pkgrel=2
pkgdesc="Bindings for the Linux eventfd/signalfd/timerfd/inotify syscalls"
arch=('x86_64')
license=('LGPL3')
url='https://pypi.python.org/pypi/linuxfd/'
depends=('python')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')

_pypi=linuxfd
source=(
  "https://files.pythonhosted.org/packages/source/${_pypi::1}/$_pypi/$_pypi-$pkgver.tar.gz"
)
sha256sums=(
  'b8c00109724b68e093f9b556edd78e41ed65fb8d969fd0e83186a97b5d3139b4'
)

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

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