Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: onionshare-{desktop,cli}-2.5_1
@ 2022-10-09  2:34 DragonGhost7
  2022-10-09  2:52 ` [PR PATCH] [Updated] " DragonGhost7
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: DragonGhost7 @ 2022-10-09  2:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/DragonGhost7/void-packages onionshare
https://github.com/void-linux/void-packages/pull/39827

New package: onionshare-{desktop,cli}-2.5_1
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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-glib
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (crossbuild)
  - aarch64-musl (crossbuild)
  - armv6l (crossbuild)
  - armv7l (crossbuild)


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

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

From 7f30b423e089b2facfe862144f9e41d294a6bd55 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 00:07:10 -0400
Subject: [PATCH 1/8] New package: python3-eventlet-0.33.1

---
 srcpkgs/python3-eventlet/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-eventlet/template

diff --git a/srcpkgs/python3-eventlet/template b/srcpkgs/python3-eventlet/template
new file mode 100644
index 000000000000..bed94d18ad01
--- /dev/null
+++ b/srcpkgs/python3-eventlet/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-eventlet'
+pkgname=python3-eventlet
+version=0.33.1
+revision=1
+wrksrc="eventlet-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx"
+depends="python3 python3-dnspython python3-greenlet python3-httplib2
+ python3-psycopg2 python3-openssl python3-pyzmq python3-six"
+short_desc="Highly concurrent networking library"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/eventlet/eventlet"
+distfiles="${homepage}/archive/v${version}/${wrksrc}.tar.gz"
+checksum=841a8e00cdb3eebe9dc5589f27e918f20eefebd0ce46bfb5baab391100177c11
+make_check=no #https://github.com/nose-devs/nose/issues/1099
+#as of 3.9 python3-nose is no longer maintained, and is not working, so since it is required for the test, we cant really run it.
+
+post_install() {
+	vlicense LICENSE
+}

From bd43775bbe232b3048e1c504cbaa4f946d2cd63a Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:02:34 -0400
Subject: [PATCH 2/8] New package: python3-bidict-0.22.0

---
 srcpkgs/python3-bidict/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-bidict/template

diff --git a/srcpkgs/python3-bidict/template b/srcpkgs/python3-bidict/template
new file mode 100644
index 000000000000..58ca43886453
--- /dev/null
+++ b/srcpkgs/python3-bidict/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-bidict'
+pkgname=python3-bidict
+version=0.22.0
+revision=1
+wrksrc="bidict-${version}"
+build_style=python3-module
+make_check_target=tests
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-hypothesis python3-py-cpuinfo python3-pytest python3-Sphinx"
+short_desc="Bidirectional mapping library for Python"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MPL-2.0"
+homepage="https://github.com/jab/bidict"
+distfiles="https://github.com/jab/bidict/archive/refs/tags/v${version}.tar.gz"
+checksum=ce482da805d6261ab1ea5f9e04cf7eb0142f24ca638e3f919ca6ec8c36eb5d9e
+
+post_extract() {
+	sed -e '/--benchmark-columns=mean,stddev,outliers/,+3d' -i pytest.ini
+	rm tests/test_microbenchmarks.py # void linux doesnt have pytest benchmark tool
+}

From 637b2b2f396f655abdb25b2ec6f4613fe6bb784a Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:25:06 -0400
Subject: [PATCH 3/8] New package: python3-engineio-4.3.4

---
 srcpkgs/python3-engineio/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-engineio/template

diff --git a/srcpkgs/python3-engineio/template b/srcpkgs/python3-engineio/template
new file mode 100644
index 000000000000..014291e5c07c
--- /dev/null
+++ b/srcpkgs/python3-engineio/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-engineio'
+pkgname=python3-engineio
+version=4.3.4
+revision=1
+wrksrc="python-engineio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx"
+depends="python3 python3-six python3-urllib3 python3-websocket-client
+ python3-websockets python3-aiohttp python3-eventlet python3-gevent
+ python3-tornado"
+checkdepends="python3-pytest python3-mock iana-etc ${depends}"
+short_desc="Python implementation of the Engine.IO realtime server"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/miguelgrinberg/python-engineio"
+distfiles="https://github.com/miguelgrinberg/python-engineio/archive/v${version}/${wrksrc}.tar.gz"
+checksum=1f6ff1c3b3463a453b8eafa7a81f1dd52bd1728bf524988f9ab99b71c31a8d8e
+
+post_install() {
+	vlicense LICENSE
+}

From bdb9aa6107aa6464ddfb188d8a070cf5b8ca839d Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:50:14 -0400
Subject: [PATCH 4/8] New package: python3-socketio-5.7.0

---
 srcpkgs/python3-socketio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-socketio/template

diff --git a/srcpkgs/python3-socketio/template b/srcpkgs/python3-socketio/template
new file mode 100644
index 000000000000..eae161502238
--- /dev/null
+++ b/srcpkgs/python3-socketio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-socketio'
+pkgname=python3-socketio
+version=5.7.1
+revision=1
+wrksrc="python-socketio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx python3-pip python3-wheel"
+depends="python3 python3-tornado python3-msgpack python3-six python3-bidict
+python3-engineio"
+checkdepends="python3-pytest python3-mock iana-etc ${depends}"
+short_desc="Python implementation of the Socket.IO realtime server"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/miguelgrinberg/python-socketio"
+distfiles="${homepage}/archive/v${version}/${wrksrc}.tar.gz"
+checksum=c305258d7ee73a22c050ee9165f3c55eeb93eab3d48c9803b2e3aac55ebfec17
+
+post_install() {
+	vlicense LICENSE
+}

From 910c2ded195a57ca0c708e25add1558a952bffd2 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:52:52 -0400
Subject: [PATCH 5/8] New package: python3-Flask-SocketIO-5.3.1

---
 srcpkgs/python3-Flask-SocketIO/template | 26 +++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-Flask-SocketIO/template

diff --git a/srcpkgs/python3-Flask-SocketIO/template b/srcpkgs/python3-Flask-SocketIO/template
new file mode 100644
index 000000000000..a3aa8079fb7c
--- /dev/null
+++ b/srcpkgs/python3-Flask-SocketIO/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-Flask-SocketIO'
+pkgname=python3-Flask-SocketIO
+version=5.3.1
+revision=1
+wrksrc=Flask-SocketIO-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx"
+depends="python3-Flask python3-socketio python3-eventlet"
+checkdepends="python3-pytest python3-coverage iana-etc ${depends} python3-redis"
+short_desc="Socket.IO integration for Flask applications"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/miguelgrinberg/Flask-SocketIO"
+distfiles="https://github.com/miguelgrinberg/Flask-SocketIO/archive/refs/tags/v${version}.tar.gz"
+checksum=dd1073eae1a5f6bd4fa374edb0c71f32a02699f5ed6896347072c4258e2a53c6
+
+do_check() {
+	ln -s src/flask_socketio .
+# flask_socketio source is inside a src/ directory which makes it inaccesible for some reason to the pytest
+	py.test test_socketio.py
+	rm -r flask_socketio
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 6f029eab7ded744b04bdf7db2f0e034211a77c73 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Mon, 29 Nov 2021 21:29:03 -0500
Subject: [PATCH 6/8] New package: python3-cepa-1.8.4

---
 srcpkgs/python3-cepa/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/python3-cepa/template

diff --git a/srcpkgs/python3-cepa/template b/srcpkgs/python3-cepa/template
new file mode 100644
index 000000000000..9ef68213b2e9
--- /dev/null
+++ b/srcpkgs/python3-cepa/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-cepa'
+pkgname=python3-cepa
+version=1.8.4
+revision=1
+wrksrc="cepa-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel"
+depends="python3-cryptography"
+short_desc="Python controller library for Tor, onionshare fork"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/onionshare/cepa"
+distfiles="https://github.com/onionshare/cepa/archive/refs/tags/${version}.tar.gz"
+checksum=95d59ce33b48558d109571e86226358ce40c0a25c7916f97c84ecb3ea2bc25dc

From 0957ccd016fb5e1a94df89b54785f71565d613e3 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:58:22 -0400
Subject: [PATCH 7/8] New package: onionshare-cli-2.5_1

---
 srcpkgs/onionshare-cli/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/onionshare-cli/template

diff --git a/srcpkgs/onionshare-cli/template b/srcpkgs/onionshare-cli/template
new file mode 100644
index 000000000000..e2326462e6f4
--- /dev/null
+++ b/srcpkgs/onionshare-cli/template
@@ -0,0 +1,21 @@
+# Template file for 'onionshare-cli'
+pkgname=onionshare-cli
+#TO BE UPDATED TOGETHER WITH onionshare-desktop
+version=2.5
+revision=1
+wrksrc="onionshare-${version}"
+build_style=python3-module
+pycompile_dirs="/usr/share/nautilus-python/extensions"
+hostmakedepends="python3-setuptools"
+depends="python3-Flask-HTTPAuth python3-Flask-SocketIO python3-pycryptodome python3-PyQt5
+ python3-pysocks python3-requests python3-pyside2 python3-psutil python3-Unidecode python3-colorama python3-cepa python3-pynacl tor"
+checkdepends="python3-pytest  iana-etc ${depends}"
+short_desc="Share files anonymously and securely"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://onionshare.org/"
+changelog="https://raw.githubusercontent.com/micahflee/onionshare/develop/CHANGELOG.md"
+distfiles="https://github.com/micahflee/onionshare/archive/v${version}.tar.gz"
+checksum=a1de4b43f6e1edbb39a6fcc1e1339856c7c7584d2899312d69449ad22f2834e7
+
+build_wrksrc=cli

From 4a2838348e2d0642a8d1980b3028d20bf880660b Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:58:32 -0400
Subject: [PATCH 8/8] New package: onionshare-desktop-2.5_1

---
 srcpkgs/onionshare-desktop/template | 31 +++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/onionshare-desktop/template

diff --git a/srcpkgs/onionshare-desktop/template b/srcpkgs/onionshare-desktop/template
new file mode 100644
index 000000000000..88264c8fec10
--- /dev/null
+++ b/srcpkgs/onionshare-desktop/template
@@ -0,0 +1,31 @@
+# Template file for 'onionshare-desktop'
+pkgname=onionshare-desktop
+#TO BE UPDATED TOGETHER WITH onionshare-cli
+version=2.5
+revision=1
+wrksrc="onionshare-${version}"
+build_style=python3-module
+pycompile_dirs="/usr/share/nautilus-python/extensions"
+hostmakedepends="python3-setuptools"
+depends="python3-Flask-HTTPAuth python3-Flask-SocketIO python3-pycryptodome python3-PyQt5
+ python3-pysocks python3-requests onionshare-cli python3-pyside2 python3-cepa python3-qrcode tor"
+#checkdepends="python3-pytest python3-pytest-qt iana-etc xvfb-run ${depends}"
+short_desc="Share files anonymously and securely"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://onionshare.org/"
+changelog="https://raw.githubusercontent.com/micahflee/onionshare/develop/CHANGELOG.md"
+distfiles="https://github.com/micahflee/onionshare/archive/v${version}.tar.gz"
+checksum=a1de4b43f6e1edbb39a6fcc1e1339856c7c7584d2899312d69449ad22f2834e7
+make_check=no #requires Xserver and localhost hosting a server to test
+
+build_wrksrc=desktop
+
+
+post_install() {
+	vmkdir usr/share/applications
+	vinstall org.onionshare.OnionShare.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor/scalable/apps
+	vinstall org.onionshare.OnionShare.svg 644 usr/share/icons/hicolor/scalable/apps/
+}

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

* Re: [PR PATCH] [Updated] New package: onionshare-{desktop,cli}-2.5_1
  2022-10-09  2:34 [PR PATCH] New package: onionshare-{desktop,cli}-2.5_1 DragonGhost7
@ 2022-10-09  2:52 ` DragonGhost7
  2022-10-10  1:43 ` DragonGhost7
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: DragonGhost7 @ 2022-10-09  2:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/DragonGhost7/void-packages onionshare
https://github.com/void-linux/void-packages/pull/39827

New package: onionshare-{desktop,cli}-2.5_1
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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-glib
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (crossbuild)
  - aarch64-musl (crossbuild)
  - armv6l (crossbuild)
  - armv7l (crossbuild)


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

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

From 7f30b423e089b2facfe862144f9e41d294a6bd55 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 00:07:10 -0400
Subject: [PATCH 1/8] New package: python3-eventlet-0.33.1

---
 srcpkgs/python3-eventlet/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-eventlet/template

diff --git a/srcpkgs/python3-eventlet/template b/srcpkgs/python3-eventlet/template
new file mode 100644
index 000000000000..bed94d18ad01
--- /dev/null
+++ b/srcpkgs/python3-eventlet/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-eventlet'
+pkgname=python3-eventlet
+version=0.33.1
+revision=1
+wrksrc="eventlet-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx"
+depends="python3 python3-dnspython python3-greenlet python3-httplib2
+ python3-psycopg2 python3-openssl python3-pyzmq python3-six"
+short_desc="Highly concurrent networking library"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/eventlet/eventlet"
+distfiles="${homepage}/archive/v${version}/${wrksrc}.tar.gz"
+checksum=841a8e00cdb3eebe9dc5589f27e918f20eefebd0ce46bfb5baab391100177c11
+make_check=no #https://github.com/nose-devs/nose/issues/1099
+#as of 3.9 python3-nose is no longer maintained, and is not working, so since it is required for the test, we cant really run it.
+
+post_install() {
+	vlicense LICENSE
+}

From bd43775bbe232b3048e1c504cbaa4f946d2cd63a Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:02:34 -0400
Subject: [PATCH 2/8] New package: python3-bidict-0.22.0

---
 srcpkgs/python3-bidict/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-bidict/template

diff --git a/srcpkgs/python3-bidict/template b/srcpkgs/python3-bidict/template
new file mode 100644
index 000000000000..58ca43886453
--- /dev/null
+++ b/srcpkgs/python3-bidict/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-bidict'
+pkgname=python3-bidict
+version=0.22.0
+revision=1
+wrksrc="bidict-${version}"
+build_style=python3-module
+make_check_target=tests
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-hypothesis python3-py-cpuinfo python3-pytest python3-Sphinx"
+short_desc="Bidirectional mapping library for Python"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MPL-2.0"
+homepage="https://github.com/jab/bidict"
+distfiles="https://github.com/jab/bidict/archive/refs/tags/v${version}.tar.gz"
+checksum=ce482da805d6261ab1ea5f9e04cf7eb0142f24ca638e3f919ca6ec8c36eb5d9e
+
+post_extract() {
+	sed -e '/--benchmark-columns=mean,stddev,outliers/,+3d' -i pytest.ini
+	rm tests/test_microbenchmarks.py # void linux doesnt have pytest benchmark tool
+}

From 637b2b2f396f655abdb25b2ec6f4613fe6bb784a Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:25:06 -0400
Subject: [PATCH 3/8] New package: python3-engineio-4.3.4

---
 srcpkgs/python3-engineio/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-engineio/template

diff --git a/srcpkgs/python3-engineio/template b/srcpkgs/python3-engineio/template
new file mode 100644
index 000000000000..014291e5c07c
--- /dev/null
+++ b/srcpkgs/python3-engineio/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-engineio'
+pkgname=python3-engineio
+version=4.3.4
+revision=1
+wrksrc="python-engineio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx"
+depends="python3 python3-six python3-urllib3 python3-websocket-client
+ python3-websockets python3-aiohttp python3-eventlet python3-gevent
+ python3-tornado"
+checkdepends="python3-pytest python3-mock iana-etc ${depends}"
+short_desc="Python implementation of the Engine.IO realtime server"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/miguelgrinberg/python-engineio"
+distfiles="https://github.com/miguelgrinberg/python-engineio/archive/v${version}/${wrksrc}.tar.gz"
+checksum=1f6ff1c3b3463a453b8eafa7a81f1dd52bd1728bf524988f9ab99b71c31a8d8e
+
+post_install() {
+	vlicense LICENSE
+}

From bdb9aa6107aa6464ddfb188d8a070cf5b8ca839d Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:50:14 -0400
Subject: [PATCH 4/8] New package: python3-socketio-5.7.0

---
 srcpkgs/python3-socketio/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-socketio/template

diff --git a/srcpkgs/python3-socketio/template b/srcpkgs/python3-socketio/template
new file mode 100644
index 000000000000..eae161502238
--- /dev/null
+++ b/srcpkgs/python3-socketio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-socketio'
+pkgname=python3-socketio
+version=5.7.1
+revision=1
+wrksrc="python-socketio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx python3-pip python3-wheel"
+depends="python3 python3-tornado python3-msgpack python3-six python3-bidict
+python3-engineio"
+checkdepends="python3-pytest python3-mock iana-etc ${depends}"
+short_desc="Python implementation of the Socket.IO realtime server"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/miguelgrinberg/python-socketio"
+distfiles="${homepage}/archive/v${version}/${wrksrc}.tar.gz"
+checksum=c305258d7ee73a22c050ee9165f3c55eeb93eab3d48c9803b2e3aac55ebfec17
+
+post_install() {
+	vlicense LICENSE
+}

From 910c2ded195a57ca0c708e25add1558a952bffd2 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:52:52 -0400
Subject: [PATCH 5/8] New package: python3-Flask-SocketIO-5.3.1

---
 srcpkgs/python3-Flask-SocketIO/template | 26 +++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-Flask-SocketIO/template

diff --git a/srcpkgs/python3-Flask-SocketIO/template b/srcpkgs/python3-Flask-SocketIO/template
new file mode 100644
index 000000000000..a3aa8079fb7c
--- /dev/null
+++ b/srcpkgs/python3-Flask-SocketIO/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-Flask-SocketIO'
+pkgname=python3-Flask-SocketIO
+version=5.3.1
+revision=1
+wrksrc=Flask-SocketIO-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-Sphinx"
+depends="python3-Flask python3-socketio python3-eventlet"
+checkdepends="python3-pytest python3-coverage iana-etc ${depends} python3-redis"
+short_desc="Socket.IO integration for Flask applications"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/miguelgrinberg/Flask-SocketIO"
+distfiles="https://github.com/miguelgrinberg/Flask-SocketIO/archive/refs/tags/v${version}.tar.gz"
+checksum=dd1073eae1a5f6bd4fa374edb0c71f32a02699f5ed6896347072c4258e2a53c6
+
+do_check() {
+	ln -s src/flask_socketio .
+# flask_socketio source is inside a src/ directory which makes it inaccesible for some reason to the pytest
+	py.test test_socketio.py
+	rm -r flask_socketio
+}
+
+post_install() {
+	vlicense LICENSE
+}

From e48e656cfe0e4bfca1e13458421fc4d6cf5db88a Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Mon, 29 Nov 2021 21:29:03 -0500
Subject: [PATCH 6/8] New package: python3-cepa-1.8.4

---
 srcpkgs/python3-cepa/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-cepa/template

diff --git a/srcpkgs/python3-cepa/template b/srcpkgs/python3-cepa/template
new file mode 100644
index 000000000000..c6fbd977fde7
--- /dev/null
+++ b/srcpkgs/python3-cepa/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-cepa'
+pkgname=python3-cepa
+version=1.8.4
+revision=1
+wrksrc="cepa-${version}"
+build_style=python3-module
+hostmakedepends="python3-devel"
+depends="python3-cryptography"
+short_desc="Python controller library for Tor, onionshare fork"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/onionshare/cepa"
+distfiles="https://github.com/onionshare/cepa/archive/refs/tags/${version}.tar.gz"
+checksum=95d59ce33b48558d109571e86226358ce40c0a25c7916f97c84ecb3ea2bc25dc
+conflicts="python3-stem"

From d0c9acc1e6b29abf74340b17c92fc9bb14fa93d1 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:58:22 -0400
Subject: [PATCH 7/8] New package: onionshare-cli-2.5_1

---
 srcpkgs/onionshare-cli/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/onionshare-cli/template

diff --git a/srcpkgs/onionshare-cli/template b/srcpkgs/onionshare-cli/template
new file mode 100644
index 000000000000..e2326462e6f4
--- /dev/null
+++ b/srcpkgs/onionshare-cli/template
@@ -0,0 +1,21 @@
+# Template file for 'onionshare-cli'
+pkgname=onionshare-cli
+#TO BE UPDATED TOGETHER WITH onionshare-desktop
+version=2.5
+revision=1
+wrksrc="onionshare-${version}"
+build_style=python3-module
+pycompile_dirs="/usr/share/nautilus-python/extensions"
+hostmakedepends="python3-setuptools"
+depends="python3-Flask-HTTPAuth python3-Flask-SocketIO python3-pycryptodome python3-PyQt5
+ python3-pysocks python3-requests python3-pyside2 python3-psutil python3-Unidecode python3-colorama python3-cepa python3-pynacl tor"
+checkdepends="python3-pytest  iana-etc ${depends}"
+short_desc="Share files anonymously and securely"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://onionshare.org/"
+changelog="https://raw.githubusercontent.com/micahflee/onionshare/develop/CHANGELOG.md"
+distfiles="https://github.com/micahflee/onionshare/archive/v${version}.tar.gz"
+checksum=a1de4b43f6e1edbb39a6fcc1e1339856c7c7584d2899312d69449ad22f2834e7
+
+build_wrksrc=cli

From 72b03574824959dd2ee9051f39323eb52d4d6508 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Sat, 16 Oct 2021 01:58:32 -0400
Subject: [PATCH 8/8] New package: onionshare-desktop-2.5_1

---
 srcpkgs/onionshare-desktop/template | 31 +++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/onionshare-desktop/template

diff --git a/srcpkgs/onionshare-desktop/template b/srcpkgs/onionshare-desktop/template
new file mode 100644
index 000000000000..88264c8fec10
--- /dev/null
+++ b/srcpkgs/onionshare-desktop/template
@@ -0,0 +1,31 @@
+# Template file for 'onionshare-desktop'
+pkgname=onionshare-desktop
+#TO BE UPDATED TOGETHER WITH onionshare-cli
+version=2.5
+revision=1
+wrksrc="onionshare-${version}"
+build_style=python3-module
+pycompile_dirs="/usr/share/nautilus-python/extensions"
+hostmakedepends="python3-setuptools"
+depends="python3-Flask-HTTPAuth python3-Flask-SocketIO python3-pycryptodome python3-PyQt5
+ python3-pysocks python3-requests onionshare-cli python3-pyside2 python3-cepa python3-qrcode tor"
+#checkdepends="python3-pytest python3-pytest-qt iana-etc xvfb-run ${depends}"
+short_desc="Share files anonymously and securely"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://onionshare.org/"
+changelog="https://raw.githubusercontent.com/micahflee/onionshare/develop/CHANGELOG.md"
+distfiles="https://github.com/micahflee/onionshare/archive/v${version}.tar.gz"
+checksum=a1de4b43f6e1edbb39a6fcc1e1339856c7c7584d2899312d69449ad22f2834e7
+make_check=no #requires Xserver and localhost hosting a server to test
+
+build_wrksrc=desktop
+
+
+post_install() {
+	vmkdir usr/share/applications
+	vinstall org.onionshare.OnionShare.desktop 644 usr/share/applications/
+
+	vmkdir usr/share/icons/hicolor/scalable/apps
+	vinstall org.onionshare.OnionShare.svg 644 usr/share/icons/hicolor/scalable/apps/
+}

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

* Re: New package: onionshare-{desktop,cli}-2.5_1
  2022-10-09  2:34 [PR PATCH] New package: onionshare-{desktop,cli}-2.5_1 DragonGhost7
  2022-10-09  2:52 ` [PR PATCH] [Updated] " DragonGhost7
