blob: e5f2724993e3b5cbb22bce10cb38cb9d30a55fa6 (
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
|
# Maintainer: Cameron Otsuka <cameron@otsuka.haus>
# Contributor: Cameron Otsuka <cameron@otsuka.haus>
pkgname="python-sqlite-migrate"
_name=${pkgname#python-}
pkgver="0.1b0"
pkgrel=3
pkgdesc="A simple database migration system for SQLite, based on sqlite-utils"
arch=("any")
url="https://github.com/simonw/sqlite-migrate"
license=("Apache-2.0")
depends=("python" "python-click" "sqlite-utils")
makedepends=("python-build" "python-installer" "python-poetry" "python-setuptools" "python-wheel")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/simonw/sqlite-migrate/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=("SKIP")
build() {
cd "${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_name}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|