Github messages for voidlinux
 help / color / mirror / Atom feed
From: DragonGhost7 <DragonGhost7@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: onionshare-{cli, dekstop}-2.4
Date: Mon, 20 Dec 2021 05:37:42 +0100	[thread overview]
Message-ID: <20211220043742.CGhpGXxBjczcMW1hUK5zGG8oeUP9vvhVx3UKDCV-FPk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34599@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1213 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/34599

New package: onionshare-{cli, dekstop}-2.4
<!-- 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
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64
  - armv7l
  - x86_64-musl



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

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

From 612996385d7c8d7eb1654e8df5b2d154540bbf8b 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.0

---
 srcpkgs/python3-eventlet/template | 22 ++++++++++++++++++++++
 1 file changed, 22 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..e38a958e5566
--- /dev/null
+++ b/srcpkgs/python3-eventlet/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-eventlet'
+pkgname=python3-eventlet
+version=0.33.0
+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=6fcc8b7d5da3127fd81e9370d96e3cc78c7525a055770593b12eea1c72c1b36b
+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 ea02cf2fde1664f65fa5ce3a6b99662f81b8826b 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.21.4

---
 srcpkgs/python3-bidict/template | 22 ++++++++++++++++++++++
 1 file changed, 22 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..f132678de13b
--- /dev/null
+++ b/srcpkgs/python3-bidict/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-bidict'
+pkgname=python3-bidict
+version=0.21.4
+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=95f854ae5466949915eebc782c7657bfba70207446e5e2308cc339cc97e05dac
+
+post_extract() {
+	sed -e '/--benchmark-columns=mean,stddev,outliers/,+3d' -i pytest.ini
+	rm tests/test_benchmark.py
+	# void linux doesnt have pytest benchmark tool
+}

From c6622583fa299ad31bde96fb167638529427cc1c 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.0

---
 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..7697e392ec34
--- /dev/null
+++ b/srcpkgs/python3-engineio/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-engineio'
+pkgname=python3-engineio
+version=4.3.0
+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=40a08487f9aabb01f35a38e07fdb4cdada0e78f7291f6919326d11b9929abbc5
+
+post_install() {
+	vlicense LICENSE
+}

From 0943001777f3f9b17c969d415676a2f35c1fd620 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.5.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..ea5138f62889
--- /dev/null
+++ b/srcpkgs/python3-socketio/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-socketio'
+pkgname=python3-socketio
+version=5.5.0
+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=1e870adfd0278d8e8fe450cdef327f95aa3e80b18c11435b5d0ba9fed7caf312
+
+post_install() {
+	vlicense LICENSE
+}

From 7d6c9d8bd5e41ab59ff2d7dce9868148998b1871 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.1.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..ed8cbd213509
--- /dev/null
+++ b/srcpkgs/python3-Flask-SocketIO/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-Flask-SocketIO'
+pkgname=python3-Flask-SocketIO
+version=5.1.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}"
+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=b374a0918d61c0cb0ccad50324e41b6c11468026dba776d212ad775777ad4fe5
+
+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 41ca874b3b4c4323509b0fded393e078129eb11a 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.3

---
 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..93b14d10dc61
--- /dev/null
+++ b/srcpkgs/python3-cepa/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-cepa'
+pkgname=python3-cepa
+version=1.8.3
+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=d9fc0489ad654c5f2dcee1a689c2f1a431fbafbe10559860c36493f8d2443a2b

From 3add96f5d3ac216f53a0cc7d5368205a205dcd6e 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.4_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..aea963437858
--- /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.4
+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=9d82744ec930a280cf036e5e7dfab817a37866e927e5a72bdd3e13bd9b9c7b4a
+
+build_wrksrc=cli

From 66fb397dfef82de07234cefcc2ceefa1166e5a84 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.4_1

---
 srcpkgs/onionshare-desktop/template | 35 +++++++++++++++++++++++++++++
 1 file changed, 35 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..f5da5f073969
--- /dev/null
+++ b/srcpkgs/onionshare-desktop/template
@@ -0,0 +1,35 @@
+# Template file for 'onionshare-desktop'
+pkgname=onionshare-desktop
+#TO BE UPDATED TOGETHER WITH onionshare-cli
+version=2.4
+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=9d82744ec930a280cf036e5e7dfab817a37866e927e5a72bdd3e13bd9b9c7b4a
+
+build_wrksrc=desktop/src
+
+do_check() {
+	ln -s ../tests .
+	./tests/run.sh
+	rm -r tests
+}
+
+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/
+}

  parent reply	other threads:[~2021-12-20  4:37 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-18  2:58 [PR PATCH] " DragonGhost7
2021-12-18 11:19 ` [PR REVIEW] " paper42
2021-12-18 11:19 ` paper42
2021-12-18 11:19 ` paper42
2021-12-18 11:19 ` paper42
2021-12-18 11:19 ` paper42
2021-12-18 11:19 ` paper42
2021-12-19  4:27 ` DragonGhost7
2021-12-19 20:44 ` [PR PATCH] [Updated] " DragonGhost7
2021-12-19 20:54 ` [PR REVIEW] " DragonGhost7
2021-12-19 20:54 ` DragonGhost7
2021-12-19 20:55 ` DragonGhost7
2021-12-19 22:02 ` [PR PATCH] [Updated] " DragonGhost7
2021-12-19 22:05 ` [PR REVIEW] " paper42
2021-12-19 22:05 ` paper42
2021-12-19 22:05 ` paper42
2021-12-19 22:05 ` paper42
2021-12-19 22:05 ` paper42
2021-12-19 22:05 ` paper42
2021-12-19 22:05 ` paper42
2021-12-19 22:05 ` paper42
2021-12-19 22:05 ` paper42
2021-12-19 23:59 ` DragonGhost7
2021-12-20  0:00 ` DragonGhost7
2021-12-20  4:37 ` DragonGhost7 [this message]
2021-12-27 22:09 ` [PR PATCH] [Updated] " DragonGhost7
2021-12-27 22:12 ` DragonGhost7
2021-12-28  2:32 ` DragonGhost7
2022-06-19  2:16 ` github-actions
2022-07-04  2:15 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211220043742.CGhpGXxBjczcMW1hUK5zGG8oeUP9vvhVx3UKDCV-FPk@z \
    --to=dragonghost7@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).