34 lines
862 B
Bash
34 lines
862 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/ace/starfields-logparser"
|
|
license=('GPLv3')
|
|
|
|
source=("https://git.vickys-corner.xyz/StarFields/starfields-drf-generics/archive/starfields-drf-generics-0.2.0.tar.gz")
|
|
sha256sums=('4803c2574e2232181c4c512aa0a80f7e087bbc8da59279d7ffc99d3167092496')
|
|
|
|
makedepends=(
|
|
'python-build'
|
|
'python-installer'
|
|
'python-wheel'
|
|
'python-setuptools-scm'
|
|
'python-hatchling'
|
|
)
|
|
|
|
build() {
|
|
cd ${srcdir}/starfields-drf-generics
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/starfields-drf-generics/${_pkgname}
|
|
python -m installer --destdir="${pkgdir}" ../dist/*.whl
|
|
}
|