blob: b29c7433fcfc368cf9139f5fd0661ef379e18473 (
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=2
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" "sqlite-utils")
makedepends=("python-build" "python-installer" "python-poetry" "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
}
|