Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: hydrus-468
@ 2022-01-13 18:27 fanyx
  2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
                   ` (57 more replies)
  0 siblings, 58 replies; 59+ messages in thread
From: fanyx @ 2022-01-13 18:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

There is a new pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-468
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3225 bytes --]

From 9afa811de9273fa64a596a061d5fcb5f0dc41ebb Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-468_1

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..7d37826a8c34
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=468
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f87e4df7f31ac6536d74b01a5db266997145c4995bbe7223b7b38aaa8a6e3070
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r help hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-468
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
@ 2022-01-13 19:49 ` fanyx
  2022-02-20 13:33 ` [PR PATCH] [Updated] New package: hydrus-469 fanyx
                   ` (56 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-01-13 19:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-468
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3223 bytes --]

From 415d989c9f3611e72e5a5b9e69703379e789e3b5 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-469

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..2ea1d8f9d474
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=469
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=389b09476f4334546f21ae47821c38237a9212007c6561d51f5a08b6847c8c3a
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r help hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-469
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
  2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
@ 2022-02-20 13:33 ` fanyx
  2022-06-08  9:50 ` [PR PATCH] [Updated] New package: hydrus-474 fanyx
                   ` (55 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-02-20 13:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-469
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3223 bytes --]

From 47f13b843f94ead81db29fbfb2f0686d6a9e2f1a Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-474

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..bd70675389b0
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=474
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f769e6de6c8ebb331539bd949a454a0a7f8b3167b191857af45480e4e34e1972
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r help hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
  2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
  2022-02-20 13:33 ` [PR PATCH] [Updated] New package: hydrus-469 fanyx
@ 2022-06-08  9:50 ` fanyx
  2022-06-08  9:51 ` fanyx
                   ` (54 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-06-08  9:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3218 bytes --]

From 5bff213d93a742566962d5e40a8ba7d6f8c5b247 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-487

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..a2c9dceedcaf
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=487
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=a7a768de3fe2387a44bba4b563347b0ed87ba21a9d7b1e88f4de55b2a17d2b12
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (2 preceding siblings ...)
  2022-06-08  9:50 ` [PR PATCH] [Updated] New package: hydrus-474 fanyx
@ 2022-06-08  9:51 ` fanyx
  2022-06-10 15:21 ` fanyx
                   ` (53 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-06-08  9:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3218 bytes --]

From b70e52b9bb37ba02036c0bc524972cc0ef8bc480 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-487

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..a2c9dceedcaf
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=487
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=a7a768de3fe2387a44bba4b563347b0ed87ba21a9d7b1e88f4de55b2a17d2b12
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (3 preceding siblings ...)
  2022-06-08  9:51 ` fanyx
