Debian Codegraph @

packages/aur/PKGBUILD

raw
1 # Maintainer: Franco Masotti (See /README.md in project source)
2 # Contributor: Franco Masotti (See /README.md in project source)
3 pkgname=python-fpyutils
4 pkgver=4.0.1
5 pkgrel=1
6 pkgdesc="A collection of useful non-standard Python functions which aim to be simple to use"
7 arch=('any')
8 url="https://blog.franco.net.eu.org/software/#fpyutils"
9 license=('GPL3')
10 depends=('python')
11 makedepends=('python-build'
12 'python-installer'
13 'python-wheel'
14 'python-setuptools')
15 options=(!emptydirs)
16 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")
17 sha512sums=('SKIP' 'SKIP')
18
19 check() {
20 cd "${srcdir}"/fpyutils-"${pkgver}"
21 python -m unittest discover --failfast --locals --verbose
22 }
23
24 build() {
25 cd "${srcdir}"/fpyutils-"${pkgver}"
26 python -m build --wheel --no-isolation
27 }
28
29 package() {
30 cd "${srcdir}"/fpyutils-"${pkgver}"
31 python -m installer --destdir="${pkgdir}" dist/*.whl
32 }