Date: Saturday, May 6, 2023 @ 20:25:44
Author: tpkessler
Revision: 1459133
archrelease: copy trunk to community-staging-any
Added:
python-barectf/repos/community-staging-any/
python-barectf/repos/community-staging-any/PKGBUILD
(from rev 1459132, python-barectf/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python-barectf/repos/community-staging-any/PKGBUILD (from rev 1459132,
python-barectf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-05-06 20:25:44 UTC (rev 1459133)
@@ -0,0 +1,26 @@
+# Maintainer: Torsten Keßler <tpkessler at archlinux dot org>
+# Contributor: Philippe Proulx <[email protected]>
+_pkgname=barectf
+pkgname=python-barectf
+pkgver=3.1.1
+pkgrel=1
+pkgdesc='Generator of ANSI C tracers which output CTF'
+arch=('any')
+url='http://barectf.org'
+license=('MIT')
+depends=('python-termcolor' 'python-yaml' 'python-jsonschema' 'python-jinja')
+makedepends=('python-poetry-core' 'python-build' 'python-installer'
'python-wheel')
+source=("https://github.com/efficios/barectf/archive/v$pkgver.tar.gz")
+sha256sums=('42b93222ee12dc25b012a374c40020f5817e0e71c50118814a956737297195d7')
+
+build() {
+ cd "$_pkgname-$pkgver"
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd "$_pkgname-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}