blob: d0c39a8698cf25f2e3d06dffa16607c2ab4fc798 (
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
|
# Maintainer: Franco Masotti (See /README.md in project source)
# Contributor: Franco Masotti (See /README.md in project source)
pkgname=python-fpyutils
pkgver=4.0.1
pkgrel=1
pkgdesc="A collection of useful non-standard Python functions which aim to be simple to use"
arch=('any')
url="https://blog.franco.net.eu.org/software/#fpyutils"
license=('GPL3')
depends=('python')
makedepends=('python-build'
'python-installer'
'python-wheel'
'python-setuptools')
options=(!emptydirs)
source=("https://blog.franco.net.eu.org/software/fpyutils-${pkgver}/fpyutils-${pkgver}.tar.gz.sig" "https://blog.franco.net.eu.org/software/fpyutils-${pkgver}/fpyutils-${pkgver}.tar.gz")
sha512sums=('SKIP' 'dc7f0fa225502cf7cc2f6878fd3d160e15d6f9290e67bb1e24ce51d7a7e2c25d6c3ecc87b0a47ca3aa129639fcc1cfb945d8c1e76bec625b9047a9520d280236')
check() {
cd "${srcdir}"/fpyutils-"${pkgver}"
python -m unittest discover --failfast --locals --verbose
}
build() {
cd "${srcdir}"/fpyutils-"${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}"/fpyutils-"${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|