* [PR PATCH] GNS3 2.2.24
@ 2021-08-28 19:33 tsndqst
2021-08-28 20:10 ` [PR REVIEW] " paper42
` (14 more replies)
0 siblings, 15 replies; 16+ messages in thread
From: tsndqst @ 2021-08-28 19:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]
There is a new pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages gns3-2.2.24
https://github.com/void-linux/void-packages/pull/32737
GNS3 2.2.24
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/32737.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gns3-2.2.24-32737.patch --]
[-- Type: text/x-diff, Size: 5577 bytes --]
From 4a96eab2848d44c0fc082d96f6d3b15a32ea123f Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:19 -0500
Subject: [PATCH 1/4] python3-sentry: update to 1.3.1.
---
srcpkgs/python3-sentry/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template
index c2056965cad9..68ce8a804c16 100644
--- a/srcpkgs/python3-sentry/template
+++ b/srcpkgs/python3-sentry/template
@@ -1,6 +1,6 @@
# Template file for 'python3-sentry'
pkgname=python3-sentry
-version=1.0.0
+version=1.3.1
revision=1
wrksrc="sentry-python-${version}"
build_style=python3-module
@@ -12,7 +12,7 @@ maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="BSD-2-Clause"
homepage="https://github.com/getsentry/sentry-python"
distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
-checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece
+checksum=45f0893c9b06df88ae6fff8ca7a2b33975b8e8b62aa3cae6f2b4704754f2c9fd
do_check() {
cd build/lib
From 2d494894fe45f154b2cd71c3d0b5d41cd6376cce Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:40 -0500
Subject: [PATCH 2/4] gns3-server: update to 2.2.24.
---
srcpkgs/gns3-server/patches/requirements.patch | 17 +++++++++++++++++
srcpkgs/gns3-server/template | 11 ++---------
2 files changed, 19 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/gns3-server/patches/requirements.patch
diff --git a/srcpkgs/gns3-server/patches/requirements.patch b/srcpkgs/gns3-server/patches/requirements.patch
new file mode 100644
index 000000000000..2330eeec5c7a
--- /dev/null
+++ b/srcpkgs/gns3-server/patches/requirements.patch
@@ -0,0 +1,17 @@
+diff --git a/requirements.txt b/requirements.txt
+index c517efbe..15c67d2d 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,10 +1,10 @@
+ jsonschema==3.2.0
+-aiohttp==3.7.4.post0
++aiohttp>=3.7.4
+ aiohttp-cors==0.7.0
+ aiofiles==0.7.0
+-Jinja2==3.0.1
++Jinja2<3.0.0
+ sentry-sdk==1.3.1
+ psutil==5.8.0
+ async-timeout==3.0.1
+ distro==1.6.0
+ py-cpuinfo==8.0.0
diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template
index 02ae7b2ef438..c2006ef612b2 100644
--- a/srcpkgs/gns3-server/template
+++ b/srcpkgs/gns3-server/template
@@ -1,6 +1,6 @@
# Template file for 'gns3-server'
pkgname=gns3-server
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -13,16 +13,9 @@ maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
-checksum=@9f3d7f4caf6cd420049a62ae9d7579f29b0e3805f1a50913ae9111ab6752bdb0
+checksum=ed47d1dde360805bf97b5269fcb361017e20c975a54c904ebbb9de47a1a58556
make_check=no
-post_patch() {
- # relax requirements
- vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
- -e 's|aiohttp=.*|aiohttp>=3.7.4|' \
- -e 's|jsonschema.*|jsonschema>=2.6.0|' \
- -e 's|py-cpuinfo.*|py-cpuinfo>=5.8.0|' -i requirements.txt
-}
post_install() {
# remove tests directory polluting site-packages
rm -rf -- ${DESTDIR}/usr/lib/python*/site-packages/tests
From e38065d25eaed934a792118c4d358513ca3a16b1 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:57 -0500
Subject: [PATCH 3/4] gns3-gui: update to 2.2.24.
---
srcpkgs/gns3-gui/template | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/gns3-gui/template b/srcpkgs/gns3-gui/template
index a82996e790ce..bc3da6693500 100644
--- a/srcpkgs/gns3-gui/template
+++ b/srcpkgs/gns3-gui/template
@@ -1,6 +1,6 @@
# Template file for 'gns3-gui'
pkgname=gns3-gui
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -13,12 +13,7 @@ maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
-checksum=@58b12add3fa29a095f14bbf4c61f54f41fdee45c8ca490c651d9ccb37b9884fe
-
-post_patch() {
- # relax requirements
- vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' -i requirements.txt
-}
+checksum=e5e031853bfd5088f174bdd6028edffa2129f988c4e2793d53bbda1b81e3b8d0
do_check() {
# uses tox, broken
From 401632ac47a2d736c32394fd8efb49065580d719 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:55:13 -0500
Subject: [PATCH 4/4] python3-py-cpuinfo: update to 8.0.0.
---
srcpkgs/python3-py-cpuinfo/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-py-cpuinfo/template b/srcpkgs/python3-py-cpuinfo/template
index 6f5d469db551..f3cba9fbf044 100644
--- a/srcpkgs/python3-py-cpuinfo/template
+++ b/srcpkgs/python3-py-cpuinfo/template
@@ -1,7 +1,7 @@
# Template file for 'python3-py-cpuinfo'
pkgname=python3-py-cpuinfo
-version=6.0.0
-revision=2
+version=8.0.0
+revision=1
wrksrc="py-cpuinfo-${version}"
build_style=python3-module
hostmakedepends=python3-setuptools
@@ -10,7 +10,7 @@ maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="MIT"
homepage="https://github.com/workhorsy/py-cpuinfo"
distfiles="${PYPI_SITE}/p/py-cpuinfo/py-cpuinfo-${version}.tar.gz"
-checksum=7ffb31dea845b9f359b99bd5f7eea72dc70f852e0e34547d261a630f2b8c9c61
+checksum=5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5
post_install() {
vlicense LICENSE
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR REVIEW] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
2021-08-28 20:10 ` [PR REVIEW] " paper42
@ 2021-08-28 20:10 ` paper42
2021-08-28 20:10 ` paper42
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: paper42 @ 2021-08-28 20:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#discussion_r697912642
Comment:
it should be possible to do something like Jinja2>=2.0.0<4.0.0
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR REVIEW] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
@ 2021-08-28 20:10 ` paper42
2021-08-28 20:10 ` paper42
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: paper42 @ 2021-08-28 20:10 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/32737#discussion_r697911868
Comment:
I would prefer `rm -r`, so it starts failing when it's not necessary anymore.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR REVIEW] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
2021-08-28 20:10 ` [PR REVIEW] " paper42
2021-08-28 20:10 ` paper42
@ 2021-08-28 20:10 ` paper42
2021-08-28 20:10 ` paper42
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: paper42 @ 2021-08-28 20:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#discussion_r697911704
Comment:
could you add a comment with the reason why we are skipping tests?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR REVIEW] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (2 preceding siblings ...)
2021-08-28 20:10 ` paper42
@ 2021-08-28 20:10 ` paper42
2021-08-28 21:25 ` tsndqst
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: paper42 @ 2021-08-28 20:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#discussion_r697912247
Comment:
I think we could run tests with pytest, no?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (3 preceding siblings ...)
2021-08-28 20:10 ` paper42
@ 2021-08-28 21:25 ` tsndqst
2021-09-11 17:14 ` [PR PATCH] [Updated] " tsndqst
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-08-28 21:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
New comment by tsndqst on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#issuecomment-907691585
Comment:
> Next time you can force push to a PR instead of opening a new one.
True. I made a new PR because I made a new branch. The old branch had the 2.2.23 version number in it so I wanted to avoid confusion by creating a new branch with the correct name.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (4 preceding siblings ...)
2021-08-28 21:25 ` tsndqst
@ 2021-09-11 17:14 ` tsndqst
2021-09-11 17:58 ` tsndqst
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-11 17:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]
There is an updated pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages gns3-2.2.24
https://github.com/void-linux/void-packages/pull/32737
GNS3 2.2.24
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/32737.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gns3-2.2.24-32737.patch --]
[-- Type: text/x-diff, Size: 10186 bytes --]
From c5cd68153c2e1f9d5dff6c580d08d399cdb75791 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:55:13 -0500
Subject: [PATCH 1/6] python3-py-cpuinfo: update to 8.0.0.
---
srcpkgs/python3-py-cpuinfo/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-py-cpuinfo/template b/srcpkgs/python3-py-cpuinfo/template
index 6f5d469db551..f3cba9fbf044 100644
--- a/srcpkgs/python3-py-cpuinfo/template
+++ b/srcpkgs/python3-py-cpuinfo/template
@@ -1,7 +1,7 @@
# Template file for 'python3-py-cpuinfo'
pkgname=python3-py-cpuinfo
-version=6.0.0
-revision=2
+version=8.0.0
+revision=1
wrksrc="py-cpuinfo-${version}"
build_style=python3-module
hostmakedepends=python3-setuptools
@@ -10,7 +10,7 @@ maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="MIT"
homepage="https://github.com/workhorsy/py-cpuinfo"
distfiles="${PYPI_SITE}/p/py-cpuinfo/py-cpuinfo-${version}.tar.gz"
-checksum=7ffb31dea845b9f359b99bd5f7eea72dc70f852e0e34547d261a630f2b8c9c61
+checksum=5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5
post_install() {
vlicense LICENSE
From 771a8076b612ff725c4a3ad6b6c00e6ecd07074b Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:57 -0500
Subject: [PATCH 2/6] gns3-gui: update to 2.2.24.
---
srcpkgs/gns3-gui/template | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/gns3-gui/template b/srcpkgs/gns3-gui/template
index a82996e790ce..edfcf26a2db6 100644
--- a/srcpkgs/gns3-gui/template
+++ b/srcpkgs/gns3-gui/template
@@ -1,30 +1,19 @@
# Template file for 'gns3-gui'
pkgname=gns3-gui
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-psutil python3-jsonschema python3-sentry
+depends="python3-setuptools python3-psutil python3-jsonschema
python3-PyQt5-svg python3-PyQt5-websockets xterm inetutils-telnet
gns3-net-converter python3-distro"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-wheel"
short_desc="Graphical Network Simulator 3 - GUI"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
-checksum=@58b12add3fa29a095f14bbf4c61f54f41fdee45c8ca490c651d9ccb37b9884fe
-
-post_patch() {
- # relax requirements
- vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' -i requirements.txt
-}
-
-do_check() {
- # uses tox, broken
- cd build/lib
- python3 -c 'import gns3 as m; print(m)'
-}
+checksum=e5e031853bfd5088f174bdd6028edffa2129f988c4e2793d53bbda1b81e3b8d0
post_install() {
vinstall gns3-gui.desktop 644 usr/share/applications
From 446ba9ba88f8395daa051ad4a1e5f2662cf87c1f Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:40 -0500
Subject: [PATCH 3/6] gns3-server: update to 2.2.24.
---
.../gns3-server/patches/requirements.patch | 15 +++++++++++
srcpkgs/gns3-server/template | 27 ++++++++-----------
2 files changed, 26 insertions(+), 16 deletions(-)
create mode 100644 srcpkgs/gns3-server/patches/requirements.patch
diff --git a/srcpkgs/gns3-server/patches/requirements.patch b/srcpkgs/gns3-server/patches/requirements.patch
new file mode 100644
index 000000000000..4954850f1dda
--- /dev/null
+++ b/srcpkgs/gns3-server/patches/requirements.patch
@@ -0,0 +1,15 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,9 +1,8 @@
+ jsonschema==3.2.0
+-aiohttp==3.7.4.post0
++aiohttp>=3.7.4
+ aiohttp-cors==0.7.0
+ aiofiles==0.7.0
+-Jinja2==3.0.1
++Jinja2>=2.0.0<3.0.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ async-timeout==3.0.1
+ distro==1.6.0
diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template
index 02ae7b2ef438..09c262355963 100644
--- a/srcpkgs/gns3-server/template
+++ b/srcpkgs/gns3-server/template
@@ -1,32 +1,27 @@
# Template file for 'gns3-server'
pkgname=gns3-server
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
- python3-Jinja2 python3-sentry python3-psutil python3-aiofiles
+ python3-Jinja2 python3-psutil python3-aiofiles
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-flake8 python3-pytest-timeout python3-pytest-aiohttp"
short_desc="Graphical Network Simulator 3 - Server"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
-checksum=@9f3d7f4caf6cd420049a62ae9d7579f29b0e3805f1a50913ae9111ab6752bdb0
-make_check=no
+checksum=ed47d1dde360805bf97b5269fcb361017e20c975a54c904ebbb9de47a1a58556
-post_patch() {
- # relax requirements
- vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
- -e 's|aiohttp=.*|aiohttp>=3.7.4|' \
- -e 's|jsonschema.*|jsonschema>=2.6.0|' \
- -e 's|py-cpuinfo.*|py-cpuinfo>=5.8.0|' -i requirements.txt
-}
-post_install() {
- # remove tests directory polluting site-packages
- rm -rf -- ${DESTDIR}/usr/lib/python*/site-packages/tests
-}
+# Skip tests that fail upstream
+make_check_args="--deselect=tests/compute/qemu/test_qemu_manager.py
+ --deselect=tests/compute/test_manager.py::test_get_abs_image_recursive_ova[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_manager.py::test_binary_list
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_options[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_options_windows[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_run_with_kvm_linux_options_no_kvm[pyloop]"
# The source archive contains statically linked artifacts for x86_64
# glibc, since this is the only architecture supported by upstream, we
From 10a4eb4150f8053a78bbf869a59b3ede7fbaff01 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:15:53 -0500
Subject: [PATCH 4/6] New package: python3-pytest-aiohttp-0.3.0
---
srcpkgs/python3-pytest-aiohttp/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pytest-aiohttp/template
diff --git a/srcpkgs/python3-pytest-aiohttp/template b/srcpkgs/python3-pytest-aiohttp/template
new file mode 100644
index 000000000000..b0a34b27ce70
--- /dev/null
+++ b/srcpkgs/python3-pytest-aiohttp/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pytest-aiohttp'
+pkgname=python3-pytest-aiohttp
+version=0.3.0
+revision=1
+wrksrc="pytest-aiohttp-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+short_desc="Pytest plugin for aiohttp support"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aio-libs/pytest-aiohttp/"
+distfiles="${PYPI_SITE}/p/pytest-aiohttp/pytest-aiohttp-${version}.tar.gz"
+checksum=c929854339637977375838703b62fef63528598bc0a9d451639eba95f4aaa44f
+make_check=no # No tests available
From 9dba29dcf893cd4374ad764eb2d15258ac42906c Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:16:14 -0500
Subject: [PATCH 5/6] New package: python3-pytest-timeout-1.4.2
---
srcpkgs/python3-pytest-timeout/template | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/python3-pytest-timeout/template
diff --git a/srcpkgs/python3-pytest-timeout/template b/srcpkgs/python3-pytest-timeout/template
new file mode 100644
index 000000000000..328c7e796dd1
--- /dev/null
+++ b/srcpkgs/python3-pytest-timeout/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pytest-timeout'
+pkgname=python3-pytest-timeout
+version=1.4.2
+revision=1
+wrksrc="pytest-timeout-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+checkdepends="${depends} python3-pexpect"
+short_desc="Pytest plugin which will terminate tests after a certain timeout"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-timeout/"
+distfiles="${PYPI_SITE}/p/pytest-timeout/pytest-timeout-${version}.tar.gz"
+checksum=20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
+
+post_install() {
+ vlicense LICENSE
+}
+
+# adding do_check since the tests depend on this package
+do_check() {
+ python setup.py install
+ pytest
+}
From e2f97d96d1e530c022e5fd62434a8a89dda8d752 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 20:09:25 -0500
Subject: [PATCH 6/6] python3-sentry: remove package
* only used by gns3-server and gns3-gui
* Sentry is used for crash reports and is not packaged in upstream releases
https://github.com/GNS3/gns3-gui/blob/v2.2.24/gns3/crash_report.py#L29
https://github.com/GNS3/gns3-server/blob/master/gns3server/crash_report.py#L23
---
srcpkgs/python3-sentry/template | 24 ------------------------
1 file changed, 24 deletions(-)
delete mode 100644 srcpkgs/python3-sentry/template
diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template
deleted file mode 100644
index c2056965cad9..000000000000
--- a/srcpkgs/python3-sentry/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-sentry'
-pkgname=python3-sentry
-version=1.0.0
-revision=1
-wrksrc="sentry-python-${version}"
-build_style=python3-module
-hostmakedepends=python3-setuptools
-depends="python3-certifi python3-urllib3"
-checkdepends="${depends}"
-short_desc="New Python SDK for Sentry.io"
-maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
-license="BSD-2-Clause"
-homepage="https://github.com/getsentry/sentry-python"
-distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
-checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece
-
-do_check() {
- cd build/lib
- python3 -c 'import sentry_sdk as m; print(m)'
-}
-
-post_install() {
- vlicense LICENSE
-}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (5 preceding siblings ...)
2021-09-11 17:14 ` [PR PATCH] [Updated] " tsndqst
@ 2021-09-11 17:58 ` tsndqst
2021-09-11 22:16 ` tsndqst
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-11 17:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]
There is an updated pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages gns3-2.2.24
https://github.com/void-linux/void-packages/pull/32737
GNS3 2.2.24
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/32737.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gns3-2.2.24-32737.patch --]
[-- Type: text/x-diff, Size: 10205 bytes --]
From c5cd68153c2e1f9d5dff6c580d08d399cdb75791 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:55:13 -0500
Subject: [PATCH 1/6] python3-py-cpuinfo: update to 8.0.0.
---
srcpkgs/python3-py-cpuinfo/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-py-cpuinfo/template b/srcpkgs/python3-py-cpuinfo/template
index 6f5d469db551..f3cba9fbf044 100644
--- a/srcpkgs/python3-py-cpuinfo/template
+++ b/srcpkgs/python3-py-cpuinfo/template
@@ -1,7 +1,7 @@
# Template file for 'python3-py-cpuinfo'
pkgname=python3-py-cpuinfo
-version=6.0.0
-revision=2
+version=8.0.0
+revision=1
wrksrc="py-cpuinfo-${version}"
build_style=python3-module
hostmakedepends=python3-setuptools
@@ -10,7 +10,7 @@ maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="MIT"
homepage="https://github.com/workhorsy/py-cpuinfo"
distfiles="${PYPI_SITE}/p/py-cpuinfo/py-cpuinfo-${version}.tar.gz"
-checksum=7ffb31dea845b9f359b99bd5f7eea72dc70f852e0e34547d261a630f2b8c9c61
+checksum=5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5
post_install() {
vlicense LICENSE
From 771a8076b612ff725c4a3ad6b6c00e6ecd07074b Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:57 -0500
Subject: [PATCH 2/6] gns3-gui: update to 2.2.24.
---
srcpkgs/gns3-gui/template | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/srcpkgs/gns3-gui/template b/srcpkgs/gns3-gui/template
index a82996e790ce..edfcf26a2db6 100644
--- a/srcpkgs/gns3-gui/template
+++ b/srcpkgs/gns3-gui/template
@@ -1,30 +1,19 @@
# Template file for 'gns3-gui'
pkgname=gns3-gui
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-psutil python3-jsonschema python3-sentry
+depends="python3-setuptools python3-psutil python3-jsonschema
python3-PyQt5-svg python3-PyQt5-websockets xterm inetutils-telnet
gns3-net-converter python3-distro"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-wheel"
short_desc="Graphical Network Simulator 3 - GUI"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
-checksum=@58b12add3fa29a095f14bbf4c61f54f41fdee45c8ca490c651d9ccb37b9884fe
-
-post_patch() {
- # relax requirements
- vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' -i requirements.txt
-}
-
-do_check() {
- # uses tox, broken
- cd build/lib
- python3 -c 'import gns3 as m; print(m)'
-}
+checksum=e5e031853bfd5088f174bdd6028edffa2129f988c4e2793d53bbda1b81e3b8d0
post_install() {
vinstall gns3-gui.desktop 644 usr/share/applications
From 446ba9ba88f8395daa051ad4a1e5f2662cf87c1f Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:40 -0500
Subject: [PATCH 3/6] gns3-server: update to 2.2.24.
---
.../gns3-server/patches/requirements.patch | 15 +++++++++++
srcpkgs/gns3-server/template | 27 ++++++++-----------
2 files changed, 26 insertions(+), 16 deletions(-)
create mode 100644 srcpkgs/gns3-server/patches/requirements.patch
diff --git a/srcpkgs/gns3-server/patches/requirements.patch b/srcpkgs/gns3-server/patches/requirements.patch
new file mode 100644
index 000000000000..4954850f1dda
--- /dev/null
+++ b/srcpkgs/gns3-server/patches/requirements.patch
@@ -0,0 +1,15 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,9 +1,8 @@
+ jsonschema==3.2.0
+-aiohttp==3.7.4.post0
++aiohttp>=3.7.4
+ aiohttp-cors==0.7.0
+ aiofiles==0.7.0
+-Jinja2==3.0.1
++Jinja2>=2.0.0<3.0.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ async-timeout==3.0.1
+ distro==1.6.0
diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template
index 02ae7b2ef438..09c262355963 100644
--- a/srcpkgs/gns3-server/template
+++ b/srcpkgs/gns3-server/template
@@ -1,32 +1,27 @@
# Template file for 'gns3-server'
pkgname=gns3-server
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
- python3-Jinja2 python3-sentry python3-psutil python3-aiofiles
+ python3-Jinja2 python3-psutil python3-aiofiles
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-flake8 python3-pytest-timeout python3-pytest-aiohttp"
short_desc="Graphical Network Simulator 3 - Server"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
-checksum=@9f3d7f4caf6cd420049a62ae9d7579f29b0e3805f1a50913ae9111ab6752bdb0
-make_check=no
+checksum=ed47d1dde360805bf97b5269fcb361017e20c975a54c904ebbb9de47a1a58556
-post_patch() {
- # relax requirements
- vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
- -e 's|aiohttp=.*|aiohttp>=3.7.4|' \
- -e 's|jsonschema.*|jsonschema>=2.6.0|' \
- -e 's|py-cpuinfo.*|py-cpuinfo>=5.8.0|' -i requirements.txt
-}
-post_install() {
- # remove tests directory polluting site-packages
- rm -rf -- ${DESTDIR}/usr/lib/python*/site-packages/tests
-}
+# Skip tests that fail upstream
+make_check_args="--deselect=tests/compute/qemu/test_qemu_manager.py
+ --deselect=tests/compute/test_manager.py::test_get_abs_image_recursive_ova[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_manager.py::test_binary_list
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_options[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_options_windows[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_run_with_kvm_linux_options_no_kvm[pyloop]"
# The source archive contains statically linked artifacts for x86_64
# glibc, since this is the only architecture supported by upstream, we
From 10a4eb4150f8053a78bbf869a59b3ede7fbaff01 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:15:53 -0500
Subject: [PATCH 4/6] New package: python3-pytest-aiohttp-0.3.0
---
srcpkgs/python3-pytest-aiohttp/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pytest-aiohttp/template
diff --git a/srcpkgs/python3-pytest-aiohttp/template b/srcpkgs/python3-pytest-aiohttp/template
new file mode 100644
index 000000000000..b0a34b27ce70
--- /dev/null
+++ b/srcpkgs/python3-pytest-aiohttp/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pytest-aiohttp'
+pkgname=python3-pytest-aiohttp
+version=0.3.0
+revision=1
+wrksrc="pytest-aiohttp-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+short_desc="Pytest plugin for aiohttp support"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aio-libs/pytest-aiohttp/"
+distfiles="${PYPI_SITE}/p/pytest-aiohttp/pytest-aiohttp-${version}.tar.gz"
+checksum=c929854339637977375838703b62fef63528598bc0a9d451639eba95f4aaa44f
+make_check=no # No tests available
From 138c34687cc75048ab37c16284f0f5fe4e9b09f3 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:16:14 -0500
Subject: [PATCH 5/6] New package: python3-pytest-timeout-1.4.2
---
srcpkgs/python3-pytest-timeout/template | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/python3-pytest-timeout/template
diff --git a/srcpkgs/python3-pytest-timeout/template b/srcpkgs/python3-pytest-timeout/template
new file mode 100644
index 000000000000..354b1eedcd7c
--- /dev/null
+++ b/srcpkgs/python3-pytest-timeout/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pytest-timeout'
+pkgname=python3-pytest-timeout
+version=1.4.2
+revision=1
+wrksrc="pytest-timeout-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+checkdepends="${depends} python3-pexpect python3-pytest-cov"
+short_desc="Pytest plugin which will terminate tests after a certain timeout"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-timeout/"
+distfiles="${PYPI_SITE}/p/pytest-timeout/pytest-timeout-${version}.tar.gz"
+checksum=20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
+
+post_install() {
+ vlicense LICENSE
+}
+
+# adding do_check since the tests depend on this package
+do_check() {
+ python setup.py install
+ pytest
+}
From 1dc3ded5af6e58fc2896500d7ebda4c5c1adac31 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 20:09:25 -0500
Subject: [PATCH 6/6] python3-sentry: remove package
* only used by gns3-server and gns3-gui
* Sentry is used for crash reports and is not packaged in upstream releases
https://github.com/GNS3/gns3-gui/blob/v2.2.24/gns3/crash_report.py#L29
https://github.com/GNS3/gns3-server/blob/master/gns3server/crash_report.py#L23
---
srcpkgs/python3-sentry/template | 24 ------------------------
1 file changed, 24 deletions(-)
delete mode 100644 srcpkgs/python3-sentry/template
diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template
deleted file mode 100644
index c2056965cad9..000000000000
--- a/srcpkgs/python3-sentry/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-sentry'
-pkgname=python3-sentry
-version=1.0.0
-revision=1
-wrksrc="sentry-python-${version}"
-build_style=python3-module
-hostmakedepends=python3-setuptools
-depends="python3-certifi python3-urllib3"
-checkdepends="${depends}"
-short_desc="New Python SDK for Sentry.io"
-maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
-license="BSD-2-Clause"
-homepage="https://github.com/getsentry/sentry-python"
-distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
-checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece
-
-do_check() {
- cd build/lib
- python3 -c 'import sentry_sdk as m; print(m)'
-}
-
-post_install() {
- vlicense LICENSE
-}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (6 preceding siblings ...)
2021-09-11 17:58 ` tsndqst
@ 2021-09-11 22:16 ` tsndqst
2021-09-11 22:21 ` [PR PATCH] [Updated] " tsndqst
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-11 22:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
New comment by tsndqst on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#issuecomment-917493446
Comment:
I missed something in gns3-gui. Working on a fix now.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (7 preceding siblings ...)
2021-09-11 22:16 ` tsndqst
@ 2021-09-11 22:21 ` tsndqst
2021-09-12 1:19 ` tsndqst
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-11 22:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]
There is an updated pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages gns3-2.2.24
https://github.com/void-linux/void-packages/pull/32737
GNS3 2.2.24
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/32737.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gns3-2.2.24-32737.patch --]
[-- Type: text/x-diff, Size: 10772 bytes --]
From c5cd68153c2e1f9d5dff6c580d08d399cdb75791 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:55:13 -0500
Subject: [PATCH 1/6] python3-py-cpuinfo: update to 8.0.0.
---
srcpkgs/python3-py-cpuinfo/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-py-cpuinfo/template b/srcpkgs/python3-py-cpuinfo/template
index 6f5d469db551..f3cba9fbf044 100644
--- a/srcpkgs/python3-py-cpuinfo/template
+++ b/srcpkgs/python3-py-cpuinfo/template
@@ -1,7 +1,7 @@
# Template file for 'python3-py-cpuinfo'
pkgname=python3-py-cpuinfo
-version=6.0.0
-revision=2
+version=8.0.0
+revision=1
wrksrc="py-cpuinfo-${version}"
build_style=python3-module
hostmakedepends=python3-setuptools
@@ -10,7 +10,7 @@ maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="MIT"
homepage="https://github.com/workhorsy/py-cpuinfo"
distfiles="${PYPI_SITE}/p/py-cpuinfo/py-cpuinfo-${version}.tar.gz"
-checksum=7ffb31dea845b9f359b99bd5f7eea72dc70f852e0e34547d261a630f2b8c9c61
+checksum=5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5
post_install() {
vlicense LICENSE
From c0a8d2a0fad2e41927863bc69843fc5978f71515 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:57 -0500
Subject: [PATCH 2/6] gns3-gui: update to 2.2.24.
---
srcpkgs/gns3-gui/patches/requirements.patch | 8 ++++++++
srcpkgs/gns3-gui/template | 19 ++++---------------
2 files changed, 12 insertions(+), 15 deletions(-)
create mode 100644 srcpkgs/gns3-gui/patches/requirements.patch
diff --git a/srcpkgs/gns3-gui/patches/requirements.patch b/srcpkgs/gns3-gui/patches/requirements.patch
new file mode 100644
index 000000000000..e52bb30bfac6
--- /dev/null
+++ b/srcpkgs/gns3-gui/patches/requirements.patch
@@ -0,0 +1,8 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,4 +1,3 @@
+ jsonschema==3.2.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ distro==1.6.0
diff --git a/srcpkgs/gns3-gui/template b/srcpkgs/gns3-gui/template
index a82996e790ce..edfcf26a2db6 100644
--- a/srcpkgs/gns3-gui/template
+++ b/srcpkgs/gns3-gui/template
@@ -1,30 +1,19 @@
# Template file for 'gns3-gui'
pkgname=gns3-gui
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-psutil python3-jsonschema python3-sentry
+depends="python3-setuptools python3-psutil python3-jsonschema
python3-PyQt5-svg python3-PyQt5-websockets xterm inetutils-telnet
gns3-net-converter python3-distro"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-wheel"
short_desc="Graphical Network Simulator 3 - GUI"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
-checksum=@58b12add3fa29a095f14bbf4c61f54f41fdee45c8ca490c651d9ccb37b9884fe
-
-post_patch() {
- # relax requirements
- vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' -i requirements.txt
-}
-
-do_check() {
- # uses tox, broken
- cd build/lib
- python3 -c 'import gns3 as m; print(m)'
-}
+checksum=e5e031853bfd5088f174bdd6028edffa2129f988c4e2793d53bbda1b81e3b8d0
post_install() {
vinstall gns3-gui.desktop 644 usr/share/applications
From 9707b6b1c1ef278df4e12ff993918c8b8b5c3188 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:40 -0500
Subject: [PATCH 3/6] gns3-server: update to 2.2.24.
---
.../gns3-server/patches/requirements.patch | 15 +++++++++++
srcpkgs/gns3-server/template | 27 ++++++++-----------
2 files changed, 26 insertions(+), 16 deletions(-)
create mode 100644 srcpkgs/gns3-server/patches/requirements.patch
diff --git a/srcpkgs/gns3-server/patches/requirements.patch b/srcpkgs/gns3-server/patches/requirements.patch
new file mode 100644
index 000000000000..4954850f1dda
--- /dev/null
+++ b/srcpkgs/gns3-server/patches/requirements.patch
@@ -0,0 +1,15 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,9 +1,8 @@
+ jsonschema==3.2.0
+-aiohttp==3.7.4.post0
++aiohttp>=3.7.4
+ aiohttp-cors==0.7.0
+ aiofiles==0.7.0
+-Jinja2==3.0.1
++Jinja2>=2.0.0<3.0.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ async-timeout==3.0.1
+ distro==1.6.0
diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template
index 02ae7b2ef438..09c262355963 100644
--- a/srcpkgs/gns3-server/template
+++ b/srcpkgs/gns3-server/template
@@ -1,32 +1,27 @@
# Template file for 'gns3-server'
pkgname=gns3-server
-version=2.2.21
+version=2.2.24
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
- python3-Jinja2 python3-sentry python3-psutil python3-aiofiles
+ python3-Jinja2 python3-psutil python3-aiofiles
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-flake8 python3-pytest-timeout python3-pytest-aiohttp"
short_desc="Graphical Network Simulator 3 - Server"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
-checksum=@9f3d7f4caf6cd420049a62ae9d7579f29b0e3805f1a50913ae9111ab6752bdb0
-make_check=no
+checksum=ed47d1dde360805bf97b5269fcb361017e20c975a54c904ebbb9de47a1a58556
-post_patch() {
- # relax requirements
- vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
- -e 's|aiohttp=.*|aiohttp>=3.7.4|' \
- -e 's|jsonschema.*|jsonschema>=2.6.0|' \
- -e 's|py-cpuinfo.*|py-cpuinfo>=5.8.0|' -i requirements.txt
-}
-post_install() {
- # remove tests directory polluting site-packages
- rm -rf -- ${DESTDIR}/usr/lib/python*/site-packages/tests
-}
+# Skip tests that fail upstream
+make_check_args="--deselect=tests/compute/qemu/test_qemu_manager.py
+ --deselect=tests/compute/test_manager.py::test_get_abs_image_recursive_ova[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_manager.py::test_binary_list
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_options[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_options_windows[pyloop]
+ --deselect=tests/compute/qemu/test_qemu_vm.py::test_run_with_kvm_linux_options_no_kvm[pyloop]"
# The source archive contains statically linked artifacts for x86_64
# glibc, since this is the only architecture supported by upstream, we
From 3e2e820dd494e7b57d60f8ea7734e1a0e20d6603 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:15:53 -0500
Subject: [PATCH 4/6] New package: python3-pytest-aiohttp-0.3.0
---
srcpkgs/python3-pytest-aiohttp/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pytest-aiohttp/template
diff --git a/srcpkgs/python3-pytest-aiohttp/template b/srcpkgs/python3-pytest-aiohttp/template
new file mode 100644
index 000000000000..b0a34b27ce70
--- /dev/null
+++ b/srcpkgs/python3-pytest-aiohttp/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pytest-aiohttp'
+pkgname=python3-pytest-aiohttp
+version=0.3.0
+revision=1
+wrksrc="pytest-aiohttp-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+short_desc="Pytest plugin for aiohttp support"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aio-libs/pytest-aiohttp/"
+distfiles="${PYPI_SITE}/p/pytest-aiohttp/pytest-aiohttp-${version}.tar.gz"
+checksum=c929854339637977375838703b62fef63528598bc0a9d451639eba95f4aaa44f
+make_check=no # No tests available
From 6c9e952081dfca0054d9dee71f05c1114575ba8f Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:16:14 -0500
Subject: [PATCH 5/6] New package: python3-pytest-timeout-1.4.2
---
srcpkgs/python3-pytest-timeout/template | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/python3-pytest-timeout/template
diff --git a/srcpkgs/python3-pytest-timeout/template b/srcpkgs/python3-pytest-timeout/template
new file mode 100644
index 000000000000..354b1eedcd7c
--- /dev/null
+++ b/srcpkgs/python3-pytest-timeout/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pytest-timeout'
+pkgname=python3-pytest-timeout
+version=1.4.2
+revision=1
+wrksrc="pytest-timeout-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+checkdepends="${depends} python3-pexpect python3-pytest-cov"
+short_desc="Pytest plugin which will terminate tests after a certain timeout"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-timeout/"
+distfiles="${PYPI_SITE}/p/pytest-timeout/pytest-timeout-${version}.tar.gz"
+checksum=20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
+
+post_install() {
+ vlicense LICENSE
+}
+
+# adding do_check since the tests depend on this package
+do_check() {
+ python setup.py install
+ pytest
+}
From 0556abfd1c427dbe2d3004dc48ec161351d5a441 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 20:09:25 -0500
Subject: [PATCH 6/6] python3-sentry: remove package
* only used by gns3-server and gns3-gui
* Sentry is used for crash reports and is not packaged in upstream releases
https://github.com/GNS3/gns3-gui/blob/v2.2.24/gns3/crash_report.py#L29
https://github.com/GNS3/gns3-server/blob/master/gns3server/crash_report.py#L23
---
srcpkgs/python3-sentry/template | 24 ------------------------
1 file changed, 24 deletions(-)
delete mode 100644 srcpkgs/python3-sentry/template
diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template
deleted file mode 100644
index c2056965cad9..000000000000
--- a/srcpkgs/python3-sentry/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-sentry'
-pkgname=python3-sentry
-version=1.0.0
-revision=1
-wrksrc="sentry-python-${version}"
-build_style=python3-module
-hostmakedepends=python3-setuptools
-depends="python3-certifi python3-urllib3"
-checkdepends="${depends}"
-short_desc="New Python SDK for Sentry.io"
-maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
-license="BSD-2-Clause"
-homepage="https://github.com/getsentry/sentry-python"
-distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
-checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece
-
-do_check() {
- cd build/lib
- python3 -c 'import sentry_sdk as m; print(m)'
-}
-
-post_install() {
- vlicense LICENSE
-}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (8 preceding siblings ...)
2021-09-11 22:21 ` [PR PATCH] [Updated] " tsndqst
@ 2021-09-12 1:19 ` tsndqst
2021-09-15 1:23 ` [PR PATCH] [Updated] " tsndqst
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-12 1:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
New comment by tsndqst on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#issuecomment-917523742
Comment:
@paper42 can you take another look? I did a bit of refactoring to get tests working instead of skipping them altogether. It involved adding a couple packages but they were pretty straight forward.
I also removed python3-sentry package since it was only used for crash reports and apparently isn't included in the upstream packages.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] GNS3 2.2.24
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (9 preceding siblings ...)
2021-09-12 1:19 ` tsndqst
@ 2021-09-15 1:23 ` tsndqst
2021-09-15 6:06 ` GNS3 2.2.25 paper42
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-15 1:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]
There is an updated pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages gns3-2.2.24
https://github.com/void-linux/void-packages/pull/32737
GNS3 2.2.24
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/32737.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gns3-2.2.24-32737.patch --]
[-- Type: text/x-diff, Size: 10271 bytes --]
From 0466e2b9c4495873345dd002f8dabf50cb6787ea Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:55:13 -0500
Subject: [PATCH 1/6] python3-py-cpuinfo: update to 8.0.0.
---
srcpkgs/python3-py-cpuinfo/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-py-cpuinfo/template b/srcpkgs/python3-py-cpuinfo/template
index 6f5d469db551..f3cba9fbf044 100644
--- a/srcpkgs/python3-py-cpuinfo/template
+++ b/srcpkgs/python3-py-cpuinfo/template
@@ -1,7 +1,7 @@
# Template file for 'python3-py-cpuinfo'
pkgname=python3-py-cpuinfo
-version=6.0.0
-revision=2
+version=8.0.0
+revision=1
wrksrc="py-cpuinfo-${version}"
build_style=python3-module
hostmakedepends=python3-setuptools
@@ -10,7 +10,7 @@ maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="MIT"
homepage="https://github.com/workhorsy/py-cpuinfo"
distfiles="${PYPI_SITE}/p/py-cpuinfo/py-cpuinfo-${version}.tar.gz"
-checksum=7ffb31dea845b9f359b99bd5f7eea72dc70f852e0e34547d261a630f2b8c9c61
+checksum=5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5
post_install() {
vlicense LICENSE
From f4c0e1b038f641e9e48401c359212411feb94e53 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:57 -0500
Subject: [PATCH 2/6] gns3-gui: update to 2.2.25.
---
srcpkgs/gns3-gui/patches/requirements.patch | 8 ++++++++
srcpkgs/gns3-gui/template | 19 ++++---------------
2 files changed, 12 insertions(+), 15 deletions(-)
create mode 100644 srcpkgs/gns3-gui/patches/requirements.patch
diff --git a/srcpkgs/gns3-gui/patches/requirements.patch b/srcpkgs/gns3-gui/patches/requirements.patch
new file mode 100644
index 000000000000..e52bb30bfac6
--- /dev/null
+++ b/srcpkgs/gns3-gui/patches/requirements.patch
@@ -0,0 +1,8 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,4 +1,3 @@
+ jsonschema==3.2.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ distro==1.6.0
diff --git a/srcpkgs/gns3-gui/template b/srcpkgs/gns3-gui/template
index a82996e790ce..4dd514ad4614 100644
--- a/srcpkgs/gns3-gui/template
+++ b/srcpkgs/gns3-gui/template
@@ -1,30 +1,19 @@
# Template file for 'gns3-gui'
pkgname=gns3-gui
-version=2.2.21
+version=2.2.25
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-psutil python3-jsonschema python3-sentry
+depends="python3-setuptools python3-psutil python3-jsonschema
python3-PyQt5-svg python3-PyQt5-websockets xterm inetutils-telnet
gns3-net-converter python3-distro"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-wheel"
short_desc="Graphical Network Simulator 3 - GUI"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
-checksum=@58b12add3fa29a095f14bbf4c61f54f41fdee45c8ca490c651d9ccb37b9884fe
-
-post_patch() {
- # relax requirements
- vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' -i requirements.txt
-}
-
-do_check() {
- # uses tox, broken
- cd build/lib
- python3 -c 'import gns3 as m; print(m)'
-}
+checksum=a49bfe7756403e8fddfe19382780c95ae28e1eab7e63b48140655212f91612ba
post_install() {
vinstall gns3-gui.desktop 644 usr/share/applications
From 06fc5c0ab8106310410f7e151cbf5ed7d78b6141 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:40 -0500
Subject: [PATCH 3/6] gns3-server: update to 2.2.25.
---
.../gns3-server/patches/requirements.patch | 15 +++++++++++++
srcpkgs/gns3-server/template | 21 ++++---------------
2 files changed, 19 insertions(+), 17 deletions(-)
create mode 100644 srcpkgs/gns3-server/patches/requirements.patch
diff --git a/srcpkgs/gns3-server/patches/requirements.patch b/srcpkgs/gns3-server/patches/requirements.patch
new file mode 100644
index 000000000000..4954850f1dda
--- /dev/null
+++ b/srcpkgs/gns3-server/patches/requirements.patch
@@ -0,0 +1,15 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,9 +1,8 @@
+ jsonschema==3.2.0
+-aiohttp==3.7.4.post0
++aiohttp>=3.7.4
+ aiohttp-cors==0.7.0
+ aiofiles==0.7.0
+-Jinja2==3.0.1
++Jinja2>=2.0.0<3.0.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ async-timeout==3.0.1
+ distro==1.6.0
diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template
index 02ae7b2ef438..6e06a4d09423 100644
--- a/srcpkgs/gns3-server/template
+++ b/srcpkgs/gns3-server/template
@@ -1,32 +1,19 @@
# Template file for 'gns3-server'
pkgname=gns3-server
-version=2.2.21
+version=2.2.25
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
- python3-Jinja2 python3-sentry python3-psutil python3-aiofiles
+ python3-Jinja2 python3-psutil python3-aiofiles
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-flake8 python3-pytest-timeout python3-pytest-aiohttp"
short_desc="Graphical Network Simulator 3 - Server"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
-checksum=@9f3d7f4caf6cd420049a62ae9d7579f29b0e3805f1a50913ae9111ab6752bdb0
-make_check=no
-
-post_patch() {
- # relax requirements
- vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
- -e 's|aiohttp=.*|aiohttp>=3.7.4|' \
- -e 's|jsonschema.*|jsonschema>=2.6.0|' \
- -e 's|py-cpuinfo.*|py-cpuinfo>=5.8.0|' -i requirements.txt
-}
-post_install() {
- # remove tests directory polluting site-packages
- rm -rf -- ${DESTDIR}/usr/lib/python*/site-packages/tests
-}
+checksum=43faa7d57126e813dae3bf702c11e520148d9c3c234e4f1a7c23872e931c6251
# The source archive contains statically linked artifacts for x86_64
# glibc, since this is the only architecture supported by upstream, we
From d52a714fe2407761d8252cbf4b9edcff742a1516 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:15:53 -0500
Subject: [PATCH 4/6] New package: python3-pytest-aiohttp-0.3.0
---
srcpkgs/python3-pytest-aiohttp/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pytest-aiohttp/template
diff --git a/srcpkgs/python3-pytest-aiohttp/template b/srcpkgs/python3-pytest-aiohttp/template
new file mode 100644
index 000000000000..b0a34b27ce70
--- /dev/null
+++ b/srcpkgs/python3-pytest-aiohttp/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pytest-aiohttp'
+pkgname=python3-pytest-aiohttp
+version=0.3.0
+revision=1
+wrksrc="pytest-aiohttp-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+short_desc="Pytest plugin for aiohttp support"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aio-libs/pytest-aiohttp/"
+distfiles="${PYPI_SITE}/p/pytest-aiohttp/pytest-aiohttp-${version}.tar.gz"
+checksum=c929854339637977375838703b62fef63528598bc0a9d451639eba95f4aaa44f
+make_check=no # No tests available
From cc555d400f0f1814b93c8c8339a9c474d03dc59b Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:16:14 -0500
Subject: [PATCH 5/6] New package: python3-pytest-timeout-1.4.2
---
srcpkgs/python3-pytest-timeout/template | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/python3-pytest-timeout/template
diff --git a/srcpkgs/python3-pytest-timeout/template b/srcpkgs/python3-pytest-timeout/template
new file mode 100644
index 000000000000..354b1eedcd7c
--- /dev/null
+++ b/srcpkgs/python3-pytest-timeout/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pytest-timeout'
+pkgname=python3-pytest-timeout
+version=1.4.2
+revision=1
+wrksrc="pytest-timeout-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+checkdepends="${depends} python3-pexpect python3-pytest-cov"
+short_desc="Pytest plugin which will terminate tests after a certain timeout"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-timeout/"
+distfiles="${PYPI_SITE}/p/pytest-timeout/pytest-timeout-${version}.tar.gz"
+checksum=20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
+
+post_install() {
+ vlicense LICENSE
+}
+
+# adding do_check since the tests depend on this package
+do_check() {
+ python setup.py install
+ pytest
+}
From a73fc00551af86ced45e52fba8f42faf775ac4b3 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 20:09:25 -0500
Subject: [PATCH 6/6] python3-sentry: remove package
* only used by gns3-server and gns3-gui
* Sentry is used for crash reports and is not packaged in upstream releases
https://github.com/GNS3/gns3-gui/blob/v2.2.24/gns3/crash_report.py#L29
https://github.com/GNS3/gns3-server/blob/master/gns3server/crash_report.py#L23
---
srcpkgs/python3-sentry/template | 24 ------------------------
1 file changed, 24 deletions(-)
delete mode 100644 srcpkgs/python3-sentry/template
diff --git a/srcpkgs/python3-sentry/template b/srcpkgs/python3-sentry/template
deleted file mode 100644
index c2056965cad9..000000000000
--- a/srcpkgs/python3-sentry/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-sentry'
-pkgname=python3-sentry
-version=1.0.0
-revision=1
-wrksrc="sentry-python-${version}"
-build_style=python3-module
-hostmakedepends=python3-setuptools
-depends="python3-certifi python3-urllib3"
-checkdepends="${depends}"
-short_desc="New Python SDK for Sentry.io"
-maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
-license="BSD-2-Clause"
-homepage="https://github.com/getsentry/sentry-python"
-distfiles="https://github.com/getsentry/sentry-python/archive/${version}.tar.gz"
-checksum=@514331143990028b4cecf9f8e4ff5dfe4c0dddd0dcb206b28b7fba22ada6cece
-
-do_check() {
- cd build/lib
- python3 -c 'import sentry_sdk as m; print(m)'
-}
-
-post_install() {
- vlicense LICENSE
-}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: GNS3 2.2.25
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (10 preceding siblings ...)
2021-09-15 1:23 ` [PR PATCH] [Updated] " tsndqst
@ 2021-09-15 6:06 ` paper42
2021-09-15 13:08 ` [PR PATCH] [Updated] " tsndqst
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: paper42 @ 2021-09-15 6:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#issuecomment-919726822
Comment:
python3-sentry needs to be added to removed-packages like in #32495
GitHub doesn't detect you as the author of the commits, could you add the email you are using in the commits to your GitHub profile?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Updated] GNS3 2.2.25
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (11 preceding siblings ...)
2021-09-15 6:06 ` GNS3 2.2.25 paper42
@ 2021-09-15 13:08 ` tsndqst
2021-09-15 13:10 ` tsndqst
2021-09-19 19:11 ` [PR PATCH] [Merged]: " paper42
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-15 13:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]
There is an updated pull request by tsndqst against master on the void-packages repository
https://github.com/tsndqst/void-packages gns3-2.2.24
https://github.com/void-linux/void-packages/pull/32737
GNS3 2.2.25
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
A patch file from https://github.com/void-linux/void-packages/pull/32737.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gns3-2.2.24-32737.patch --]
[-- Type: text/x-diff, Size: 8726 bytes --]
From 0466e2b9c4495873345dd002f8dabf50cb6787ea Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:55:13 -0500
Subject: [PATCH 1/5] python3-py-cpuinfo: update to 8.0.0.
---
srcpkgs/python3-py-cpuinfo/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-py-cpuinfo/template b/srcpkgs/python3-py-cpuinfo/template
index 6f5d469db551..f3cba9fbf044 100644
--- a/srcpkgs/python3-py-cpuinfo/template
+++ b/srcpkgs/python3-py-cpuinfo/template
@@ -1,7 +1,7 @@
# Template file for 'python3-py-cpuinfo'
pkgname=python3-py-cpuinfo
-version=6.0.0
-revision=2
+version=8.0.0
+revision=1
wrksrc="py-cpuinfo-${version}"
build_style=python3-module
hostmakedepends=python3-setuptools
@@ -10,7 +10,7 @@ maintainer="Karol Kosek <krkk@krkk.ct8.pl>"
license="MIT"
homepage="https://github.com/workhorsy/py-cpuinfo"
distfiles="${PYPI_SITE}/p/py-cpuinfo/py-cpuinfo-${version}.tar.gz"
-checksum=7ffb31dea845b9f359b99bd5f7eea72dc70f852e0e34547d261a630f2b8c9c61
+checksum=5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5
post_install() {
vlicense LICENSE
From f4c0e1b038f641e9e48401c359212411feb94e53 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:57 -0500
Subject: [PATCH 2/5] gns3-gui: update to 2.2.25.
---
srcpkgs/gns3-gui/patches/requirements.patch | 8 ++++++++
srcpkgs/gns3-gui/template | 19 ++++---------------
2 files changed, 12 insertions(+), 15 deletions(-)
create mode 100644 srcpkgs/gns3-gui/patches/requirements.patch
diff --git a/srcpkgs/gns3-gui/patches/requirements.patch b/srcpkgs/gns3-gui/patches/requirements.patch
new file mode 100644
index 000000000000..e52bb30bfac6
--- /dev/null
+++ b/srcpkgs/gns3-gui/patches/requirements.patch
@@ -0,0 +1,8 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,4 +1,3 @@
+ jsonschema==3.2.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ distro==1.6.0
diff --git a/srcpkgs/gns3-gui/template b/srcpkgs/gns3-gui/template
index a82996e790ce..4dd514ad4614 100644
--- a/srcpkgs/gns3-gui/template
+++ b/srcpkgs/gns3-gui/template
@@ -1,30 +1,19 @@
# Template file for 'gns3-gui'
pkgname=gns3-gui
-version=2.2.21
+version=2.2.25
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-setuptools python3-psutil python3-jsonschema python3-sentry
+depends="python3-setuptools python3-psutil python3-jsonschema
python3-PyQt5-svg python3-PyQt5-websockets xterm inetutils-telnet
gns3-net-converter python3-distro"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-wheel"
short_desc="Graphical Network Simulator 3 - GUI"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
-checksum=@58b12add3fa29a095f14bbf4c61f54f41fdee45c8ca490c651d9ccb37b9884fe
-
-post_patch() {
- # relax requirements
- vsed -e 's|jsonschema.*|jsonschema>=2.6.0|' -i requirements.txt
-}
-
-do_check() {
- # uses tox, broken
- cd build/lib
- python3 -c 'import gns3 as m; print(m)'
-}
+checksum=a49bfe7756403e8fddfe19382780c95ae28e1eab7e63b48140655212f91612ba
post_install() {
vinstall gns3-gui.desktop 644 usr/share/applications
From 06fc5c0ab8106310410f7e151cbf5ed7d78b6141 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 28 Aug 2021 08:54:40 -0500
Subject: [PATCH 3/5] gns3-server: update to 2.2.25.
---
.../gns3-server/patches/requirements.patch | 15 +++++++++++++
srcpkgs/gns3-server/template | 21 ++++---------------
2 files changed, 19 insertions(+), 17 deletions(-)
create mode 100644 srcpkgs/gns3-server/patches/requirements.patch
diff --git a/srcpkgs/gns3-server/patches/requirements.patch b/srcpkgs/gns3-server/patches/requirements.patch
new file mode 100644
index 000000000000..4954850f1dda
--- /dev/null
+++ b/srcpkgs/gns3-server/patches/requirements.patch
@@ -0,0 +1,15 @@
+diff --git a/requirements.txt b/requirements.txt
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,9 +1,8 @@
+ jsonschema==3.2.0
+-aiohttp==3.7.4.post0
++aiohttp>=3.7.4
+ aiohttp-cors==0.7.0
+ aiofiles==0.7.0
+-Jinja2==3.0.1
++Jinja2>=2.0.0<3.0.0
+-sentry-sdk==1.3.1
+ psutil==5.8.0
+ async-timeout==3.0.1
+ distro==1.6.0
diff --git a/srcpkgs/gns3-server/template b/srcpkgs/gns3-server/template
index 02ae7b2ef438..6e06a4d09423 100644
--- a/srcpkgs/gns3-server/template
+++ b/srcpkgs/gns3-server/template
@@ -1,32 +1,19 @@
# Template file for 'gns3-server'
pkgname=gns3-server
-version=2.2.21
+version=2.2.25
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-jsonschema python3-aiohttp-cors python3-yarl
- python3-Jinja2 python3-sentry python3-psutil python3-aiofiles
+ python3-Jinja2 python3-psutil python3-aiofiles
python3-py-cpuinfo python3-distro python3-async-timeout dynamips"
-checkdepends="${depends}"
+checkdepends="${depends} python3-pytest python3-flake8 python3-pytest-timeout python3-pytest-aiohttp"
short_desc="Graphical Network Simulator 3 - Server"
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gns3.com"
distfiles="https://github.com/GNS3/gns3-server/archive/v${version}.tar.gz"
-checksum=@9f3d7f4caf6cd420049a62ae9d7579f29b0e3805f1a50913ae9111ab6752bdb0
-make_check=no
-
-post_patch() {
- # relax requirements
- vsed -e 's|aiofiles.*|aiofiles>=0.4.0|' \
- -e 's|aiohttp=.*|aiohttp>=3.7.4|' \
- -e 's|jsonschema.*|jsonschema>=2.6.0|' \
- -e 's|py-cpuinfo.*|py-cpuinfo>=5.8.0|' -i requirements.txt
-}
-post_install() {
- # remove tests directory polluting site-packages
- rm -rf -- ${DESTDIR}/usr/lib/python*/site-packages/tests
-}
+checksum=43faa7d57126e813dae3bf702c11e520148d9c3c234e4f1a7c23872e931c6251
# The source archive contains statically linked artifacts for x86_64
# glibc, since this is the only architecture supported by upstream, we
From d52a714fe2407761d8252cbf4b9edcff742a1516 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:15:53 -0500
Subject: [PATCH 4/5] New package: python3-pytest-aiohttp-0.3.0
---
srcpkgs/python3-pytest-aiohttp/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-pytest-aiohttp/template
diff --git a/srcpkgs/python3-pytest-aiohttp/template b/srcpkgs/python3-pytest-aiohttp/template
new file mode 100644
index 000000000000..b0a34b27ce70
--- /dev/null
+++ b/srcpkgs/python3-pytest-aiohttp/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pytest-aiohttp'
+pkgname=python3-pytest-aiohttp
+version=0.3.0
+revision=1
+wrksrc="pytest-aiohttp-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+short_desc="Pytest plugin for aiohttp support"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aio-libs/pytest-aiohttp/"
+distfiles="${PYPI_SITE}/p/pytest-aiohttp/pytest-aiohttp-${version}.tar.gz"
+checksum=c929854339637977375838703b62fef63528598bc0a9d451639eba95f4aaa44f
+make_check=no # No tests available
From cc555d400f0f1814b93c8c8339a9c474d03dc59b Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Sat, 4 Sep 2021 09:16:14 -0500
Subject: [PATCH 5/5] New package: python3-pytest-timeout-1.4.2
---
srcpkgs/python3-pytest-timeout/template | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 srcpkgs/python3-pytest-timeout/template
diff --git a/srcpkgs/python3-pytest-timeout/template b/srcpkgs/python3-pytest-timeout/template
new file mode 100644
index 000000000000..354b1eedcd7c
--- /dev/null
+++ b/srcpkgs/python3-pytest-timeout/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pytest-timeout'
+pkgname=python3-pytest-timeout
+version=1.4.2
+revision=1
+wrksrc="pytest-timeout-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+checkdepends="${depends} python3-pexpect python3-pytest-cov"
+short_desc="Pytest plugin which will terminate tests after a certain timeout"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-timeout/"
+distfiles="${PYPI_SITE}/p/pytest-timeout/pytest-timeout-${version}.tar.gz"
+checksum=20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
+
+post_install() {
+ vlicense LICENSE
+}
+
+# adding do_check since the tests depend on this package
+do_check() {
+ python setup.py install
+ pytest
+}
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: GNS3 2.2.25
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (12 preceding siblings ...)
2021-09-15 13:08 ` [PR PATCH] [Updated] " tsndqst
@ 2021-09-15 13:10 ` tsndqst
2021-09-19 19:11 ` [PR PATCH] [Merged]: " paper42
14 siblings, 0 replies; 16+ messages in thread
From: tsndqst @ 2021-09-15 13:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
New comment by tsndqst on void-packages repository
https://github.com/void-linux/void-packages/pull/32737#issuecomment-920004737
Comment:
Thanks @paper42
I'll make a separate PR for removal of python3-sentry once this PR is merged.
I updated my email address in GitHub as well.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PR PATCH] [Merged]: GNS3 2.2.25
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
` (13 preceding siblings ...)
2021-09-15 13:10 ` tsndqst
@ 2021-09-19 19:11 ` paper42
14 siblings, 0 replies; 16+ messages in thread
From: paper42 @ 2021-09-19 19:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]
There's a merged pull request on the void-packages repository
GNS3 2.2.25
https://github.com/void-linux/void-packages/pull/32737
Description:
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64-glibc)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2021-09-19 19:11 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28 19:33 [PR PATCH] GNS3 2.2.24 tsndqst
2021-08-28 20:10 ` [PR REVIEW] " paper42
2021-08-28 20:10 ` paper42
2021-08-28 20:10 ` paper42
2021-08-28 20:10 ` paper42
2021-08-28 21:25 ` tsndqst
2021-09-11 17:14 ` [PR PATCH] [Updated] " tsndqst
2021-09-11 17:58 ` tsndqst
2021-09-11 22:16 ` tsndqst
2021-09-11 22:21 ` [PR PATCH] [Updated] " tsndqst
2021-09-12 1:19 ` tsndqst
2021-09-15 1:23 ` [PR PATCH] [Updated] " tsndqst
2021-09-15 6:06 ` GNS3 2.2.25 paper42
2021-09-15 13:08 ` [PR PATCH] [Updated] " tsndqst
2021-09-15 13:10 ` tsndqst
2021-09-19 19:11 ` [PR PATCH] [Merged]: " paper42
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).