@ 2022-06-10 15:21 ` fanyx
  2022-06-10 15:37 ` fanyx
                   ` (52 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-06-10 15:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 12400 bytes --]

From b70e52b9bb37ba02036c0bc524972cc0ef8bc480 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH 1/8] New package: hydrus-487

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..a2c9dceedcaf
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=487
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=a7a768de3fe2387a44bba4b563347b0ed87ba21a9d7b1e88f4de55b2a17d2b12
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

From af963d53d7cf40a05fdc09737f279f64c87791e6 Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Wed, 8 Jun 2022 11:16:34 +0200
Subject: [PATCH 2/8] linux5.18: set CONFIG_VMGENID to y rather than m

Quoting from the kernel's Kconfig file:

  config VMGENID
          tristate "Virtual Machine Generation ID driver"
          default y
          depends on ACPI
          help
            Say Y here to use the hypervisor-provided Virtual Machine Generation ID
            to reseed the RNG when the VM is cloned. This is highly recommended if
            you intend to do any rollback / cloning / snapshotting of VMs.

            Prefer Y to M so that this protection is activated very early.

The recommendation and default value is Y over M. This commit changes
the linux5.18 package config to use the suggested value.
---
 srcpkgs/linux5.18/files/arm64-dotconfig  | 2 +-
 srcpkgs/linux5.18/files/i386-dotconfig   | 2 +-
 srcpkgs/linux5.18/files/x86_64-dotconfig | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/linux5.18/files/arm64-dotconfig b/srcpkgs/linux5.18/files/arm64-dotconfig
index 81fbc7918e6c..c0485dcc1853 100644
--- a/srcpkgs/linux5.18/files/arm64-dotconfig
+++ b/srcpkgs/linux5.18/files/arm64-dotconfig
@@ -9276,7 +9276,7 @@ CONFIG_HISI_ACC_VFIO_PCI=m
 CONFIG_VFIO_MDEV=m
 CONFIG_VFIO_FSL_MC=m
 CONFIG_VIRT_DRIVERS=y
-CONFIG_VMGENID=m
+CONFIG_VMGENID=y
 CONFIG_NITRO_ENCLAVES=m
 CONFIG_VIRTIO=y
 CONFIG_VIRTIO_PCI_LIB=y
diff --git a/srcpkgs/linux5.18/files/i386-dotconfig b/srcpkgs/linux5.18/files/i386-dotconfig
index 78ab63762b60..d04ec97412cd 100644
--- a/srcpkgs/linux5.18/files/i386-dotconfig
+++ b/srcpkgs/linux5.18/files/i386-dotconfig
@@ -8120,7 +8120,7 @@ CONFIG_MLX5_VFIO_PCI=m
 CONFIG_VFIO_MDEV=m
 CONFIG_IRQ_BYPASS_MANAGER=m
 CONFIG_VIRT_DRIVERS=y
-CONFIG_VMGENID=m
+CONFIG_VMGENID=y
 CONFIG_VBOXGUEST=m
 CONFIG_NITRO_ENCLAVES=m
 CONFIG_VIRTIO=m
diff --git a/srcpkgs/linux5.18/files/x86_64-dotconfig b/srcpkgs/linux5.18/files/x86_64-dotconfig
index 6731a62c767e..0a900fe3f248 100644
--- a/srcpkgs/linux5.18/files/x86_64-dotconfig
+++ b/srcpkgs/linux5.18/files/x86_64-dotconfig
@@ -8219,7 +8219,7 @@ CONFIG_MLX5_VFIO_PCI=m
 CONFIG_VFIO_MDEV=m
 CONFIG_IRQ_BYPASS_MANAGER=m
 CONFIG_VIRT_DRIVERS=y
-CONFIG_VMGENID=m
+CONFIG_VMGENID=y
 CONFIG_VBOXGUEST=m
 CONFIG_NITRO_ENCLAVES=m
 CONFIG_VIRTIO=m

From 02c290aa641d31ba9b559e23554c07da7875b00c Mon Sep 17 00:00:00 2001
From: Glenn Strauss <gstrauss@gluelogic.com>
Date: Wed, 8 Jun 2022 01:43:40 -0400
Subject: [PATCH 3/8] lighttpd: update to 1.4.65

---
 srcpkgs/lighttpd/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/lighttpd/template b/srcpkgs/lighttpd/template
index 4d0c9734e072..6df12c8a5ed7 100644
--- a/srcpkgs/lighttpd/template
+++ b/srcpkgs/lighttpd/template
@@ -1,6 +1,6 @@
 # Template file for 'lighttpd'
 pkgname=lighttpd
-version=1.4.64
+version=1.4.65
 revision=1
 build_style=meson
 configure_args="-Dwith_brotli=false -Dwith_bzip=false
@@ -19,7 +19,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://lighttpd.net"
 distfiles="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz"
-checksum=e1489d9fa7496fbf2e071c338b593b2300d38c23f1e5967e52c9ef482e1b0e26
+checksum=bf0fa68a629fbc404023a912b377e70049331d6797bcbb4b3e8df4c3b42328be
 
 conf_files="/etc/lighttpd/lighttpd.conf"
 system_accounts="_lighttpd"

From 42952d1bf543cc8cfe3237bd1d03c065007d5277 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Sat, 4 Jun 2022 11:25:05 +0200
Subject: [PATCH 4/8] git-toolbelt: update to 1.8.0.

---
 srcpkgs/git-toolbelt/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/git-toolbelt/template b/srcpkgs/git-toolbelt/template
index 24c3af3a28bc..5b4952669f1d 100644
--- a/srcpkgs/git-toolbelt/template
+++ b/srcpkgs/git-toolbelt/template
@@ -1,6 +1,6 @@
 # Template file for 'git-toolbelt'
 pkgname=git-toolbelt
-version=1.7.1
+version=1.8.0
 revision=1
 depends="git moreutils fzf"
 short_desc="Helper tools to make everyday life with Git much easier"
@@ -8,7 +8,7 @@ maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/nvie/git-toolbelt"
 distfiles="https://github.com/nvie/git-toolbelt/archive/v${version}.tar.gz"
-checksum=388dc5f4536cff9412c8baa8f7e89254add421a039992aed50f09f568b2daf57
+checksum=8c504a66715efe2fa544b54b464881b5575201d94a3ff31c21934b23c16bda31
 conflicts="git-extras"
 
 do_install() {

From e78f95c581fdaf3891b8190522a204af46179b13 Mon Sep 17 00:00:00 2001
From: akierig <anelki@fastmail.de>
Date: Wed, 8 Jun 2022 11:21:18 -0500
Subject: [PATCH 5/8] Signal-Desktop: update to 5.45.1.

---
 srcpkgs/Signal-Desktop/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template
index 91e0ccfe3c50..8cddd9d86ffd 100644
--- a/srcpkgs/Signal-Desktop/template
+++ b/srcpkgs/Signal-Desktop/template
@@ -1,6 +1,6 @@
 # Template file for 'Signal-Desktop'
 pkgname=Signal-Desktop
-version=5.45.0
+version=5.45.1
 revision=1
 # Signal officially only supports x86_64 (also due to Electron)
 # discontinued Electron 32-bit support: https://www.electronjs.org/blog/linux-32bit-support
@@ -14,7 +14,7 @@ maintainer="akierig <anelki@fastmail.de>"
 license="AGPL-3.0-only"
 homepage="https://github.com/signalapp/Signal-Desktop"
 distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz"
-checksum=08db44bd786eec3e58c66851e9cc6b128c13e9c8486266dfc74937a0fce7bb37
+checksum=14065fa2e2788a91893364740bfac8bd6c7aea41924fe661a0a231abe6512a7b
 nostrip_files="signal-desktop"
 
 post_extract() {

From e8b153a29f3f7202e90a460b605e43e7f77d479b Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Mon, 18 Apr 2022 18:27:28 -0700
Subject: [PATCH 6/8] libsoup3: update to 3.0.6

---
 srcpkgs/libsoup3/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/libsoup3/template b/srcpkgs/libsoup3/template
index 61ed3d167f17..6421a4f4c04b 100644
--- a/srcpkgs/libsoup3/template
+++ b/srcpkgs/libsoup3/template
@@ -1,6 +1,6 @@
 # Template file for 'libsoup3'
 pkgname=libsoup3
-version=3.0.4
+version=3.0.6
 revision=1
 wrksrc="libsoup-$version"
 build_style=meson
@@ -19,7 +19,7 @@ license="LGPL-2.1-or-later"
 homepage="https://wiki.gnome.org/Projects/libsoup"
 changelog="https://gitlab.gnome.org/GNOME/libsoup/-/raw/master/NEWS"
 distfiles="${GNOME_SITE}/libsoup/${version%.*}/libsoup-${version}.tar.xz"
-checksum=5bd38b5e091f707fd7fa3ed7c37aacca3f8e16c65787f1cc17dc38d1dcde567b
+checksum=b45d59f840b9acf9bb45fd45854e3ef672f57e3ab957401c3ad8d7502ac23da6
 make_check=no # gio tests can't run in chroot
 
 # Package build options

From e68263a433b155a13c2b7faf0f157cdf16dc1314 Mon Sep 17 00:00:00 2001
From: oreo639 <31916379+Oreo639@users.noreply.github.com>
Date: Sat, 16 Apr 2022 23:41:20 -0700
Subject: [PATCH 7/8] nv-codec-headers: update to 11.1.5.1

---
 srcpkgs/nv-codec-headers/template | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/nv-codec-headers/template b/srcpkgs/nv-codec-headers/template
index 0e4ba1c87c84..50d45e9da873 100644
--- a/srcpkgs/nv-codec-headers/template
+++ b/srcpkgs/nv-codec-headers/template
@@ -1,8 +1,7 @@
 # Template file for 'nv-codec-headers'
 pkgname=nv-codec-headers
-version=9.1.23.1
+version=11.1.5.1
 revision=1
-archs="i686* x86_64*"
 wrksrc="nv-codec-headers-n${version}"
 build_style=gnu-makefile
 short_desc="FFmpeg version of headers required to interface with Nvidias codec APIs"
@@ -10,7 +9,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git"
 distfiles="https://github.com/FFmpeg/nv-codec-headers/archive/n${version}.tar.gz"
-checksum=063f49838113c90504fd430377a6025478e2a454f812ce8a4da033e474727dc8
+checksum=d095fbd56aa93772471a323be0ebe65504a0f43f06c76a30b6d25da77b06ae9c
 
 post_install() {
 	sed -n '4,25p' include/ffnvcodec/nvEncodeAPI.h > LICENSE

From 13a790085143a6be89e3a9a6da87e17691bf9232 Mon Sep 17 00:00:00 2001
From: zlice <zlice555@gmail.com>
Date: Wed, 8 Jun 2022 14:11:06 -0400
Subject: [PATCH 8/8] discord: update to 0.0.18.

---
 srcpkgs/discord/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/discord/template b/srcpkgs/discord/template
index 383674007063..ca751ea49b80 100644
--- a/srcpkgs/discord/template
+++ b/srcpkgs/discord/template
@@ -1,6 +1,6 @@
 # Template file for 'discord'
 pkgname=discord
-version=0.0.17
+version=0.0.18
 revision=1
 archs="x86_64"
 wrksrc="Discord"
@@ -11,7 +11,7 @@ maintainer="Ryan Conwell <ryanconwell@protonmail.com>"
 license="custom:Proprietary"
 homepage="https://discord.com"
 distfiles="https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"
-checksum=3462732e5d5d9bb75f901f7ca5047782fe2f96576b208ea538c593ba2a031315
+checksum=0417389fa437c6e044d77252de0cffe8473074e596e7b34ba76b1a3a5c0e80c2
 repository=nonfree
 restricted=yes
 nopie=yes

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-474
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (4 preceding siblings ...)
  2022-06-10 15:21 ` fanyx
