Added the new PKGBUILD for starfields-logparser.

This commit is contained in:
2023-12-15 09:12:24 +02:00
parent 2263ead996
commit 56185a298a

33
PKGBUILD Normal file
View File

@@ -0,0 +1,33 @@
# 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
}