@ 2022-10-10  1:43 ` DragonGhost7
  2022-10-20  1:28 ` DragonGhost7
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: DragonGhost7 @ 2022-10-10  1:43 UTC (permalink / raw)
  To: ml

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

New comment by DragonGhost7 on void-packages repository

https://github.com/void-linux/void-packages/pull/39827#issuecomment-1272697705

Comment:
I know that before, the packages were just one "onionshare" but now since they are both different python packages, onionshare-desktop has onionshare-cli as a dependency, so its easier to have them as separate packages that are built and installed separately. 

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

* Re: New package: onionshare-{desktop,cli}-2.5_1
  2022-10-09  2:34 [PR PATCH] New package: onionshare-{desktop,cli}-2.5_1 DragonGhost7
  2022-10-09  2:52 ` [PR PATCH] [Updated] " DragonGhost7
  2022-10-10  1:43 ` DragonGhost7
@ 2022-10-20  1:28 ` DragonGhost7
  2023-01-18  2:00 ` github-actions
  2023-02-01  2:07 ` [PR PATCH] [Closed]: " github-actions
  4 siblings, 0 replies; 6+ messages in thread
From: DragonGhost7 @ 2022-10-20  1:28 UTC (permalink / raw)
  To: ml

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

New comment by DragonGhost7 on void-packages repository

https://github.com/void-linux/void-packages/pull/39827#issuecomment-1284777695

Comment:
I know that soon void will be upgrading python to 3.11, would it be better to wait and rebuild it for then?

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

* Re: New package: onionshare-{desktop,cli}-2.5_1
  2022-10-09  2:34 [PR PATCH] New package: onionshare-{desktop,cli}-2.5_1 DragonGhost7
                   ` (2 preceding siblings ...)
  2022-10-20  1:28 ` DragonGhost7
@ 2023-01-18  2:00 ` github-actions
  2023-02-01  2:07 ` [PR PATCH] [Closed]: " github-actions
  4 siblings, 0 replies; 6+ messages in thread
From: github-actions @ 2023-01-18  2:00 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/39827#issuecomment-1386357153

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] 6+ messages in thread

* Re: [PR PATCH] [Closed]: New package: onionshare-{desktop,cli}-2.5_1
  2022-10-09  2:34 [PR PATCH] New package: onionshare-{desktop,cli}-2.5_1 DragonGhost7
                   ` (3 preceding siblings ...)
  2023-01-18  2:00 ` github-actions
@ 2023-02-01  2:07 ` github-actions
  4 siblings, 0 replies; 6+ messages in thread
From: github-actions @ 2023-02-01  2:07 UTC (permalink / raw)
  To: ml

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

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

New package: onionshare-{desktop,cli}-2.5_1
https://github.com/void-linux/void-packages/pull/39827

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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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-glib
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64 (crossbuild)
  - aarch64-musl (crossbuild)
  - armv6l (crossbuild)
  - armv7l (crossbuild)


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

end of thread, other threads:[~2023-02-01  2:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-09  2:34 [PR PATCH] New package: onionshare-{desktop,cli}-2.5_1 DragonGhost7
2022-10-09  2:52 ` [PR PATCH] [Updated] " DragonGhost7
2022-10-10  1:43 ` DragonGhost7
2022-10-20  1:28 ` DragonGhost7
2023-01-18  2:00 ` github-actions
2023-02-01  2:07 ` [PR PATCH] [Closed]: " github-actions

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).