summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d08b6942d6b3b724a14e4c51099c52697f8d29f9 (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
# Maintainer: Tony Benoy <me@tonybenoy.com>

_pkgname=gino
pkgname=python-gino
pkgver=1.0.1
pkgrel=1
pkgdesc="GINO - GINO Is Not ORM - is a lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio. Now (early 2020) GINO supports only one dialect asyncpg."
arch=('any')
url="https://python-gino.org/"
license=('BSD')
depends=('python' 'python-setuptools' 'python-asyncpg' 'python-sqlalchemy' 'python-aiocontextvars')
_name=${pkgname#python-}

source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_pkgname}-${pkgver}.tar.gz")
md5sums=('4ab4ce1cec531076974179a57fa5ab85')

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  LANG=en_US.UTF-8 python setup.py build
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  LANG=en_US.UTF-8 python setup.py install --root=$pkgdir --optimize=1 --skip-build
}