initial import

This commit is contained in:
Guillaume Horel 2026-01-27 11:28:59 -05:00
commit 61ae53d65e
2 changed files with 48 additions and 0 deletions

19
.SRCINFO Normal file
View file

@ -0,0 +1,19 @@
pkgbase = python-flask-sqlalchemy-lite
pkgdesc = Integrate SQLAlchemy with Flask
pkgver = 0.2.1
pkgrel = 1
url = https://flask-sqlalchemy-lite.readthedocs.io
arch = any
license = MIT
checkdepends = python-aiosqlite
checkdepends = python-pytest
makedepends = python-build
makedepends = python-flit-core
makedepends = python-installer
makedepends = python-wheel
depends = python-flask
depends = python-sqlalchemy
source = python-flask-sqlalchemy-lite-0.2.1.tar.gz::https://github.com/pallets-eco/flask-sqlalchemy-lite/archive/refs/tags/0.2.1.tar.gz
sha256sums = 3df9f83b94b6cbd6d74667180615f38062f67002ffa31779f48e8baf34388f69
pkgname = python-flask-sqlalchemy-lite

29
PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>
pkgname=python-flask-sqlalchemy-lite
_pkgname=flask-sqlalchemy-lite
pkgver='0.2.1'
pkgrel=1
pkgdesc="Integrate SQLAlchemy with Flask"
url="https://flask-sqlalchemy-lite.readthedocs.io"
depends=(python-flask python-sqlalchemy)
checkdepends=(python-aiosqlite python-pytest)
makedepends=(python-build python-flit-core python-installer python-wheel)
license=('MIT')
arch=('any')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pallets-eco/flask-sqlalchemy-lite/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('3df9f83b94b6cbd6d74667180615f38062f67002ffa31779f48e8baf34388f69')
build() {
cd "${_pkgname}-${pkgver}"
python -m build -wn
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
check() {
cd "${_pkgname}-${pkgver}"
PYTHONPATH=src pytest tests
}