blob: 094013d1acce3ae42f3868fc21c68eff632d0c3f (
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: Sidney Kuyateh <autinerd-arch@kuyateh.eu>
pkgname=python-makefun
pkgver=1.15.1
pkgrel=1
pkgdesc='Dynamically create python functions with a proper signature.'
url='https://smarie.github.io/python-makefun/'
makedepends=(python-build python-installer python-wheel python-setuptools-scm)
license=('GPL2')
arch=('any')
source=("git+https://github.com/smarie/${pkgname}.git#tag=${pkgver}")
sha512sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname"
python -m installer --destdir "$pkgdir" dist/makefun-${pkgver}-py2.py3-none-any.whl
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
|