summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2023-03-08 19:05:32 +0100
committerbozo.kopic <bozo@kopic.xyz>2023-03-08 19:05:32 +0100
commite56cbcc1091c4dbe1d58e7e1705c25e4fdb64204 (patch)
treecd664afbd684219607cfb4efa133869c0879dd2d
parent5c76c8ab23ba5ca51a4bc85e89c4d7bec6663087 (diff)
.
-rwxr-xr-xaur.sh4
-rwxr-xr-xbuild.sh19
-rw-r--r--hat-syslog/.gitignore4
-rw-r--r--hat-syslog/PKGBUILD26
-rw-r--r--opcut/PKGBUILD6
-rw-r--r--python-hat-aio/PKGBUILD4
-rw-r--r--python-hat-doit/PKGBUILD4
-rw-r--r--python-hat-json/PKGBUILD4
-rw-r--r--python-hat-juggler/.gitignore4
-rw-r--r--python-hat-juggler/PKGBUILD25
-rw-r--r--python-hat-util/PKGBUILD4
11 files changed, 92 insertions, 12 deletions
diff --git a/aur.sh b/aur.sh
index edb70ca..a9a49c6 100755
--- a/aur.sh
+++ b/aur.sh
@@ -2,10 +2,12 @@
set -e
-PACKAGES="opcut
+PACKAGES="hat-syslog
+ opcut
python-hat-aio
python-hat-doit
python-hat-json
+ python-hat-juggler
python-hat-util"
cd $(dirname -- "$0")
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..1c0254c
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+cd $(dirname -- "$0")
+
+PACKAGE=$1
+
+if [ -z "$PACKAGE" -o ! -d "$PACKAGE" ]; then
+ echo "invalid package" 1>&2
+ exit 1
+fi
+
+cd $PACKAGE
+
+export PATH=/usr/bin:$PATH
+
+makepkg -g
+makepkg -C
diff --git a/hat-syslog/.gitignore b/hat-syslog/.gitignore
new file mode 100644
index 0000000..89b36c5
--- /dev/null
+++ b/hat-syslog/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/hat-syslog-*.pkg.tar.*
+/src
+/v*.tar.gz
diff --git a/hat-syslog/PKGBUILD b/hat-syslog/PKGBUILD
new file mode 100644
index 0000000..630857c
--- /dev/null
+++ b/hat-syslog/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Bozo Kopic <bozo@kopic.xyz>
+
+pkgname=hat-syslog
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="Syslog server and clients"
+url="https://github.com/hat-open/hat-syslog"
+license=('Apache')
+arch=('any')
+depends=('python-appdirs' 'python-hat-aio' 'python-hat-json'
+ 'python-hat-juggler' 'python-hat-util')
+makedepends=('python-hat-doit' 'python-installer' 'yarn'
+ 'python-sphinxcontrib-plantuml' 'python-sphinxcontrib-programoutput')
+source=("https://github.com/hat-open/hat-syslog/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('5b79be110cc66d1ebd822b65c4c904bfeba172c84c3c858951543c154dcf967f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python -m doit
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python -m installer --destdir="$pkgdir" build/py/dist/*.whl
+ install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
diff --git a/opcut/PKGBUILD b/opcut/PKGBUILD
index a0fcd3b..1c6d31b 100644
--- a/opcut/PKGBUILD
+++ b/opcut/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Bozo Kopic <bozo@kopic.xyz>
pkgname=opcut
-pkgver=0.4.7
-pkgrel=2
+pkgver=0.4.8
+pkgrel=1
pkgdesc="Cutting stock problem optimizer"
url="https://github.com/bozokopic/opcut"
license=('GPL3')
@@ -10,7 +10,7 @@ arch=('x86_64' 'armv7l' 'aarch64')
depends=('python-aiohttp' 'python-hat-aio' 'python-hat-json' 'python-cairo')
makedepends=('python-hat-doit' 'python-installer' 'yarn')
source=("https://github.com/bozokopic/opcut/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('772191f7ca5995c205a15f3218b7d305a422f65888b1e16dbb3cf1b6f0b8547d')
+sha256sums=('d26303253186ad653da3dd897e7558de2eed963449180e1b258c08bef7533615')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/python-hat-aio/PKGBUILD b/python-hat-aio/PKGBUILD
index 024b7d1..b8068e0 100644
--- a/python-hat-aio/PKGBUILD
+++ b/python-hat-aio/PKGBUILD
@@ -2,7 +2,7 @@
_name=hat-aio
pkgname=python-$_name
-pkgver=0.7.3
+pkgver=0.7.5
pkgrel=1
pkgdesc="Hat async utility library"
url="https://github.com/hat-open/hat-aio"
@@ -11,7 +11,7 @@ arch=('any')
depends=('python-hat-util')
makedepends=('python-hat-doit' 'python-installer')
source=("https://github.com/hat-open/hat-aio/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('48974816473754ca85fc97fa28b6b6cd7ac840040a2b2fcd1c6ad9544ddf40ab')
+sha256sums=('71f215e9c08ac3a76acd23be05e431ec085715df238f0c59b115735ac94b2f9e')
build() {
cd "$srcdir/$_name-$pkgver"
diff --git a/python-hat-doit/PKGBUILD b/python-hat-doit/PKGBUILD
index df1af93..51ae37e 100644
--- a/python-hat-doit/PKGBUILD
+++ b/python-hat-doit/PKGBUILD
@@ -2,7 +2,7 @@
_name=hat-doit
pkgname=python-$_name
-pkgver=0.11.10
+pkgver=0.12.5
pkgrel=1
pkgdesc="Hat build utility functions"
url="https://github.com/hat-open/hat-doit"
@@ -14,7 +14,7 @@ depends=('python-build' 'python-doit' 'flake8' 'python-sphinx-furo'
'python-setuptools' 'python-sphinx' 'python-wheel')
makedepends=('python-installer')
source=("https://github.com/hat-open/hat-doit/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('1f84bb9c4000cfce20af215632dcc03e7473faba238a70572387bc8b072f7ce2')
+sha256sums=('7ad0718486239161ad027b2b8644fd6ecdb0056ab8b766110ad2bbd87449f9ac')
build() {
cd "$srcdir/$_name-$pkgver"
diff --git a/python-hat-json/PKGBUILD b/python-hat-json/PKGBUILD
index 40eb5bd..2584d41 100644
--- a/python-hat-json/PKGBUILD
+++ b/python-hat-json/PKGBUILD
@@ -2,7 +2,7 @@
_name=hat-json
pkgname=python-$_name
-pkgver=0.5.13
+pkgver=0.5.16
pkgrel=1
pkgdesc="Hat JSON library"
url="https://github.com/hat-open/hat-json"
@@ -12,7 +12,7 @@ depends=('python-hat-util' 'python-jsonpatch' 'python-jsonschema'
'python-yaml' 'python-tomli' 'python-tomli-w')
makedepends=('python-hat-doit' 'python-installer')
source=("https://github.com/hat-open/hat-json/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('d0af187fbdb2f53584d91ba213c3f2a46907e9ba5ed9edd63ae1d5248f438c47')
+sha256sums=('d7a29503e61e51efd2085280b83c3cfa2893822311fd00cbbdd03b5646795842')
build() {
cd "$srcdir/$_name-$pkgver"
diff --git a/python-hat-juggler/.gitignore b/python-hat-juggler/.gitignore
new file mode 100644
index 0000000..8cdb4fc
--- /dev/null
+++ b/python-hat-juggler/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/python-hat-juggler-*.pkg.tar.*
+/src
+/v*.tar.gz
diff --git a/python-hat-juggler/PKGBUILD b/python-hat-juggler/PKGBUILD
new file mode 100644
index 0000000..8731ebb
--- /dev/null
+++ b/python-hat-juggler/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Bozo Kopic <bozo@kopic.xyz>
+
+_name=hat-juggler
+pkgname=python-$_name
+pkgver=0.6.10
+pkgrel=1
+pkgdesc="Juggler communication protocol"
+url="https://github.com/hat-open/hat-juggler"
+license=('Apache')
+arch=('any')
+depends=('python-aiohttp' 'python-hat-aio' 'python-hat-json' 'python-hat-util')
+makedepends=('python-hat-doit' 'python-installer')
+source=("https://github.com/hat-open/hat-juggler/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('179e8f7664898860c5cc127467e53e9fea103fdf410ae7f6e449b763f72784d6')
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ python -m doit build_py
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
+ python -m installer --destdir="$pkgdir" build/py/dist/*.whl
+ install -D -m 644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
diff --git a/python-hat-util/PKGBUILD b/python-hat-util/PKGBUILD
index 939ac44..955db76 100644
--- a/python-hat-util/PKGBUILD
+++ b/python-hat-util/PKGBUILD
@@ -2,7 +2,7 @@
_name=hat-util
pkgname=python-$_name
-pkgver=0.6.7
+pkgver=0.6.8
pkgrel=1
pkgdesc="Hat utility library"
url="https://github.com/hat-open/hat-util"
@@ -11,7 +11,7 @@ arch=('any')
depends=('python')
makedepends=('python-hat-doit' 'python-installer')
source=("https://github.com/hat-open/hat-util/archive/refs/tags/v$pkgver.tar.gz")
-sha256sums=('d80a3c10f0336d588630bf3adf6de5360e848a0698bc6414923e94e5c4b8b3b9')
+sha256sums=('7dd6717cfb0e817abd02954cf2249bdeec2dc3d45e20047155a3d38ffd66ba43')
build() {
cd "$srcdir/$_name-$pkgver"