python-ihatemoney: rebuild PKGBUILD using pipman
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
# PKGBUILD generated by pipman
|
||||
# Python package author: Alexis Métaireau & contributors <alexis@notmyidea.org>
|
||||
pkgname=python-ihatemoney
|
||||
pkgver=3.0
|
||||
pkgver=4.1.3
|
||||
pkgrel=1
|
||||
pkgdesc="A simple shared budget manager web application."
|
||||
arch=(any)
|
||||
url="https://github.com/spiral-project/ihatemoney"
|
||||
license=(Custom BSD Beerware)
|
||||
makedepends=("python" "python-pip")
|
||||
depends=("python-email-validator" "python-blinker" "python-flask-restful" "python-flask-babel" "python-flask-script" "python-flask-migrate" "python-flask-mail" "python-flask-wtf")
|
||||
|
||||
build() {
|
||||
pip install --no-deps --target="ihatemoney" ihatemoney==3.0
|
||||
pip install --no-deps --target="ihatemoney" ihatemoney==4.1.3
|
||||
}
|
||||
|
||||
package() {
|
||||
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
mkdir -p $pkgdir/"$sitepackages"
|
||||
cp -r $srcdir/ihatemoney/* $pkgdir/"$sitepackages"
|
||||
mkdir -p $pkgdir/etc/ihatemoney
|
||||
}
|
||||
Reference in New Issue
Block a user