From e56cbcc1091c4dbe1d58e7e1705c25e4fdb64204 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Wed, 8 Mar 2023 19:05:32 +0100 Subject: . --- aur.sh | 4 +++- build.sh | 19 +++++++++++++++++++ hat-syslog/.gitignore | 4 ++++ hat-syslog/PKGBUILD | 26 ++++++++++++++++++++++++++ opcut/PKGBUILD | 6 +++--- python-hat-aio/PKGBUILD | 4 ++-- python-hat-doit/PKGBUILD | 4 ++-- python-hat-json/PKGBUILD | 4 ++-- python-hat-juggler/.gitignore | 4 ++++ python-hat-juggler/PKGBUILD | 25 +++++++++++++++++++++++++ python-hat-util/PKGBUILD | 4 ++-- 11 files changed, 92 insertions(+), 12 deletions(-) create mode 100755 build.sh create mode 100644 hat-syslog/.gitignore create mode 100644 hat-syslog/PKGBUILD create mode 100644 python-hat-juggler/.gitignore create mode 100644 python-hat-juggler/PKGBUILD 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 + +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 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 + +_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" -- cgit v1.2.3-70-g09d2