blob: dc5eba27e2951bc2ce465b6d993f3de0ba679a54 (
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: Richard Neumann aka. schard <mail at richard dash neumann period de>
_pkgbase='functoolsplus'
pkgname="python-${_pkgbase}"
pkgver=1.0.3
pkgrel=1
pkgdesc='More higher-order functions and operations on callable objects.'
arch=('any')
url="https://github.com/homeinfogmbh/${_pkgbase}"
license=('GPLv3')
depends=('python' 'python-setuptools')
makedepends=('git' 'python' 'python-pytest' 'python-setuptools-scm')
source=("${_pkgbase}::git+${url}.git#tag=${pkgver}")
md5sums=('SKIP')
check() {
cd "${srcdir}/${_pkgbase}"
pytest
}
build() {
cd "${srcdir}/${_pkgbase}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgbase}"
python setup.py install --root "${pkgdir}" --optimize=1 --skip-build
}
|