cruxports/python3-agate-sql/Pkgfile

20 lines
564 B
Plaintext
Raw Normal View History

2022-02-18 17:40:09 -05:00
# Description: hooks for performing structured queries in python3-agate
# URL: https://github.com/wireservice/agate-sql/
# Maintainer: John McQuah, jmcquah at disroot dot org
2022-04-26 07:51:12 -04:00
# Depends on: python3-agate python3-sqlalchemy
2022-02-18 17:40:09 -05:00
name=python3-agate-sql
2023-03-17 08:31:26 -04:00
version=0.5.9
2022-02-18 17:40:09 -05:00
release=1
source=(https://github.com/wireservice/${name##python3-}/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
cd ${name##python3-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
}