Files
starfields-logparser/PKGBUILD
2023-12-15 09:54:28 +02:00

34 lines
857 B
Bash

# Maintainer: Tasos <support@starfields.gr>
pkgname="python-starfields-logparser"
_pkgname="starfields_logparser"
pkgver=0.1.0
pkgrel=1
pkgdesc='A basic python logparser for arbitrary log files'
arch=('any')
depends=("python>=3.8" "python-django>=3.0")
url="https://git.vickys-corner.xyz/StarFields/starfields-logparser"
license=('GPLv3')
source=("https://git.vickys-corner.xyz/StarFields/starfields-logparser/archive/starfields-logparser-0.1.0.tar.gz")
sha256sums=('4998937ddb7648bc7d8fdd4636cb1cdc097893bc889c2f0269e82b49bd451c06')
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-setuptools-scm'
'python-hatchling'
)
build() {
cd ${srcdir}/starfields-logparser
python -m build --wheel --no-isolation
}
package() {
cd ${srcdir}/starfields-logparser/${_pkgname}
python -m installer --destdir="${pkgdir}" ../dist/*.whl
}