@ 2022-06-10 15:37 ` fanyx
  2022-06-10 15:40 ` [PR PATCH] [Updated] New package: hydrus-488d fanyx
                   ` (51 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-06-10 15:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-474
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3196 bytes --]

From 31f4557b7869c50ff1c2b39f1ccb598177a842a4 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-488d

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..6aec506a1d38
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=488d
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=b70e52b9bb37ba02036c0bc524972cc0ef8bc480
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-488d
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (5 preceding siblings ...)
  2022-06-10 15:37 ` fanyx
@ 2022-06-10 15:40 ` fanyx
  2022-09-09  2:15 ` github-actions
                   ` (50 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-06-10 15:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-488d
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3220 bytes --]

From 250b0aec8fea902e5faa6ea838ceba044bd744c6 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-488d

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..a142c56918f2
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=488d
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=76058888806a0156c42f178ebe0f494c77f2b48b7fbbec571d2c103a3ca05874
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: New package: hydrus-488d
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (6 preceding siblings ...)
  2022-06-10 15:40 ` [PR PATCH] [Updated] New package: hydrus-488d fanyx
@ 2022-09-09  2:15 ` github-actions
  2022-09-09  9:48 ` [PR PATCH] [Updated] " fanyx
                   ` (49 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: github-actions @ 2022-09-09  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#issuecomment-1241420488

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-488d
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (7 preceding siblings ...)
  2022-09-09  2:15 ` github-actions
@ 2022-09-09  9:48 ` fanyx
  2022-09-20 13:51 ` New package: hydrus-499 fanyx
                   ` (48 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-09-09  9:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-488d
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3218 bytes --]

From ec3a6dc9aedce8d45a7a70ebc5dd59ac7f8c94bd Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-499

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..cc974760781a
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=499
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=c2dc01491dbeb1535f75aa3b4d741925898d6f3223b2b85517119e5d9688b3ae
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (8 preceding siblings ...)
  2022-09-09  9:48 ` [PR PATCH] [Updated] " fanyx
@ 2022-09-20 13:51 ` fanyx
  2022-09-20 13:54 ` [PR PATCH] [Updated] " fanyx
                   ` (47 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-09-20 13:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#issuecomment-1252386796

Comment:
Rebasing onto current master 

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (9 preceding siblings ...)
  2022-09-20 13:51 ` New package: hydrus-499 fanyx
@ 2022-09-20 13:54 ` fanyx
  2022-09-20 14:11 ` fanyx
                   ` (46 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-09-20 13:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-499
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3218 bytes --]

From 97299b21e079b3d53aa1ca8b200e17d76945baa1 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Wed, 12 Jan 2022 18:26:04 +0100
Subject: [PATCH] New package: hydrus-499

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..cc974760781a
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=499
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=c2dc01491dbeb1535f75aa3b4d741925898d6f3223b2b85517119e5d9688b3ae
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (10 preceding siblings ...)
  2022-09-20 13:54 ` [PR PATCH] [Updated] " fanyx
@ 2022-09-20 14:11 ` fanyx
  2022-09-20 14:16 ` fanyx
                   ` (45 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-09-20 14:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-499
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3218 bytes --]

From 25056fbd561c1cf42b03209fa7633498510dad82 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Tue, 20 Sep 2022 16:10:00 +0100
Subject: [PATCH] New package: hydrus-499

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 ++++++
 srcpkgs/hydrus/template             | 43 +++++++++++++++++++++++++++++
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..cc974760781a
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,43 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=499
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=c2dc01491dbeb1535f75aa3b4d741925898d6f3223b2b85517119e5d9688b3ae
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vmkdir usr/lib/hydrus/bin
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (11 preceding siblings ...)
  2022-09-20 14:11 ` fanyx
@ 2022-09-20 14:16 ` fanyx
  2022-09-20 14:36 ` fanyx
                   ` (44 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-09-20 14:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#issuecomment-1252421217

Comment:
Currently builds succeed but launching the client crashes on my system.

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (12 preceding siblings ...)
  2022-09-20 14:16 ` fanyx
