Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: [PR PATCH] [Updated] New package: python3-svgelements-1.9.6
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46825@inbox.vuxu.org>
@ 2023-10-22 10:32 ` Luciogi
  2023-10-25 17:18 ` Chocimier
  2023-10-25 17:18 ` [PR PATCH] [Closed]: " Chocimier
  2 siblings, 0 replies; 3+ messages in thread
From: Luciogi @ 2023-10-22 10:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Luciogi/void-packages svgelements
https://github.com/void-linux/void-packages/pull/46825

New package: 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)


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

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

From 3d565c6ff9d66494a66a8da3e33c7eb04285610e Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Sun, 22 Oct 2023 15:17:35 +0500
Subject: [PATCH] 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] 3+ messages in thread

* Re: New package: python3-svgelements-1.9.6
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46825@inbox.vuxu.org>
  2023-10-22 10:32 ` [PR PATCH] [Updated] New package: python3-svgelements-1.9.6 Luciogi
@ 2023-10-25 17:18 ` Chocimier
  2023-10-25 17:18 ` [PR PATCH] [Closed]: " Chocimier
  2 siblings, 0 replies; 3+ messages in thread
From: Chocimier @ 2023-10-25 17:18 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/46825#issuecomment-1779723128

Comment:
Dependencies should go in different commit, same branch and PR as packages using them.

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

* Re: [PR PATCH] [Closed]: New package: python3-svgelements-1.9.6
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46825@inbox.vuxu.org>
  2023-10-22 10:32 ` [PR PATCH] [Updated] New package: python3-svgelements-1.9.6 Luciogi
  2023-10-25 17:18 ` Chocimier
@ 2023-10-25 17:18 ` Chocimier
  2 siblings, 0 replies; 3+ messages in thread
From: Chocimier @ 2023-10-25 17:18 UTC (permalink / raw)
  To: ml

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

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

New package: python3-svgelements-1.9.6
https://github.com/void-linux/void-packages/pull/46825

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)


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

end of thread, other threads:[~2023-10-25 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46825@inbox.vuxu.org>
2023-10-22 10:32 ` [PR PATCH] [Updated] New package: python3-svgelements-1.9.6 Luciogi
2023-10-25 17:18 ` Chocimier
2023-10-25 17:18 ` [PR PATCH] [Closed]: " Chocimier

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