[AUR] A collection of useful non-standard Python functions which aim to be simple to use
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
python-fpyutils/PKGBUILD

24 lines
1.0 KiB

# Maintainer: Franco Masotti <franco dot masotti at live dot com>
# Contributor: Franco Masotti <franco dot masotti at live dot com>
pkgname=python-fpyutils
pkgver=2.2.0
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' 'python-atomicwrites=1.4.0' 'python-requests')
makedepends=('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' '52daa849afa8060bf6ed4d86f016aa268ca24657fda1cdd8d8b4da1d41ad748bb8a7c4ad21e000a434f7c26e5d1bdfd72360777bd3ae6c209c4f942a78bae6ab')
check() {
cd "${srcdir}"/fpyutils-"${pkgver}"
python -m unittest discover --failfast --locals --verbose
}
package() {
cd "${srcdir}"/fpyutils-"${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1
}