Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python3-life-line-chart-1.7.5
@ 2022-03-04  8:50 mustaqimM
  2022-03-04 17:35 ` [PR PATCH] [Updated] " mustaqimM
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mustaqimM @ 2022-03-04  8:50 UTC (permalink / raw)
  To: ml

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

There is a new pull request by mustaqimM against master on the void-packages repository

https://github.com/mustaqimM/void-packages new_package_life-line-chart
https://github.com/void-linux/void-packages/pull/35959

New package: python3-life-line-chart-1.7.5
<!-- Uncomment relevant sections and delete options which are not applicable -->

This is required for an addon in Gramps, there isn't much use for it outside of this, so I don't know if it should be merged or not.

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- [X] I built this PR locally for my native architecture, `x86_64 libc`
<!--
- 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/35959.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_package_life-line-chart-35959.patch --]
[-- Type: text/x-diff, Size: 4468 bytes --]

From f30a199d36628024e60886df10a98548c7fdafb4 Mon Sep 17 00:00:00 2001
From: mustaqim <git@mustaqim.ml>
Date: Fri, 4 Mar 2022 10:27:55 +0200
Subject: [PATCH] New package: python3-life-line-chart-1.7.5

---
 srcpkgs/python3-life-line-chart/files/LICENSE | 21 +++++++++++++++++++
 .../patches/fix_collections_import.patch      | 14 +++++++++++++
 srcpkgs/python3-life-line-chart/template      | 18 ++++++++++++++++
 srcpkgs/python3-svgwrite/template             | 17 +++++++++++++++
 4 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/python3-life-line-chart/files/LICENSE
 create mode 100644 srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch
 create mode 100644 srcpkgs/python3-life-line-chart/template
 create mode 100644 srcpkgs/python3-svgwrite/template

diff --git a/srcpkgs/python3-life-line-chart/files/LICENSE b/srcpkgs/python3-life-line-chart/files/LICENSE
new file mode 100644
index 000000000000..b214362a3855
--- /dev/null
+++ b/srcpkgs/python3-life-line-chart/files/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 CWSchulze
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch b/srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch
new file mode 100644
index 000000000000..573f3627a772
--- /dev/null
+++ b/srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch
@@ -0,0 +1,14 @@
+diff --git a/life_line_chart/SimpleSVGItems.py b/life_line_chart/SimpleSVGItems.py
+index 09d5ede..7e2cb44 100644
+--- a/life_line_chart/SimpleSVGItems.py
++++ b/life_line_chart/SimpleSVGItems.py
+@@ -1,4 +1,8 @@
+-from collections import MutableSequence
++try:
++    from collections.abc import MutableSequence
++except ImportError:
++    # Required for python versions < 3.9
++    from collections import MutableSequence
+ 
+ 
+ class Line(object):
diff --git a/srcpkgs/python3-life-line-chart/template b/srcpkgs/python3-life-line-chart/template
new file mode 100644
index 000000000000..b722628111d1
--- /dev/null
+++ b/srcpkgs/python3-life-line-chart/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-life-line-chart'
+pkgname=python3-life-line-chart
+version=1.7.5
+revision=1
+wrksrc="life_line_chart-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-svgwrite"
+short_desc="Generate ancestor (genealogy) chart"
+maintainer="mustaqim <git@mustaqim.ml>"
+license="MIT"
+homepage="https://github.com/CWSchulze/life_line_chart"
+distfiles="${PYPI_SITE}/l/life_line_chart/life_line_chart-${version}.tar.gz"
+checksum=cc3a159abfbec75f5c1ac1f959289ec77729c968ae143517906b0e9b3b932a4c
+
+post_install() {
+	vlicense ${FILESDIR}/LICENSE
+}
diff --git a/srcpkgs/python3-svgwrite/template b/srcpkgs/python3-svgwrite/template
new file mode 100644
index 000000000000..471e6b1aa00b
--- /dev/null
+++ b/srcpkgs/python3-svgwrite/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-svgwrite'
+pkgname=python3-svgwrite
+version=1.4.1
+revision=1
+wrksrc="svgwrite-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python package to write SVG files"
+maintainer="mustaqim <git@mustaqim.ml>"
+license="custom:Manfred Moitzi"
+homepage="https://github.com/mozman/svgwrite"
+distfiles="${PYPI_SITE}/s/svgwrite/svgwrite-${version}.zip"
+checksum=e220a4bf189e7e214a55e8a11421d152b5b6fb1dd660c86a8b6b61fe8cc2ac48
+
+post_install() {
+	vlicense LICENSE.TXT
+}

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

* Re: [PR PATCH] [Updated] New package: python3-life-line-chart-1.7.5
  2022-03-04  8:50 [PR PATCH] New package: python3-life-line-chart-1.7.5 mustaqimM
@ 2022-03-04 17:35 ` mustaqimM
  2022-09-02  2:16 ` github-actions
  2022-09-17  2:14 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: mustaqimM @ 2022-03-04 17:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mustaqimM/void-packages new_package_life-line-chart
https://github.com/void-linux/void-packages/pull/35959

New package: python3-life-line-chart-1.7.5
<!-- Uncomment relevant sections and delete options which are not applicable -->

This is required for an addon in Gramps, there isn't much use for it outside of this, so I don't know if it should be merged or not.

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- [X] I built this PR locally for my native architecture, `x86_64 libc`
<!--
- 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/35959.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_package_life-line-chart-35959.patch --]
[-- Type: text/x-diff, Size: 4468 bytes --]

From e690187cf96556f65a5339bc2c5b9874c9c1f010 Mon Sep 17 00:00:00 2001
From: mustaqim <git@mustaqim.ml>
Date: Fri, 4 Mar 2022 10:27:55 +0200
Subject: [PATCH] New package: python3-life-line-chart-1.7.5

---
 srcpkgs/python3-life-line-chart/files/LICENSE | 21 +++++++++++++++++++
 .../patches/fix_collections_import.patch      | 14 +++++++++++++
 srcpkgs/python3-life-line-chart/template      | 18 ++++++++++++++++
 srcpkgs/python3-svgwrite/template             | 17 +++++++++++++++
 4 files changed, 70 insertions(+)
 create mode 100644 srcpkgs/python3-life-line-chart/files/LICENSE
 create mode 100644 srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch
 create mode 100644 srcpkgs/python3-life-line-chart/template
 create mode 100644 srcpkgs/python3-svgwrite/template

diff --git a/srcpkgs/python3-life-line-chart/files/LICENSE b/srcpkgs/python3-life-line-chart/files/LICENSE
new file mode 100644
index 000000000000..b214362a3855
--- /dev/null
+++ b/srcpkgs/python3-life-line-chart/files/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 CWSchulze
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch b/srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch
new file mode 100644
index 000000000000..573f3627a772
--- /dev/null
+++ b/srcpkgs/python3-life-line-chart/patches/fix_collections_import.patch
@@ -0,0 +1,14 @@
+diff --git a/life_line_chart/SimpleSVGItems.py b/life_line_chart/SimpleSVGItems.py
+index 09d5ede..7e2cb44 100644
+--- a/life_line_chart/SimpleSVGItems.py
++++ b/life_line_chart/SimpleSVGItems.py
+@@ -1,4 +1,8 @@
+-from collections import MutableSequence
++try:
++    from collections.abc import MutableSequence
++except ImportError:
++    # Required for python versions < 3.9
++    from collections import MutableSequence
+ 
+ 
+ class Line(object):
diff --git a/srcpkgs/python3-life-line-chart/template b/srcpkgs/python3-life-line-chart/template
new file mode 100644
index 000000000000..b722628111d1
--- /dev/null
+++ b/srcpkgs/python3-life-line-chart/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-life-line-chart'
+pkgname=python3-life-line-chart
+version=1.7.5
+revision=1
+wrksrc="life_line_chart-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-svgwrite"
+short_desc="Generate ancestor (genealogy) chart"
+maintainer="mustaqim <git@mustaqim.ml>"
+license="MIT"
+homepage="https://github.com/CWSchulze/life_line_chart"
+distfiles="${PYPI_SITE}/l/life_line_chart/life_line_chart-${version}.tar.gz"
+checksum=cc3a159abfbec75f5c1ac1f959289ec77729c968ae143517906b0e9b3b932a4c
+
+post_install() {
+	vlicense ${FILESDIR}/LICENSE
+}
diff --git a/srcpkgs/python3-svgwrite/template b/srcpkgs/python3-svgwrite/template
new file mode 100644
index 000000000000..471e6b1aa00b
--- /dev/null
+++ b/srcpkgs/python3-svgwrite/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-svgwrite'
+pkgname=python3-svgwrite
+version=1.4.1
+revision=1
+wrksrc="svgwrite-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Python package to write SVG files"
+maintainer="mustaqim <git@mustaqim.ml>"
+license="custom:Manfred Moitzi"
+homepage="https://github.com/mozman/svgwrite"
+distfiles="${PYPI_SITE}/s/svgwrite/svgwrite-${version}.zip"
+checksum=e220a4bf189e7e214a55e8a11421d152b5b6fb1dd660c86a8b6b61fe8cc2ac48
+
+post_install() {
+	vlicense LICENSE.TXT
+}

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

* Re: New package: python3-life-line-chart-1.7.5
  2022-03-04  8:50 [PR PATCH] New package: python3-life-line-chart-1.7.5 mustaqimM
  2022-03-04 17:35 ` [PR PATCH] [Updated] " mustaqimM
@ 2022-09-02  2:16 ` github-actions
  2022-09-17  2:14 ` [PR PATCH] [Closed]: " github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-09-02  2:16 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/35959#issuecomment-1234990882

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: New package: python3-life-line-chart-1.7.5
  2022-03-04  8:50 [PR PATCH] New package: python3-life-line-chart-1.7.5 mustaqimM
  2022-03-04 17:35 ` [PR PATCH] [Updated] " mustaqimM
  2022-09-02  2:16 ` github-actions
@ 2022-09-17  2:14 ` github-actions
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2022-09-17  2:14 UTC (permalink / raw)
  To: ml

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

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

New package: python3-life-line-chart-1.7.5
https://github.com/void-linux/void-packages/pull/35959

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

This is required for an addon in Gramps, there isn't much use for it outside of this, so I don't know if it should be merged or not.

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- [X] I built this PR locally for my native architecture, `x86_64 libc`
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2022-09-17  2:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04  8:50 [PR PATCH] New package: python3-life-line-chart-1.7.5 mustaqimM
2022-03-04 17:35 ` [PR PATCH] [Updated] " mustaqimM
2022-09-02  2:16 ` github-actions
2022-09-17  2:14 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).