summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e05965816ab511b591e33652636efdd863de5d57 (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
# Maintainer: Charles Vejnar <first name [dot] last name [at] gmail [dot] com>

pkgname=python-momoko
pkgver=2.2.5.1
pkgrel=1
pkgdesc="Asynchronous Psycopg wrapper for Tornado."
arch=("any")
url="http://momoko.61924.nl"
license=("MIT")
depends=('python'
         'python-tornado'
         'python-psycopg2')
makedepends=('python-build'
             'python-installer'
             'python-setuptools'
             'python-wheel')
source=("https://github.com/FSX/momoko/archive/v$pkgver.tar.gz")
sha1sums=('65156ce1054126a75a1b34d923f251ca997e44f2')

build() {
    cd "$srcdir/momoko-$pkgver"
    python -m build --wheel --no-isolation
}

package() {
    cd "$srcdir/momoko-$pkgver"
    python -m installer --destdir="$pkgdir" dist/*.whl
}