@ 2022-09-20 14:36 ` fanyx
  2022-10-05 19:20 ` RunningDroid
                   ` (43 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-09-20 14:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#issuecomment-1252421217

Comment:
Currently builds succeed but launching the client crashes on my system.

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (13 preceding siblings ...)
  2022-09-20 14:36 ` fanyx
@ 2022-10-05 19:20 ` RunningDroid
  2022-10-05 19:23 ` [PR REVIEW] " RunningDroid
                   ` (42 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: RunningDroid @ 2022-10-05 19:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

New comment by RunningDroid on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#issuecomment-1268854314

Comment:
![hydrus license](https://user-images.githubusercontent.com/486393/194138348-f5ab891e-49f1-449b-afb6-bd4331205bd3.png)
`LICENSE_PATH` needs to be pointed at the license's new location, e.g.: `vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'`

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (14 preceding siblings ...)
  2022-10-05 19:20 ` RunningDroid
@ 2022-10-05 19:23 ` RunningDroid
  2022-10-11 10:36 ` [PR PATCH] [Updated] " fanyx
                   ` (41 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: RunningDroid @ 2022-10-05 19:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

New review comment by RunningDroid on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r988267122

Comment:
This directory gets deleted in the `03-remove-empty-dirs` post-install hook and hydrus seems to run fine without it so this line can probably be dropped

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (15 preceding siblings ...)
  2022-10-05 19:23 ` [PR REVIEW] " RunningDroid
@ 2022-10-11 10:36 ` fanyx
  2022-10-11 10:36 ` [PR REVIEW] " fanyx
                   ` (40 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-11 10:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-499
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3310 bytes --]

From 2204bc2955036275bbb740b8f38dd36f1f131c7e Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Tue, 20 Sep 2022 16:10:00 +0100
Subject: [PATCH] New package: hydrus-501

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 42 +++++++++++++++++++++++++++++
 4 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..434eec264585
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,42 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=501
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f8ac5ff2d7f8228aa1284d179e7ddd28046443d445bed17b37d41e6a9d5d9b98
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (16 preceding siblings ...)
  2022-10-11 10:36 ` [PR PATCH] [Updated] " fanyx
@ 2022-10-11 10:36 ` fanyx
  2022-10-11 10:36 ` fanyx
                   ` (39 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-11 10:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r992149262

Comment:
ty, removed usr/lib/hydrus/bin

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (17 preceding siblings ...)
  2022-10-11 10:36 ` [PR REVIEW] " fanyx
@ 2022-10-11 10:36 ` fanyx
  2022-10-11 10:37 ` [PR PATCH] [Updated] " fanyx
                   ` (38 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-11 10:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#issuecomment-1274481646

Comment:
fixed the license path and updated to 501

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (18 preceding siblings ...)
  2022-10-11 10:36 ` fanyx
@ 2022-10-11 10:37 ` fanyx
  2022-10-11 10:38 ` fanyx
                   ` (37 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-11 10:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-499
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3314 bytes --]

From 4bae007c3dba16c528806e6df89755a750532c58 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Tue, 11 Oct 2022 12:37:13 +0200
Subject: [PATCH] New package: hydrus-501

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 42 +++++++++++++++++++++++++++++
 4 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..434eec264585
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,42 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=501
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f8ac5ff2d7f8228aa1284d179e7ddd28046443d445bed17b37d41e6a9d5d9b98
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (19 preceding siblings ...)
  2022-10-11 10:37 ` [PR PATCH] [Updated] " fanyx
@ 2022-10-11 10:38 ` fanyx
  2022-10-11 10:39 ` fanyx
                   ` (36 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-11 10:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-499
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3314 bytes --]

From a165bf5f414bd29e33f05ff448abdbb3b63fe603 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Tue, 11 Oct 2022 12:37:13 +0200
Subject: [PATCH] New package: hydrus-501

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 42 +++++++++++++++++++++++++++++
 4 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..434eec264585
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,42 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=501
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f8ac5ff2d7f8228aa1284d179e7ddd28046443d445bed17b37d41e6a9d5d9b98
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-499
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (20 preceding siblings ...)
  2022-10-11 10:38 ` fanyx
@ 2022-10-11 10:39 ` fanyx
  2022-10-14 10:18 ` [PR PATCH] [Updated] New package: hydrus-501 fanyx
                   ` (35 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-11 10:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-499
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3314 bytes --]

From 0433716feac1767323ab932ca91b20b8dcc6864b Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Tue, 11 Oct 2022 12:37:13 +0200
Subject: [PATCH] New package: hydrus-501

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 42 +++++++++++++++++++++++++++++
 4 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..434eec264585
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,42 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=501
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f8ac5ff2d7f8228aa1284d179e7ddd28046443d445bed17b37d41e6a9d5d9b98
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-501
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (21 preceding siblings ...)
  2022-10-11 10:39 ` fanyx
@ 2022-10-14 10:18 ` fanyx
  2022-10-14 21:40 ` [PR REVIEW] New package: hydrus-502 paper42
                   ` (34 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-14 10:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-501
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3314 bytes --]

From 2f3db22fe57055e91e8052cb680438256b0103a6 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Fri, 14 Oct 2022 12:18:12 +0200
Subject: [PATCH] New package: hydrus-501

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 42 +++++++++++++++++++++++++++++
 4 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..cec3c1b5a999
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,42 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=502
+revision=1
+archs="x86_64"
+makedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=684e643f781fa7682a670a75ee09fbc12531d27904be99d9b8e642f50c277d88
+
+pre_build() {
+	rm -f "hydrus/Test"*.py
+	rm -rf "static/testing"
+}
+
+do_build() {
+	echo 'Compiling .py files...'
+	python3 -OO -m compileall -fq .
+}
+
+do_install() {
+	vmkdir usr/lib/hydrus
+	cp -r hydrus static client.pyw server.py ${DESTDIR}/usr/lib/hydrus/
+
+	vbin ${FILESDIR}/hydrus-client
+	vbin ${FILESDIR}/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (24 preceding siblings ...)
  2022-10-14 21:40 ` paper42
@ 2022-10-14 21:40 ` paper42
  2022-10-14 21:40 ` paper42
                   ` (31 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996169810

Comment:
```suggestion
distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
```

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (22 preceding siblings ...)
  2022-10-14 10:18 ` [PR PATCH] [Updated] New package: hydrus-501 fanyx
@ 2022-10-14 21:40 ` paper42
  2022-10-14 21:40 ` paper42
                   ` (33 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996170570

Comment:
hostmakedepends

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (23 preceding siblings ...)
  2022-10-14 21:40 ` [PR REVIEW] New package: hydrus-502 paper42
@ 2022-10-14 21:40 ` paper42
  2022-10-14 21:40 ` paper42
                   ` (32 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996169305

Comment:
-||- and I can't see server.py in the package on x86_64, so this shouldn't work

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (29 preceding siblings ...)
  2022-10-14 21:40 ` paper42
@ 2022-10-14 21:40 ` paper42
  2022-10-14 23:43 ` fanyx
                   ` (26 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996171951

Comment:
you are doing this after you installed the files, so this doesn't do anything

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (28 preceding siblings ...)
  2022-10-14 21:40 ` paper42
@ 2022-10-14 21:40 ` paper42
  2022-10-14 21:40 ` paper42
                   ` (27 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996170497

Comment:
why?

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (26 preceding siblings ...)
  2022-10-14 21:40 ` paper42
@ 2022-10-14 21:40 ` paper42
  2022-10-14 21:40 ` paper42
                   ` (29 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 217 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996172435

Comment:
Could you submit this upstream so we don't have to maintain this file?

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (25 preceding siblings ...)
  2022-10-14 21:40 ` paper42
@ 2022-10-14 21:40 ` paper42
  2022-10-14 21:40 ` paper42
                   ` (30 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996168234

Comment:
python is python2, this should use python3. Doesn't a simple symlink also work instead of this wrapper?

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (27 preceding siblings ...)
  2022-10-14 21:40 ` paper42
@ 2022-10-14 21:40 ` paper42
  2022-10-14 21:40 ` paper42
                   ` (28 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: paper42 @ 2022-10-14 21:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996171527

Comment:
we do that in an xbps trigger, you can probably use pycompile_dirs instead of this

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (30 preceding siblings ...)
  2022-10-14 21:40 ` paper42
@ 2022-10-14 23:43 ` fanyx
  2022-10-14 23:44 ` fanyx
                   ` (25 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-14 23:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996217060

Comment:
Yeah, i'll submit it and see if they accept.

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (31 preceding siblings ...)
  2022-10-14 23:43 ` fanyx
@ 2022-10-14 23:44 ` fanyx
  2022-10-14 23:46 ` fanyx
                   ` (24 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-14 23:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996217322

Comment:
I'll give it a try.
Sounds like a good idea

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (32 preceding siblings ...)
  2022-10-14 23:44 ` fanyx
@ 2022-10-14 23:46 ` fanyx
  2022-10-14 23:46 ` fanyx
                   ` (23 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-14 23:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996217746

Comment:
`/usr/bin/hydrus -> /usr/lib/hydrus/client.pyw` ?
yea, could work. ill give it a shot and change if it works.

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (33 preceding siblings ...)
  2022-10-14 23:46 ` fanyx
@ 2022-10-14 23:46 ` fanyx
  2022-10-15 10:30 ` [PR PATCH] [Updated] " fanyx
                   ` (22 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-14 23:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996217746

Comment:
`/usr/bin/hydrus-client -> /usr/lib/hydrus/client.pyw` ?
yea, could work. ill give it a shot and change if it works.

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (34 preceding siblings ...)
  2022-10-14 23:46 ` fanyx
@ 2022-10-15 10:30 ` fanyx
  2022-10-15 10:31 ` [PR REVIEW] " fanyx
                   ` (21 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-502
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3368 bytes --]

From f0cecc7baf26ad9a0dfc3ca5301390994516139b Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Sat, 15 Oct 2022 12:30:38 +0200
Subject: [PATCH] New package: hydrus-501

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 4 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..c5641b0f3f8e
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=502
+revision=1
+hostmakedepends="python3"
+pycompile_dirs="usr/lib/hydrus"
+python_version="3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=684e643f781fa7682a670a75ee09fbc12531d27904be99d9b8e642f50c277d88
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}
+

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (35 preceding siblings ...)
  2022-10-15 10:30 ` [PR PATCH] [Updated] " fanyx
@ 2022-10-15 10:31 ` fanyx
  2022-10-15 10:32 ` fanyx
                   ` (20 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996287023

Comment:
switched order to sed at beginning of do_install

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (36 preceding siblings ...)
  2022-10-15 10:31 ` [PR REVIEW] " fanyx
@ 2022-10-15 10:32 ` fanyx
  2022-10-15 10:33 ` fanyx
                   ` (19 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996287095

Comment:
removed archs

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (37 preceding siblings ...)
  2022-10-15 10:32 ` fanyx
@ 2022-10-15 10:33 ` fanyx
  2022-10-15 10:40 ` [PR PATCH] [Updated] " fanyx
                   ` (18 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996287275

Comment:
```
/usr/lib/hydrus/hydrus/test/TestServerDB.py
/usr/lib/hydrus/hydrus/test/__init__.py
/usr/lib/hydrus/server.py
/usr/lib/hydrus/static/8chan.png
/usr/lib/hydrus/static/Icons.svg
```

server.py is in the package and executable
should've been in there ever since, dunno what mightve happened to previous versions

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (38 preceding siblings ...)
  2022-10-15 10:33 ` fanyx
@ 2022-10-15 10:40 ` fanyx
  2022-10-15 10:42 ` [PR REVIEW] " fanyx
                   ` (17 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-502
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 3368 bytes --]

From c07a72d121e480b128829097c2861ad8b6dcde02 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Sat, 15 Oct 2022 12:40:46 +0200
Subject: [PATCH] New package: hydrus-501

---
 srcpkgs/hydrus/files/hydrus-client  |  2 ++
 srcpkgs/hydrus/files/hydrus-server  |  2 ++
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 4 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus-client
 create mode 100644 srcpkgs/hydrus/files/hydrus-server
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus-client b/srcpkgs/hydrus/files/hydrus-client
new file mode 100644
index 000000000000..f3ed9ccd0add
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-client
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/client.pyw "$@"
diff --git a/srcpkgs/hydrus/files/hydrus-server b/srcpkgs/hydrus/files/hydrus-server
new file mode 100644
index 000000000000..80376bed6816
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus-server
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec python -OO /usr/lib/hydrus/server.py "$@"
diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..43005c20dbdb
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=502
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=684e643f781fa7682a670a75ee09fbc12531d27904be99d9b8e642f50c277d88
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (39 preceding siblings ...)
  2022-10-15 10:40 ` [PR PATCH] [Updated] " fanyx
@ 2022-10-15 10:42 ` fanyx
  2022-10-15 10:42 ` fanyx
                   ` (16 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r996288186

Comment:
symlinks work just fine
client and server.py use python3 shebang

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (40 preceding siblings ...)
  2022-10-15 10:42 ` [PR REVIEW] " fanyx
@ 2022-10-15 10:42 ` fanyx
  2022-10-15 10:44 ` [PR PATCH] [Updated] " fanyx
                   ` (15 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

New comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#issuecomment-1279717908

Comment:
thanks for the suggestions once again

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (41 preceding siblings ...)
  2022-10-15 10:42 ` fanyx
@ 2022-10-15 10:44 ` fanyx
  2022-10-16 12:24 ` fanyx
                   ` (14 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-15 10:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-502
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2629 bytes --]

From 52deb38d3dce90efa9eff037b2b2425c06dc5f5a Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Sat, 15 Oct 2022 12:44:12 +0200
Subject: [PATCH] New package: hydrus-502

---
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..43005c20dbdb
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=502
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=684e643f781fa7682a670a75ee09fbc12531d27904be99d9b8e642f50c277d88
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (42 preceding siblings ...)
  2022-10-15 10:44 ` [PR PATCH] [Updated] " fanyx
@ 2022-10-16 12:24 ` fanyx
  2022-10-17  7:00 ` fanyx
                   ` (13 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-16 12:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-502
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2629 bytes --]

From e3afde8547d7d59d3ca14751503b7e36f403b740 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Sat, 15 Oct 2022 12:44:12 +0200
Subject: [PATCH] New package: hydrus-502

---
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..43005c20dbdb
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=502
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=684e643f781fa7682a670a75ee09fbc12531d27904be99d9b8e642f50c277d88
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (43 preceding siblings ...)
  2022-10-16 12:24 ` fanyx
@ 2022-10-17  7:00 ` fanyx
  2022-10-17  7:02 ` fanyx
                   ` (12 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-17  7:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-502
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2629 bytes --]

From 48bdee6dcba4dd63fe607fb61ad338db31d20da0 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Sat, 15 Oct 2022 12:44:12 +0200
Subject: [PATCH] New package: hydrus-502

---
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..43005c20dbdb
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=502
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=684e643f781fa7682a670a75ee09fbc12531d27904be99d9b8e642f50c277d88
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (44 preceding siblings ...)
  2022-10-17  7:00 ` fanyx
@ 2022-10-17  7:02 ` fanyx
  2022-10-25 13:01 ` fanyx
                   ` (11 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-17  7:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-502
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2629 bytes --]

From f094d43b809b0451318d84041ee727fae1df9d20 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Sat, 15 Oct 2022 12:44:12 +0200
Subject: [PATCH] New package: hydrus-502

---
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..43005c20dbdb
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=502
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=684e643f781fa7682a670a75ee09fbc12531d27904be99d9b8e642f50c277d88
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-502
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (45 preceding siblings ...)
  2022-10-17  7:02 ` fanyx
@ 2022-10-25 13:01 ` fanyx
  2022-10-27 13:27 ` [PR PATCH] [Updated] New package: hydrus-503 fanyx
                   ` (10 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-25 13:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-502
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2629 bytes --]

From 171ea3c99887f65698fc828e31faa6df001df6f1 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@fanyx.xyz>
Date: Tue, 25 Oct 2022 15:01:03 +0200
Subject: [PATCH] New package: hydrus-503

---
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..8ea1f5f320b1
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=503
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=24e8cf9bd1904b43abb4d678ccfef7c2418bae3dde02c745d58a1a8e7d49fb91
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-503
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (46 preceding siblings ...)
  2022-10-25 13:01 ` fanyx
@ 2022-10-27 13:27 ` fanyx
  2022-11-17  9:28 ` [PR PATCH] [Updated] New package: hydrus-504 fanyx
                   ` (9 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-10-27 13:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-503
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2625 bytes --]

From 2fb66e4a9fe04c0e347f8866ec1742c4e728f4ad Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Thu, 27 Oct 2022 15:27:36 +0200
Subject: [PATCH] New package: hydrus-504

---
 srcpkgs/hydrus/files/hydrus.desktop |  9 +++++++
 srcpkgs/hydrus/template             | 40 +++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/hydrus/files/hydrus.desktop
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/files/hydrus.desktop b/srcpkgs/hydrus/files/hydrus.desktop
new file mode 100644
index 000000000000..495c2f060d6e
--- /dev/null
+++ b/srcpkgs/hydrus/files/hydrus.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=Hydrus Client
+Comment=Danbooru-like image tagging and searching system for the desktop
+Exec=hydrus-client
+Icon=/usr/lib/hydrus/static/hydrus_non-transparent.png
+Terminal=false
+Type=Application
+Categories=Application;FileTools;Graphics;Network;
diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..34663909343b
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=504
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=06aff739f5444940296841a23a4f3ac7a5ace8ffface7ee280fce319ef2c8fea
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	vcopy ${FILESDIR}/hydrus.desktop usr/share/applications/
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-504
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (47 preceding siblings ...)
  2022-10-27 13:27 ` [PR PATCH] [Updated] New package: hydrus-503 fanyx
@ 2022-11-17  9:28 ` fanyx
  2022-11-17 10:32 ` [PR REVIEW] New package: hydrus-506 fanyx
                   ` (8 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-11-17  9:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-504
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2040 bytes --]

From 93f4014c598db377704240167a3939af63434da1 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Thu, 17 Nov 2022 10:27:23 +0100
Subject: [PATCH] New package: hydrus-506

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..f88298a9e622
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=506
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=c8dbc4b42766e1a237bf1cef5a157f002e96f7842355e8fef91ff9da2d22cc54
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR REVIEW] New package: hydrus-506
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (48 preceding siblings ...)
  2022-11-17  9:28 ` [PR PATCH] [Updated] New package: hydrus-504 fanyx
@ 2022-11-17 10:32 ` fanyx
  2023-01-23 22:56 ` [PR PATCH] [Updated] " fanyx
                   ` (7 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2022-11-17 10:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

New review comment by fanyx on void-packages repository

https://github.com/void-linux/void-packages/pull/35034#discussion_r1025015837

Comment:
Go merged into upstream.
I created a symlink from /usr/lib to /usr/share/applications in the template.
The current desktop file is valid for void, i'll add patches if it should divert from our file structure

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-506
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (49 preceding siblings ...)
  2022-11-17 10:32 ` [PR REVIEW] New package: hydrus-506 fanyx
@ 2023-01-23 22:56 ` fanyx
  2023-01-23 22:59 ` [PR PATCH] [Updated] New package: hydrus-513 fanyx
                   ` (6 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2023-01-23 22:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-506
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2040 bytes --]

From df1636d5d1101601fcefd5b27a805448944ba2d2 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Thu, 17 Nov 2022 10:27:23 +0100
Subject: [PATCH] New package: hydrus-513

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..fe5a1e4cbfc5
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=513
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx@pm.me>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=aebdd5fb5d41846c4228d3bb5ee36b65dde0feda77779c524a44000e0fd778bb
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-513
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (50 preceding siblings ...)
  2023-01-23 22:56 ` [PR PATCH] [Updated] " fanyx
@ 2023-01-23 22:59 ` fanyx
  2023-01-30 11:19 ` fanyx
                   ` (5 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2023-01-23 22:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-513
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2052 bytes --]

From ee82b34218ac4ae3cb23ecbde294cdf4c9f205a3 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Thu, 17 Nov 2022 10:27:23 +0100
Subject: [PATCH] New package: hydrus-513

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..a86c08b4ec4b
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=513
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=aebdd5fb5d41846c4228d3bb5ee36b65dde0feda77779c524a44000e0fd778bb
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-513
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (51 preceding siblings ...)
  2023-01-23 22:59 ` [PR PATCH] [Updated] New package: hydrus-513 fanyx
@ 2023-01-30 11:19 ` fanyx
  2023-01-30 11:19 ` fanyx
                   ` (4 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2023-01-30 11:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-513
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2052 bytes --]

From b79089216e69f64802b7b53286aa016b5db44eb9 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Thu, 17 Nov 2022 10:27:23 +0100
Subject: [PATCH] New package: hydrus-513

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..a86c08b4ec4b
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=513
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=aebdd5fb5d41846c4228d3bb5ee36b65dde0feda77779c524a44000e0fd778bb
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-513
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (52 preceding siblings ...)
  2023-01-30 11:19 ` fanyx
@ 2023-01-30 11:19 ` fanyx
  2023-02-09  9:16 ` fanyx
                   ` (3 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2023-01-30 11:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-513
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2064 bytes --]

From 46518b4c1ee606726b61fc89eae34e3d42f46d54 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx+github@posteo.net>
Date: Mon, 30 Jan 2023 12:19:18 +0100
Subject: [PATCH] New package: hydrus-513

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..a86c08b4ec4b
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=513
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=aebdd5fb5d41846c4228d3bb5ee36b65dde0feda77779c524a44000e0fd778bb
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-513
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (53 preceding siblings ...)
  2023-01-30 11:19 ` fanyx
@ 2023-02-09  9:16 ` fanyx
  2023-04-26 12:58 ` fanyx
                   ` (2 subsequent siblings)
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2023-02-09  9:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-513
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2052 bytes --]

From 1eb510660e330fea2ebd50182fc56fbe83247823 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Thu, 17 Nov 2022 10:27:23 +0100
Subject: [PATCH] New package: hydrus-516

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..c2eb349ed5dd
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=516
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=ff9137deffe3aeac778d55d25324df914a725fa40a2e9c189ef13361b719da2a
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-513
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (54 preceding siblings ...)
  2023-02-09  9:16 ` fanyx
@ 2023-04-26 12:58 ` fanyx
  2023-04-28  8:01 ` [PR PATCH] [Updated] New package: hydrus-524 fanyx
  2023-06-28 20:07 ` [PR PATCH] [Merged]: New package: hydrus-525a Duncaen
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2023-04-26 12:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-513
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2075 bytes --]

From 908686744db1e4d6d9e56f87dbec1037e980bce9 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Wed, 26 Apr 2023 14:57:46 +0200
Subject: [PATCH] New package: hydrus-524

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..b15a54d73c69
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=524
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl python3-packaging"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=1204a971cc02401fdb58b3fbd563b0f91724060b0db021a292950fb0c950bd6a
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Updated] New package: hydrus-524
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (55 preceding siblings ...)
  2023-04-26 12:58 ` fanyx
@ 2023-04-28  8:01 ` fanyx
  2023-06-28 20:07 ` [PR PATCH] [Merged]: New package: hydrus-525a Duncaen
  57 siblings, 0 replies; 59+ messages in thread
From: fanyx @ 2023-04-28  8:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1045 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages hydrus
https://github.com/void-linux/void-packages/pull/35034

New package: hydrus-524
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


A patch file from https://github.com/void-linux/void-packages/pull/35034.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hydrus-35034.patch --]
[-- Type: text/x-diff, Size: 2077 bytes --]

From e890a998c44b726225ee71c5c960cdb178766351 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Wed, 26 Apr 2023 14:57:46 +0200
Subject: [PATCH] New package: hydrus-525a

---
 srcpkgs/hydrus/template | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/hydrus/template

diff --git a/srcpkgs/hydrus/template b/srcpkgs/hydrus/template
new file mode 100644
index 000000000000..5b6b7f47572a
--- /dev/null
+++ b/srcpkgs/hydrus/template
@@ -0,0 +1,40 @@
+# Template file for 'hydrus'
+pkgname=hydrus
+version=525a
+revision=1
+pycompile_dirs="usr/lib/hydrus"
+hostmakedepends="python3"
+depends="python3 libopencv-python3 python3-BeautifulSoup4 python3-yaml python3-lz4
+ python3-numpy python3-Twisted python3-Pillow python3-pysocks python3-psutil
+ python3-send2trash python3-html5lib python3-requests python3-QtPy noto-fonts-emoji
+ python3-mpv python3-service_identity python3-PyQt5 fmt python3-pyside2 ffmpeg
+ miniupnpc desktop-file-utils python3-cloudscraper python3-openssl python3-packaging"
+short_desc="Danbooru-like image tagging and searching system for the desktop"
+maintainer="fanyx <fanyx+github@posteo.net>"
+license="WTFPL"
+homepage="https://hydrusnetwork.github.io/hydrus/"
+distfiles="https://github.com/hydrusnetwork/hydrus/archive/refs/tags/v${version}.tar.gz"
+checksum=67ee32f9ccb2ba5d1a8730d3033bb7850dc43b07628e2635847256e2820f9448
+
+python_version="3"
+
+do_install() {
+	vsed -i hydrus/core/HydrusConstants.py -e 's|^LICENSE_PATH.*|LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"|'
+	chmod +x server.py
+
+	vmkdir usr/lib/hydrus
+	vcopy hydrus usr/lib/hydrus/
+	vcopy static usr/lib/hydrus/
+	vcopy client.pyw usr/lib/hydrus/
+	vcopy server.py usr/lib/hydrus/
+
+	vmkdir usr/bin
+	ln -sf /usr/lib/hydrus/client.pyw ${DESTDIR}/usr/bin/hydrus-client
+	ln -sf /usr/lib/hydrus/server.py ${DESTDIR}/usr/bin/hydrus-server
+
+	vmkdir usr/share/applications
+	ln -sf /usr/lib/hydrus/static/hydrus.desktop ${DESTDIR}/usr/share/applications
+
+	vlicense COPYING
+	vlicense license.txt
+}

^ permalink raw reply	[flat|nested] 59+ messages in thread

* Re: [PR PATCH] [Merged]: New package: hydrus-525a
  2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
                   ` (56 preceding siblings ...)
  2023-04-28  8:01 ` [PR PATCH] [Updated] New package: hydrus-524 fanyx
@ 2023-06-28 20:07 ` Duncaen
  57 siblings, 0 replies; 59+ messages in thread
From: Duncaen @ 2023-06-28 20:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 895 bytes --]

There's a merged pull request on the void-packages repository

New package: hydrus-525a
https://github.com/void-linux/void-packages/pull/35034

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)


^ permalink raw reply	[flat|nested] 59+ messages in thread

end of thread, other threads:[~2023-06-28 20:07 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 18:27 [PR PATCH] New package: hydrus-468 fanyx
2022-01-13 19:49 ` [PR PATCH] [Updated] " fanyx
2022-02-20 13:33 ` [PR PATCH] [Updated] New package: hydrus-469 fanyx
2022-06-08  9:50 ` [PR PATCH] [Updated] New package: hydrus-474 fanyx
2022-06-08  9:51 ` fanyx
2022-06-10 15:21 ` fanyx
2022-06-10 15:37 ` fanyx
2022-06-10 15:40 ` [PR PATCH] [Updated] New package: hydrus-488d fanyx
2022-09-09  2:15 ` github-actions
2022-09-09  9:48 ` [PR PATCH] [Updated] " fanyx
2022-09-20 13:51 ` New package: hydrus-499 fanyx
2022-09-20 13:54 ` [PR PATCH] [Updated] " fanyx
2022-09-20 14:11 ` fanyx
2022-09-20 14:16 ` fanyx
2022-09-20 14:36 ` fanyx
2022-10-05 19:20 ` RunningDroid
2022-10-05 19:23 ` [PR REVIEW] " RunningDroid
2022-10-11 10:36 ` [PR PATCH] [Updated] " fanyx
2022-10-11 10:36 ` [PR REVIEW] " fanyx
2022-10-11 10:36 ` fanyx
2022-10-11 10:37 ` [PR PATCH] [Updated] " fanyx
2022-10-11 10:38 ` fanyx
2022-10-11 10:39 ` fanyx
2022-10-14 10:18 ` [PR PATCH] [Updated] New package: hydrus-501 fanyx
2022-10-14 21:40 ` [PR REVIEW] New package: hydrus-502 paper42
2022-10-14 21:40 ` paper42
2022-10-14 21:40 ` paper42
2022-10-14 21:40 ` paper42
2022-10-14 21:40 ` paper42
2022-10-14 21:40 ` paper42
2022-10-14 21:40 ` paper42
2022-10-14 21:40 ` paper42
2022-10-14 23:43 ` fanyx
2022-10-14 23:44 ` fanyx
2022-10-14 23:46 ` fanyx
2022-10-14 23:46 ` fanyx
2022-10-15 10:30 ` [PR PATCH] [Updated] " fanyx
2022-10-15 10:31 ` [PR REVIEW] " fanyx
2022-10-15 10:32 ` fanyx
2022-10-15 10:33 ` fanyx
2022-10-15 10:40 ` [PR PATCH] [Updated] " fanyx
2022-10-15 10:42 ` [PR REVIEW] " fanyx
2022-10-15 10:42 ` fanyx
2022-10-15 10:44 ` [PR PATCH] [Updated] " fanyx
2022-10-16 12:24 ` fanyx
2022-10-17  7:00 ` fanyx
2022-10-17  7:02 ` fanyx
2022-10-25 13:01 ` fanyx
2022-10-27 13:27 ` [PR PATCH] [Updated] New package: hydrus-503 fanyx
2022-11-17  9:28 ` [PR PATCH] [Updated] New package: hydrus-504 fanyx
2022-11-17 10:32 ` [PR REVIEW] New package: hydrus-506 fanyx
2023-01-23 22:56 ` [PR PATCH] [Updated] " fanyx
2023-01-23 22:59 ` [PR PATCH] [Updated] New package: hydrus-513 fanyx
2023-01-30 11:19 ` fanyx
2023-01-30 11:19 ` fanyx
2023-02-09  9:16 ` fanyx
2023-04-26 12:58 ` fanyx
2023-04-28  8:01 ` [PR PATCH] [Updated] New package: hydrus-524 fanyx
2023-06-28 20:07 ` [PR PATCH] [Merged]: New package: hydrus-525a Duncaen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).