Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: onionshare-{cli, dekstop}-2.4
@ 2021-12-18  2:58 DragonGhost7
  2021-12-18 11:19 ` [PR REVIEW] " paper42
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: DragonGhost7 @ 2021-12-18  2:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1208 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/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: 11594 bytes --]

From 7481f91d44934508234f4dfabe07acd1c1587fc0 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 | 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..18cd7ce6b7e5
--- /dev/null
+++ b/srcpkgs/python3-eventlet/template
@@ -0,0 +1,21 @@
+# 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 3427c566e102d220bac21b8433aff3753297c0d3 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.3

---
 srcpkgs/python3-bidict/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 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..1e388790bfae
--- /dev/null
+++ b/srcpkgs/python3-bidict/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-bidict'
+pkgname=python3-bidict
+version=0.21.3
+revision=1
+wrksrc="bidict-${version}"
+build_style=python3-module
+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="${PYPI_SITE}/b/bidict/${wrksrc}.tar.gz"
+checksum=d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d
+
+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
+	}
+
+do_check() {
+	python3 -m pytest tests
+}

From 975895794e961f5c2e67ab5cd6744209da1f4999 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 | 20 ++++++++++++++++++++
 1 file changed, 20 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..0d5115f60828
--- /dev/null
+++ b/srcpkgs/python3-engineio/template
@@ -0,0 +1,20 @@
+# 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"
+makedepends="${depends}"
+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="${homepage}/archive/v${version}/${wrksrc}.tar.gz"
+checksum=40a08487f9aabb01f35a38e07fdb4cdada0e78f7291f6919326d11b9929abbc5
+
+post_install() {
+	vlicense LICENSE
+}

From c0915b6014451ba7b7988a4bb91bf529eba2f01b 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 | 15 +++++++++++++++
 1 file changed, 15 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..5059ddc6f3d8
--- /dev/null
+++ b/srcpkgs/python3-socketio/template
@@ -0,0 +1,15 @@
+# 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

From 6f30a3108cc9ee55b46dd246d8db9f04a914852a 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 | 28 +++++++++++++++++++++++++
 1 file changed, 28 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..bc3428f0d454
--- /dev/null
+++ b/srcpkgs/python3-Flask-SocketIO/template
@@ -0,0 +1,28 @@
+# 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  python3-Flask python3-socketio python3-eventlet"
+checkdepends="python3-pytest tox 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="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=b374a0918d61c0cb0ccad50324e41b6c11468026dba776d212ad775777ad4fe5
+
+pre_check() {
+#replace py39 with py310 in tox config file since void switched to py3.10
+	vsed -i '2 s/py39/py310/' tox.ini
+}
+
+do_check() {
+	tox
+}
+
+post_install() {
+	vlicense LICENSE
+}

From a9b3be39cd83a172e604a04b6c3569ec5e075a68 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..7e0df9dcd791
--- /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/b/}"
+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="${homepage}/archive/refs/tags/${version}.tar.gz"
+checksum=d9fc0489ad654c5f2dcee1a689c2f1a431fbafbe10559860c36493f8d2443a2b

From 94bc90b505099c448bd2d10ecccc2d9ce086a6f6 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 | 27 +++++++++++++++++++++++++++
 1 file changed, 27 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..a965d39cfa52
--- /dev/null
+++ b/srcpkgs/onionshare-cli/template
@@ -0,0 +1,27 @@
+# Template file for 'onionshare-cli'
+pkgname=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 python3-pyside2 python3-cepa python3-pynacl tor"
+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
+
+do_build() {
+	cd cli
+	python3 setup.py build ${make_build_args}
+}
+
+do_install() {
+	cd cli
+	python3 setup.py install --prefix=/usr --root=${DESTDIR} ${make_install_args}
+}

From 52f211a210bc2389e52b34b7b94017acd281978d 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 | 33 +++++++++++++++++++++++++++++
 1 file changed, 33 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..7c1342d6464e
--- /dev/null
+++ b/srcpkgs/onionshare-desktop/template
@@ -0,0 +1,33 @@
+# Template file for 'onionshare-desktop'
+pkgname=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 onionshare-cli python3-pyside2 python3-stem tor"
+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
+
+do_build() {
+	cd desktop/src
+	python3 setup.py build ${make_build_args}
+}
+
+do_install() {
+	cd desktop/src
+	python3 setup.py install --prefix=/usr --root=${DESTDIR} ${make_install_args}
+
+	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] 30+ messages in thread

end of thread, other threads:[~2022-07-04  2:15 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-18  2:58 [PR PATCH] New package: onionshare-{cli, dekstop}-2.4 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 ` [PR PATCH] [Updated] " DragonGhost7
2021-12-27 22:09 ` 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

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