* Re: New package: python3-shxparser-0.0.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
@ 2023-10-25 17:20 ` Chocimier
2023-10-26 12:21 ` Luciogi
` (16 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Chocimier @ 2023-10-25 17:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1779725789
Comment:
Looks neither [system-wide, compiled nor required by other package](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements), or is it?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: New package: python3-shxparser-0.0.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
2023-10-25 17:20 ` New package: python3-shxparser-0.0.2 Chocimier
@ 2023-10-26 12:21 ` Luciogi
2023-10-26 12:24 ` Luciogi
` (15 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 12:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
New comment by Luciogi on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1781014923
Comment:
> Looks neither [system-wide, compiled nor required by other package](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements), or is it?
bCNC 0.9.15 will require this package
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: New package: python3-shxparser-0.0.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
2023-10-25 17:20 ` New package: python3-shxparser-0.0.2 Chocimier
2023-10-26 12:21 ` Luciogi
@ 2023-10-26 12:24 ` Luciogi
2023-10-26 14:47 ` [PR PATCH] [Updated] " Luciogi
` (14 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 12:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
New comment by Luciogi on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1781014923
Comment:
> Looks neither [system-wide, compiled nor required by other package](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements), or is it?
bCNC 0.9.15 will require this package https://github.com/vlachoudis/bCNC/blob/master/setup.py#L37
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] New package: python3-shxparser-0.0.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (2 preceding siblings ...)
2023-10-26 12:24 ` Luciogi
@ 2023-10-26 14:47 ` Luciogi
2023-10-26 14:49 ` Luciogi
` (13 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 14:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
New package: python3-shxparser-0.0.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### Requires to be merged:
- [ ] #46825
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 3959 bytes --]
From c2b1c97fa3886a9e7abb36f89a7dc8e51b02304f Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Sun, 22 Oct 2023 16:07:16 +0500
Subject: [PATCH 1/2] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..81bef4d5bc6a5
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+post_install() {
+ vlicense LICENSE
+}
From 0cc21c11e62f93c93225168f9e5c7bb8d5b39297 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 19:47:10 +0500
Subject: [PATCH 2/2] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 17 ++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..02da8ff44ec01
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: New package: python3-shxparser-0.0.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (3 preceding siblings ...)
2023-10-26 14:47 ` [PR PATCH] [Updated] " Luciogi
@ 2023-10-26 14:49 ` Luciogi
2023-10-26 14:59 ` [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6 Luciogi
` (12 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 14:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 421 bytes --]
New comment by Luciogi on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1781014923
Comment:
> Looks neither [system-wide, compiled nor required by other package](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements), or is it?
bCNC 0.9.15 will require these packages
https://github.com/vlachoudis/bCNC/blob/master/setup.py#L37
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (4 preceding siblings ...)
2023-10-26 14:49 ` Luciogi
@ 2023-10-26 14:59 ` Luciogi
2023-10-26 15:10 ` ahesford
` (11 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 14:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### Required for bCNC 0.9.5
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 3959 bytes --]
From ba1394c280e209803da79e1b4c973e07951263df Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 19:47:10 +0500
Subject: [PATCH 1/2] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 17 ++++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..02da8ff44ec01
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+
+post_install() {
+ vlicense LICENSE
+}
From 25e42a4e62986392fd0899f21caf31360dc684ad Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Sun, 22 Oct 2023 16:07:16 +0500
Subject: [PATCH 2/2] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..81bef4d5bc6a5
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (5 preceding siblings ...)
2023-10-26 14:59 ` [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6 Luciogi
@ 2023-10-26 15:10 ` ahesford
2023-10-26 15:58 ` [PR PATCH] [Updated] " Luciogi
` (10 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: ahesford @ 2023-10-26 15:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1781322288
Comment:
In that case, we can wait to add these packages until bCNC is updated and include them in the update PR.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (6 preceding siblings ...)
2023-10-26 15:10 ` ahesford
@ 2023-10-26 15:58 ` Luciogi
2023-10-26 16:55 ` Luciogi
` (9 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 15:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### Required for bCNC 0.9.5
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 4060 bytes --]
From 98c13b26f1f357ee879d37a5fcdf37cf794a3668 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:18 +0500
Subject: [PATCH 1/2] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..97c218bd63337
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+pre_install() {
+ rm -r build/lib/test test
+}
+post_install() {
+ vlicense LICENSE
+}
From d54181a3a71b822157db7aa26f4fbb237389ae58 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:43 +0500
Subject: [PATCH 2/2] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..3531d7592102d
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+pre_install() {
+ rm -r build/lib/test test
+}
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (7 preceding siblings ...)
2023-10-26 15:58 ` [PR PATCH] [Updated] " Luciogi
@ 2023-10-26 16:55 ` Luciogi
2023-10-26 16:59 ` Luciogi
` (8 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 16:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### Required for bCNC 0.9.15
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 5988 bytes --]
From 98c13b26f1f357ee879d37a5fcdf37cf794a3668 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:18 +0500
Subject: [PATCH 1/4] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..97c218bd63337
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+pre_install() {
+ rm -r build/lib/test test
+}
+post_install() {
+ vlicense LICENSE
+}
From d54181a3a71b822157db7aa26f4fbb237389ae58 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:43 +0500
Subject: [PATCH 2/4] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..3531d7592102d
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+pre_install() {
+ rm -r build/lib/test test
+}
+
+post_install() {
+ vlicense LICENSE
+}
From fc8eb50fcfeb082d93e9c83a3339eb1d88ad8400 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 21:16:30 +0500
Subject: [PATCH 3/4] bCNC: update to 0.9.15.
---
srcpkgs/bCNC/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/bCNC/template b/srcpkgs/bCNC/template
index 4bfdbe16cca19..5a96ab549ed5b 100644
--- a/srcpkgs/bCNC/template
+++ b/srcpkgs/bCNC/template
@@ -1,10 +1,10 @@
# Template file for 'bCNC'
pkgname=bCNC
-version=0.9.14.307
-revision=4
+version=0.9.15
+revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy"
+depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy python3-svgelements python3-shxparser"
short_desc="GRBL CNC command sender, autoleveler and g-code editor"
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-2.0-only"
From 093ba9876d21445aeea6a69c536368aa4a6f9a99 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 21:54:57 +0500
Subject: [PATCH 4/4] bCNC: update to 0.9.15.
---
srcpkgs/bCNC/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/bCNC/template b/srcpkgs/bCNC/template
index 5a96ab549ed5b..c9c9b2080937c 100644
--- a/srcpkgs/bCNC/template
+++ b/srcpkgs/bCNC/template
@@ -10,8 +10,8 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-2.0-only"
homepage="https://github.com/vlachoudis/bCNC"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=005c3f2a0b244abab81dc3f6df2001f530db655165611165e7009e28b94cda5f
-
+checksum=7ca77f8914d2da51b4a2bf5db1fe48f52037e59e972769bf48c932fbee2d5ff3
+make_check=no # all tests require pyautogui, which is not packaged
post_install() {
vmkdir usr/share/applications
vmkdir usr/share/pixmaps
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (8 preceding siblings ...)
2023-10-26 16:55 ` Luciogi
@ 2023-10-26 16:59 ` Luciogi
2023-10-26 17:00 ` Luciogi
` (7 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 16:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### Required for bCNC 0.9.15
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 5279 bytes --]
From 98c13b26f1f357ee879d37a5fcdf37cf794a3668 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:18 +0500
Subject: [PATCH 1/3] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..97c218bd63337
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+pre_install() {
+ rm -r build/lib/test test
+}
+post_install() {
+ vlicense LICENSE
+}
From d54181a3a71b822157db7aa26f4fbb237389ae58 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:43 +0500
Subject: [PATCH 2/3] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..3531d7592102d
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+pre_install() {
+ rm -r build/lib/test test
+}
+
+post_install() {
+ vlicense LICENSE
+}
From f66d7618ed7889a91512f1f0278933e2649dff35 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 21:54:57 +0500
Subject: [PATCH 3/3] bCNC: update to 0.9.15.
---
srcpkgs/bCNC/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/bCNC/template b/srcpkgs/bCNC/template
index 4bfdbe16cca19..b05394f7b6944 100644
--- a/srcpkgs/bCNC/template
+++ b/srcpkgs/bCNC/template
@@ -1,7 +1,7 @@
# Template file for 'bCNC'
pkgname=bCNC
-version=0.9.14.307
-revision=4
+version=0.9.15
+revision=5
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy"
@@ -10,8 +10,8 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-2.0-only"
homepage="https://github.com/vlachoudis/bCNC"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=005c3f2a0b244abab81dc3f6df2001f530db655165611165e7009e28b94cda5f
-
+checksum=7ca77f8914d2da51b4a2bf5db1fe48f52037e59e972769bf48c932fbee2d5ff3
+make_check=no # all tests require pyautogui, which is not packaged
post_install() {
vmkdir usr/share/applications
vmkdir usr/share/pixmaps
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (9 preceding siblings ...)
2023-10-26 16:59 ` Luciogi
@ 2023-10-26 17:00 ` Luciogi
2023-10-26 17:01 ` Luciogi
` (6 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 17:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### Required for bCNC 0.9.15
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 5279 bytes --]
From 98c13b26f1f357ee879d37a5fcdf37cf794a3668 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:18 +0500
Subject: [PATCH 1/3] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..97c218bd63337
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+pre_install() {
+ rm -r build/lib/test test
+}
+post_install() {
+ vlicense LICENSE
+}
From d54181a3a71b822157db7aa26f4fbb237389ae58 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:43 +0500
Subject: [PATCH 2/3] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..3531d7592102d
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+pre_install() {
+ rm -r build/lib/test test
+}
+
+post_install() {
+ vlicense LICENSE
+}
From c84b2773c80cb2e39f9ee3c7e9fcbcf371290b7f Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 21:54:57 +0500
Subject: [PATCH 3/3] bCNC: update to 0.9.15.
---
srcpkgs/bCNC/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/bCNC/template b/srcpkgs/bCNC/template
index 4bfdbe16cca19..aa9d7e17be903 100644
--- a/srcpkgs/bCNC/template
+++ b/srcpkgs/bCNC/template
@@ -1,7 +1,7 @@
# Template file for 'bCNC'
pkgname=bCNC
-version=0.9.14.307
-revision=4
+version=0.9.15
+revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy"
@@ -10,8 +10,8 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-2.0-only"
homepage="https://github.com/vlachoudis/bCNC"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=005c3f2a0b244abab81dc3f6df2001f530db655165611165e7009e28b94cda5f
-
+checksum=7ca77f8914d2da51b4a2bf5db1fe48f52037e59e972769bf48c932fbee2d5ff3
+make_check=no # all tests require pyautogui, which is not packaged
post_install() {
vmkdir usr/share/applications
vmkdir usr/share/pixmaps
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (10 preceding siblings ...)
2023-10-26 17:00 ` Luciogi
@ 2023-10-26 17:01 ` Luciogi
2023-10-26 17:10 ` Update: bCNC to 0.9.15, " Luciogi
` (5 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 17:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### Required for bCNC 0.9.15
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 5278 bytes --]
From 98c13b26f1f357ee879d37a5fcdf37cf794a3668 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:18 +0500
Subject: [PATCH 1/3] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..97c218bd63337
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+pre_install() {
+ rm -r build/lib/test test
+}
+post_install() {
+ vlicense LICENSE
+}
From d54181a3a71b822157db7aa26f4fbb237389ae58 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:43 +0500
Subject: [PATCH 2/3] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 20 ++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..3531d7592102d
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+pre_install() {
+ rm -r build/lib/test test
+}
+
+post_install() {
+ vlicense LICENSE
+}
From 71a21184f77260efed837467278f96f8555a1398 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 21:54:57 +0500
Subject: [PATCH 3/3] bCNC: update to 0.9.15
---
srcpkgs/bCNC/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/bCNC/template b/srcpkgs/bCNC/template
index 4bfdbe16cca19..aa9d7e17be903 100644
--- a/srcpkgs/bCNC/template
+++ b/srcpkgs/bCNC/template
@@ -1,7 +1,7 @@
# Template file for 'bCNC'
pkgname=bCNC
-version=0.9.14.307
-revision=4
+version=0.9.15
+revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy"
@@ -10,8 +10,8 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-2.0-only"
homepage="https://github.com/vlachoudis/bCNC"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=005c3f2a0b244abab81dc3f6df2001f530db655165611165e7009e28b94cda5f
-
+checksum=7ca77f8914d2da51b4a2bf5db1fe48f52037e59e972769bf48c932fbee2d5ff3
+make_check=no # all tests require pyautogui, which is not packaged
post_install() {
vmkdir usr/share/applications
vmkdir usr/share/pixmaps
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update: bCNC to 0.9.15, New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (11 preceding siblings ...)
2023-10-26 17:01 ` Luciogi
@ 2023-10-26 17:10 ` Luciogi
2023-10-26 17:10 ` Luciogi
` (4 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
New comment by Luciogi on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1781517530
Comment:
PR is read to be merged, Application opens without any errors
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update: bCNC to 0.9.15, New packages: python3-shxparser-0.0.2, python3-svgelements-1.9.6
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (12 preceding siblings ...)
2023-10-26 17:10 ` Update: bCNC to 0.9.15, " Luciogi
@ 2023-10-26 17:10 ` Luciogi
2023-11-03 18:12 ` [PR PATCH] [Updated] Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency Luciogi
` (3 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-10-26 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
New comment by Luciogi on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1781517530
Comment:
PR is ready to be merged, Application opens without any errors
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Updated] Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (13 preceding siblings ...)
2023-10-26 17:10 ` Luciogi
@ 2023-11-03 18:12 ` Luciogi
2023-11-03 18:31 ` [PR PATCH] [Merged]: " Vaelatern
` (2 subsequent siblings)
17 siblings, 0 replies; 18+ messages in thread
From: Luciogi @ 2023-11-03 18:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]
There is an updated pull request by Luciogi against master on the void-packages repository
https://github.com/Luciogi/void-packages shxparser
https://github.com/void-linux/void-packages/pull/46828
Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### bCNC 0.9.15 requires new depends
- python3-shxparser
- python3-svgelements
A patch file from https://github.com/void-linux/void-packages/pull/46828.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-shxparser-46828.patch --]
[-- Type: text/x-diff, Size: 5259 bytes --]
From 52f0f3c80cab8a8ea40561afad12eef859eab67d Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:18 +0500
Subject: [PATCH 1/3] New package: python3-shxparser-0.0.2
---
srcpkgs/python3-shxparser/template | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 srcpkgs/python3-shxparser/template
diff --git a/srcpkgs/python3-shxparser/template b/srcpkgs/python3-shxparser/template
new file mode 100644
index 0000000000000..4534995687544
--- /dev/null
+++ b/srcpkgs/python3-shxparser/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-shxparser'
+pkgname=python3-shxparser
+version=0.0.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-svgelements"
+short_desc="Pure Python Parser for SHX Hershey font files"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/tatarize/shxparser"
+distfiles="${PYPI_SITE}/s/shxparser/shxparser-${version}.tar.gz"
+checksum=8541e4bce62876822c93f3959e7f6909ef1bf8352691b343bacdaaa9b92ff270
+
+pre_install() {
+ rm -r build/lib/test test
+}
+
+post_install() {
+ vlicense LICENSE
+}
From fa81b193ffd7f07cad0b1ac0f8d5d07a4b3ec444 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 20:57:43 +0500
Subject: [PATCH 2/3] New package: python3-svgelements-1.9.6
---
.../patches/fix_assert.patch | 23 +++++++++++++++++++
srcpkgs/python3-svgelements/template | 21 +++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/python3-svgelements/patches/fix_assert.patch
create mode 100644 srcpkgs/python3-svgelements/template
diff --git a/srcpkgs/python3-svgelements/patches/fix_assert.patch b/srcpkgs/python3-svgelements/patches/fix_assert.patch
new file mode 100644
index 0000000000000..11375c7cdcb3f
--- /dev/null
+++ b/srcpkgs/python3-svgelements/patches/fix_assert.patch
@@ -0,0 +1,23 @@
+diff --git a/test/test_cubic_bezier.py b/test/test_cubic_bezier.py
+index a7283e5..50148c2 100644
+--- a/test/test_cubic_bezier.py
++++ b/test/test_cubic_bezier.py
+@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase):
+ p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754))
+ p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469))
+ bounds = p.bbox()
+- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100)
++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100)
+diff --git a/test/test_write.py b/test/test_write.py
+index 85e5bb5..33c94a6 100644
+--- a/test/test_write.py
++++ b/test/test_write.py
+@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase):
+
+ def test_write_group(self):
+ g = Group()
+- self.assertEquals(g.string_xml(), "<g />")
++ self.assertEqual(g.string_xml(), "<g />")
+
+ def test_write_rect(self):
+ r = Rect("1in", "1in", "3in", "3in", rx="5%")
diff --git a/srcpkgs/python3-svgelements/template b/srcpkgs/python3-svgelements/template
new file mode 100644
index 0000000000000..6829c509d80e6
--- /dev/null
+++ b/srcpkgs/python3-svgelements/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-svgelements'
+pkgname=python3-svgelements
+version=1.9.6
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-numpy python3-scipy python3-Pillow"
+short_desc="SVG Parsing for Elements, Paths, and other SVG Objects"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/meerk40t/svgelements"
+distfiles="${PYPI_SITE}/s/svgelements/svgelements-${version}.tar.gz"
+checksum=7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7
+
+pre_install() {
+ rm -r build/lib/test test
+}
+
+post_install() {
+ vlicense LICENSE
+}
From 31e896e587d5abb5ebc7a8e9c092c19523e182e7 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Thu, 26 Oct 2023 21:54:57 +0500
Subject: [PATCH 3/3] bCNC: update to 0.9.15
---
srcpkgs/bCNC/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/bCNC/template b/srcpkgs/bCNC/template
index 4bfdbe16cca19..8ba1426fc4570 100644
--- a/srcpkgs/bCNC/template
+++ b/srcpkgs/bCNC/template
@@ -1,7 +1,7 @@
# Template file for 'bCNC'
pkgname=bCNC
-version=0.9.14.307
-revision=4
+version=0.9.15
+revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pyserial python3-Pillow python3-tkinter python3-numpy python3-scipy"
@@ -10,7 +10,8 @@ maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-2.0-only"
homepage="https://github.com/vlachoudis/bCNC"
distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=005c3f2a0b244abab81dc3f6df2001f530db655165611165e7009e28b94cda5f
+checksum=7ca77f8914d2da51b4a2bf5db1fe48f52037e59e972769bf48c932fbee2d5ff3
+make_check=no # all tests require pyautogui, which is not packaged
post_install() {
vmkdir usr/share/applications
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PR PATCH] [Merged]: Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (14 preceding siblings ...)
2023-11-03 18:12 ` [PR PATCH] [Updated] Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency Luciogi
@ 2023-11-03 18:31 ` Vaelatern
2023-11-04 13:54 ` paper42
2023-11-05 2:50 ` Vaelatern
17 siblings, 0 replies; 18+ messages in thread
From: Vaelatern @ 2023-11-03 18:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 660 bytes --]
There's a merged pull request on the void-packages repository
Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency
https://github.com/void-linux/void-packages/pull/46828
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64_glibc)
### bCNC 0.9.15 requires new depends
- python3-shxparser
- python3-svgelements
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (15 preceding siblings ...)
2023-11-03 18:31 ` [PR PATCH] [Merged]: " Vaelatern
@ 2023-11-04 13:54 ` paper42
2023-11-05 2:50 ` Vaelatern
17 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2023-11-04 13:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1793450244
Comment:
this PR was not ready for merging, fixed in ed31f3b2c2e40e8a961427d8cae5f16228b0c08e, 86870336d9b935c22af2245c3d36912ae01494ae and 0c63fa97e71dea2faea368652bb2fadba7d733fb
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Update: bCNC to 0.9.15, add python3-shxparser-0.0.2, python3-svgelements-1.9.6 as dependency
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46828@inbox.vuxu.org>
` (16 preceding siblings ...)
2023-11-04 13:54 ` paper42
@ 2023-11-05 2:50 ` Vaelatern
17 siblings, 0 replies; 18+ messages in thread
From: Vaelatern @ 2023-11-05 2:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
New comment by Vaelatern on void-packages repository
https://github.com/void-linux/void-packages/pull/46828#issuecomment-1793616162
Comment:
Thanks for fixing!
^ permalink raw reply [flat|nested] 18+ messages in thread