* [PR PATCH] [WIP] Python3 cairosvg
@ 2022-07-18 13:53 Eloitor
2022-07-18 13:58 ` [PR PATCH] [Updated] " Eloitor
` (44 more replies)
0 siblings, 45 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 13:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1377 bytes --]
There is a new pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3588 bytes --]
From 4814cb3cec2d93aff037d065a31b03489bc6f008 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..64e1c225366f
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
From 841b38bac2a243b124dee214a90daebe944ee3f4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..e2b4e26ba121
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-module
+pycompile_module="tinycss2"
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
From f823a547e27c9f37944fd6e87afd1981cde4fbc6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..0feee8e91591
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
@ 2022-07-18 13:58 ` Eloitor
2022-07-18 14:02 ` Eloitor
` (43 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 13:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3604 bytes --]
From 4814cb3cec2d93aff037d065a31b03489bc6f008 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..64e1c225366f
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,14 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
From a6bb1ccb4f2d1a6cde980da5b94483209437d689 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..bf0045edd343
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 7c47acfe9aff394ff2a10ca43749cac16b268503 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..0feee8e91591
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
2022-07-18 13:58 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-18 14:02 ` Eloitor
2022-07-18 14:24 ` Eloitor
` (42 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 14:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3650 bytes --]
From c55ba5c5cb30ee3645a16e5248002d677fb72fa9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..a2769124cbd2
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 99c2306bbc0b576973f2b05cd3395c13de3ad921 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..bf0045edd343
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 691299390c634dd80bf14c83a178f993a51c2ffd Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..0feee8e91591
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
2022-07-18 13:58 ` [PR PATCH] [Updated] " Eloitor
2022-07-18 14:02 ` Eloitor
@ 2022-07-18 14:24 ` Eloitor
2022-07-18 14:25 ` Eloitor
` (41 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 14:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3763 bytes --]
From 0c82f7fd28b6edd08e1c4a00475dc927bf3bd2bf Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..eeb53d4062ef
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python python3-flit_core"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 15d58756e48afe3cbaeaba228050dd898086dbc5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 9d8870e83019649411b973e50557917a0b23dad4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..0feee8e91591
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (2 preceding siblings ...)
2022-07-18 14:24 ` Eloitor
@ 2022-07-18 14:25 ` Eloitor
2022-07-18 14:25 ` Eloitor
` (40 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 14:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1187566440
Comment:
I hcanged buildstyle to `python3-pep517` to solve the error.
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (3 preceding siblings ...)
2022-07-18 14:25 ` Eloitor
@ 2022-07-18 14:25 ` Eloitor
2022-07-18 14:28 ` [PR PATCH] [Updated] " Eloitor
` (39 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 14:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1187566440
Comment:
I changed buildstyle to `python3-pep517` to solve the error.
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (4 preceding siblings ...)
2022-07-18 14:25 ` Eloitor
@ 2022-07-18 14:28 ` Eloitor
2022-07-18 14:31 ` Eloitor
` (38 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 14:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3763 bytes --]
From 0c82f7fd28b6edd08e1c4a00475dc927bf3bd2bf Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..eeb53d4062ef
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python python3-flit_core"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 15d58756e48afe3cbaeaba228050dd898086dbc5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 594eaf8eb1bdc92a0bff5b8772376e00e56d4e4b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..68b742932ee1
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (5 preceding siblings ...)
2022-07-18 14:28 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-18 14:31 ` Eloitor
2022-07-18 19:06 ` [PR REVIEW] " paper42
` (37 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 14:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3775 bytes --]
From 0c82f7fd28b6edd08e1c4a00475dc927bf3bd2bf Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..eeb53d4062ef
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python python3-flit_core"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 15d58756e48afe3cbaeaba228050dd898086dbc5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From bc9d3b95989db41e6d484de5c4dae2b4adf40004 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..ab08fc5511c7
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (6 preceding siblings ...)
2022-07-18 14:31 ` Eloitor
@ 2022-07-18 19:06 ` paper42
2022-07-18 19:07 ` paper42
` (36 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: paper42 @ 2022-07-18 19:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923721824
Comment:
```suggestion
hostmakedepends="python3-setuptools"
```
and vsed out pytest-runner
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (7 preceding siblings ...)
2022-07-18 19:06 ` [PR REVIEW] " paper42
@ 2022-07-18 19:07 ` paper42
2022-07-18 19:59 ` Eloitor
` (35 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: paper42 @ 2022-07-18 19:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923722525
Comment:
python2? flit_core is usually only used for build. webencodings and tinycss2 is probably missing
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (8 preceding siblings ...)
2022-07-18 19:07 ` paper42
@ 2022-07-18 19:59 ` Eloitor
2022-07-18 20:04 ` [PR PATCH] [Updated] " Eloitor
` (34 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 19:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1188242197
Comment:
I wanted https://github.com/dccsillag/magma-nvim which requires [cairosvg](https://cairosvg.org/), and it might be useful for other packages in the future
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (9 preceding siblings ...)
2022-07-18 19:59 ` Eloitor
@ 2022-07-18 20:04 ` Eloitor
2022-07-18 20:06 ` [PR REVIEW] " Eloitor
` (33 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 20:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3764 bytes --]
From 28a2c4ce2e76dfa4a325848e0476c5d919c2a6d5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..4e78f8d6b1cd
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2 python3-flit_core"
+depends="python3"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From a2a264382bb446c28198654a29f82cbdd29970ac Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From db1ca38d8a58a78b450486b4124315d5aeaed525 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..68b742932ee1
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (10 preceding siblings ...)
2022-07-18 20:04 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-18 20:06 ` Eloitor
2022-07-18 20:10 ` paper42
` (32 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 20:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923810515
Comment:
What do you mean?
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (11 preceding siblings ...)
2022-07-18 20:06 ` [PR REVIEW] " Eloitor
@ 2022-07-18 20:10 ` paper42
2022-07-18 20:15 ` Eloitor
` (31 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: paper42 @ 2022-07-18 20:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923813291
Comment:
remove pip and try to build and run tests, you will see then
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (12 preceding siblings ...)
2022-07-18 20:10 ` paper42
@ 2022-07-18 20:15 ` Eloitor
2022-07-18 20:31 ` paper42
` (30 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 20:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923817100
Comment:
I saw this error: `/usr/bin/python3: No module named pip` and this is why I added python3-pip...
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (13 preceding siblings ...)
2022-07-18 20:15 ` Eloitor
@ 2022-07-18 20:31 ` paper42
2022-07-18 20:40 ` Eloitor
` (29 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: paper42 @ 2022-07-18 20:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 339 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923830613
Comment:
Because it fails to import a dependency, so it tries to download it with pip and fails, we need to include the dependency instead of using pip and producing a package with broken dependencies.
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (14 preceding siblings ...)
2022-07-18 20:31 ` paper42
@ 2022-07-18 20:40 ` Eloitor
2022-07-18 20:51 ` [PR PATCH] [Updated] " Eloitor
` (28 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 20:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923841851
Comment:
Ah okay, thank you! I will try to fix it
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (15 preceding siblings ...)
2022-07-18 20:40 ` Eloitor
@ 2022-07-18 20:51 ` Eloitor
2022-07-18 21:04 ` Eloitor
` (27 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 20:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3760 bytes --]
From b987ccadd850aea4aef8b9d6a27f69e653690798 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..c9cf0db79f0b
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From dddc40147d45eb80d89f3bdebc05c652f9190cd1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 122ef01366c451916217e52cc28464ac34e9c8ec Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..3e7451a32a88
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (16 preceding siblings ...)
2022-07-18 20:51 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-18 21:04 ` Eloitor
2022-07-18 21:06 ` [PR REVIEW] " Eloitor
` (26 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 21:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3847 bytes --]
From b987ccadd850aea4aef8b9d6a27f69e653690798 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..c9cf0db79f0b
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From dddc40147d45eb80d89f3bdebc05c652f9190cd1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From c957a5cd9e84530f9918e5b01bc701bb84ddf957 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..27c7f85ba416
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR REVIEW] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (17 preceding siblings ...)
2022-07-18 21:04 ` Eloitor
@ 2022-07-18 21:06 ` Eloitor
2022-07-19 5:30 ` [PR PATCH] [Updated] " Eloitor
` (25 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-18 21:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 359 bytes --]
New review comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#discussion_r923860438
Comment:
In the `setup.cfg` file I found this
```
tests_require =
pytest-cov
pytest-flake8
pytest-isort
pytest-runner
```
I added the first 2 as `checkdepends`, but I didn't find the other two in the repo.
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (18 preceding siblings ...)
2022-07-18 21:06 ` [PR REVIEW] " Eloitor
@ 2022-07-19 5:30 ` Eloitor
2022-07-19 5:33 ` Eloitor
` (24 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 5:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3868 bytes --]
From b987ccadd850aea4aef8b9d6a27f69e653690798 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..c9cf0db79f0b
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From dddc40147d45eb80d89f3bdebc05c652f9190cd1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From cf00bd1a12c36c1010c315004a3a3e318ff642a1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..e4c2bf9caed9
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (19 preceding siblings ...)
2022-07-19 5:30 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-19 5:33 ` Eloitor
2022-07-19 5:36 ` Eloitor
` (23 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 5:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3889 bytes --]
From 9bc8af6b8abfaf2086602148256ade61f91addbb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..fdaf26c91298
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core"
+depends="python3 python3-webencodings python3-tinycss2 python3-webencodings"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 022734b9dd2221a90d0e82f801da7844f10c4fe8 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From f8f52aef184b39ce95f38ca5e22b9abb5a4fd167 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..e4c2bf9caed9
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (20 preceding siblings ...)
2022-07-19 5:33 ` Eloitor
@ 2022-07-19 5:36 ` Eloitor
2022-07-19 5:40 ` Eloitor
` (22 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 5:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3910 bytes --]
From c3a18262602798d0202d489f203a262ce0be587f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..1a8cb49498f9
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+depends="python3 python3-webencodings python3-tinycss2 python3-webencodings"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 854189b483c1b382e2ac4b537fbb3f17f6e39f3a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From f3e240c51763c1fce6ad0a70bca045c0d36101cd Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..e4c2bf9caed9
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (21 preceding siblings ...)
2022-07-19 5:36 ` Eloitor
@ 2022-07-19 5:40 ` Eloitor
2022-07-19 5:43 ` Eloitor
` (21 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 5:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3927 bytes --]
From 09c246260d3204b1abe90c5720a98e95f6336d7d Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..404c7350cbb2
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+depends="python3 python3-webencodings python3-tinycss2 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 0b4f8b51df80e4906471b1445d8b9ab071f313f6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From f6e0ba2176bc10dcae86a2726119b1b828408563 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..e4c2bf9caed9
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (22 preceding siblings ...)
2022-07-19 5:40 ` Eloitor
@ 2022-07-19 5:43 ` Eloitor
2022-07-19 5:49 ` Eloitor
` (20 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 5:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3906 bytes --]
From ec7e8b298958286b4553156771053b23ac2d1300 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 4145dfeec09b6bde6a5122dd894878849f5f04eb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From ab6822725278a4502a0ce8e4d17e53ce5e33e515 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..e4c2bf9caed9
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (23 preceding siblings ...)
2022-07-19 5:43 ` Eloitor
@ 2022-07-19 5:49 ` Eloitor
2022-07-19 6:39 ` Eloitor
` (19 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 5:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 3963 bytes --]
From ec7e8b298958286b4553156771053b23ac2d1300 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 4145dfeec09b6bde6a5122dd894878849f5f04eb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From cb6c22bda7c8f4faa142d6805bbb2486554f5f3e Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..b5f3444938ce
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (24 preceding siblings ...)
2022-07-19 5:49 ` Eloitor
@ 2022-07-19 6:39 ` Eloitor
2022-07-19 6:42 ` Eloitor
` (18 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 6:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 4000 bytes --]
From ec7e8b298958286b4553156771053b23ac2d1300 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 4145dfeec09b6bde6a5122dd894878849f5f04eb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From ca6080f9ac0dc9217e9a4b13ea3ea53e6f233437 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (25 preceding siblings ...)
2022-07-19 6:39 ` Eloitor
@ 2022-07-19 6:42 ` Eloitor
2022-07-19 9:56 ` paper42
` (17 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 6:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 458 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1188662101
Comment:
Now `python3-tinycss2` and `python3-cssselect2` build fine. I have a problem with the `do_build` phase of `CairoSVG`. I don't know which other dependency is needed, and the error message is not clear to me.
I added all the dependencies listed here: https://github.com/Kozea/CairoSVG/blob/master/setup.cfg#L47-L51
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (26 preceding siblings ...)
2022-07-19 6:42 ` Eloitor
@ 2022-07-19 9:56 ` paper42
2022-07-19 10:35 ` [PR PATCH] [Updated] " Eloitor
` (16 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: paper42 @ 2022-07-19 9:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1188850234
Comment:
```
distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpwalrv7g0', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
```
pytest-runner is missing, but we don't need it, patch it out
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (27 preceding siblings ...)
2022-07-19 9:56 ` paper42
@ 2022-07-19 10:35 ` Eloitor
2022-07-19 10:36 ` Eloitor
` (15 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 10:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 4917 bytes --]
From ec7e8b298958286b4553156771053b23ac2d1300 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 4145dfeec09b6bde6a5122dd894878849f5f04eb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From fc812683f4746c213f802ee506e34821e0694926 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 25 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 ++++++++++++
2 files changed, 41 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..b277ceb7d257
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,25 @@
+diff --git a/setup.cfg b/setup.cfg
+index 463cf5f..7864c6b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -53,7 +52,6 @@ tests_require =
+ pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +66,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (28 preceding siblings ...)
2022-07-19 10:35 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-19 10:36 ` Eloitor
2022-07-19 10:44 ` [PR PATCH] [Updated] " Eloitor
` (14 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 10:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 627 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1188891131
Comment:
Do you mean this?
> ```
> distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpwalrv7g0', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
> ```
>
> pytest-runner is missing, but we don't need it, patch it out
Do you mean this? https://github.com/void-linux/void-packages/blob/fc812683f4746c213f802ee506e34821e0694926/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (29 preceding siblings ...)
2022-07-19 10:36 ` Eloitor
@ 2022-07-19 10:44 ` Eloitor
2022-07-19 10:46 ` Eloitor
` (13 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 10:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 4882 bytes --]
From ec7e8b298958286b4553156771053b23ac2d1300 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 4145dfeec09b6bde6a5122dd894878849f5f04eb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From ae10e469ce93315f9de34e6c02131daa768e6f4a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 24 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 +++++++++++++
2 files changed, 40 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..315c872dc5ac
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,24 @@
+index 463cf5f..7864c6b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -53,7 +52,6 @@ tests_require =
+ pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +66,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (30 preceding siblings ...)
2022-07-19 10:44 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-19 10:46 ` Eloitor
2022-07-19 10:49 ` [PR PATCH] [Updated] " Eloitor
` (12 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 10:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1188891131
Comment:
Do you mean this?
> ```
> distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpwalrv7g0', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
> ```
>
> pytest-runner is missing, but we don't need it, patch it out
Do you mean this? https://github.com/void-linux/void-packages/pull/38129/files#diff-58a4292ebac2e7dfb7098c2676ccb42beb1cf18f2d0fb8ff3f94bdf4bd001ac5
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (31 preceding siblings ...)
2022-07-19 10:46 ` Eloitor
@ 2022-07-19 10:49 ` Eloitor
2022-07-19 10:50 ` Eloitor
` (11 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 10:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 4851 bytes --]
From ec7e8b298958286b4553156771053b23ac2d1300 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 4145dfeec09b6bde6a5122dd894878849f5f04eb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 129138080be6845289b5f9702ef6e0640f731d70 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 23 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 +++++++++++++
2 files changed, 39 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..942eba98afb2
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,23 @@
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -53,7 +52,6 @@ tests_require =
+ pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +66,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (32 preceding siblings ...)
2022-07-19 10:49 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-19 10:50 ` Eloitor
2022-07-19 16:47 ` paper42
` (10 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-19 10:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1188891131
Comment:
Do you mean this?
> ```
> distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpwalrv7g0', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
> ```
>
> pytest-runner is missing, but we don't need it, patch it out
Do you mean this? https://github.com/void-linux/void-packages/pull/38129/files#diff-58a4292ebac2e7dfb7098c2676ccb42beb1cf18f2d0fb8ff3f94bdf4bd001ac5
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (33 preceding siblings ...)
2022-07-19 10:50 ` Eloitor
@ 2022-07-19 16:47 ` paper42
2022-07-20 5:18 ` [PR PATCH] [Updated] " Eloitor
` (9 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: paper42 @ 2022-07-19 16:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1189323825
Comment:
> Do you mean this?
>
> > ```
> > distutils.errors.DistutilsError: Command '['/usr/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpwalrv7g0', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > pytest-runner is missing, but we don't need it, patch it out
>
> Do you mean this? [#38129 (files)](https://github.com/void-linux/void-packages/pull/38129/files#diff-58a4292ebac2e7dfb7098c2676ccb42beb1cf18f2d0fb8ff3f94bdf4bd001ac5)
something like that, but the patch has to apply
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (34 preceding siblings ...)
2022-07-19 16:47 ` paper42
@ 2022-07-20 5:18 ` Eloitor
2022-07-20 5:35 ` Eloitor
` (8 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-20 5:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 4965 bytes --]
From f5cb0013d999a10e3d0748ea62fc83e7e0ca57c9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 442e5f11b9aa8656bbb4b59fdbcdde172d3c6f20 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From e343c364c232d190797aa85fce9a9dc07750dd5f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 28 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 +++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..d325f1838add
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,28 @@
+diff --git a/setup.cfg b/setup.cfg
+index 463cf5f..7864c6b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -53,7 +52,6 @@ tests_require =
+ pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +66,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
+ pytest-cov
+ pytest-flake8
+ pytest-isort
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (35 preceding siblings ...)
2022-07-20 5:18 ` [PR PATCH] [Updated] " Eloitor
@ 2022-07-20 5:35 ` Eloitor
2022-07-20 5:44 ` Eloitor
` (7 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-20 5:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 4966 bytes --]
From f5cb0013d999a10e3d0748ea62fc83e7e0ca57c9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 442e5f11b9aa8656bbb4b59fdbcdde172d3c6f20 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 88fcc45a41614688fe64144cb10736027ddf42b2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 28 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 +++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..3b449bdc1111
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,28 @@
+diff --git a/setup.cfg b/setup.cfg
+index 463cf5f..7864c6b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -53,7 +52,6 @@ tests_require =
+ pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +66,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
+ pytest-cov
+ pytest-flake8
+ pytest-isort
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (36 preceding siblings ...)
2022-07-20 5:35 ` Eloitor
@ 2022-07-20 5:44 ` Eloitor
2022-07-20 5:44 ` Eloitor
` (6 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-20 5:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 701 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1189853171
Comment:
I'm sorry, I don't know how to properly create the patch, what I did was:
```
cd ~/repos
git clone https://github.com/Kozea/CairoSVG
cd CairoSVG
# I removed the lines containing pytest-runner
git diff > pytest-runner.patch
```
When running `./xbps-src patch python3-CairoSVG` I get the error
```
=> python3-CairoSVG-2.5.2_1: patching: pytest-runner.patch.
3 out of 3 hunks FAILED -- saving rejects to file setup.cfg.rej
=> ERROR: python3-CairoSVG-2.5.2_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1
```
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (37 preceding siblings ...)
2022-07-20 5:44 ` Eloitor
@ 2022-07-20 5:44 ` Eloitor
2022-08-01 6:27 ` [PR PATCH] [Updated] " Eloitor
` (5 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-07-20 5:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 706 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1189853171
Comment:
I'm sorry, I don't know how to properly create the patch, what I did was:
``` bash
cd ~/repos
git clone https://github.com/Kozea/CairoSVG
cd CairoSVG
# I removed the lines containing pytest-runner
git diff > pytest-runner.patch
```
When running `./xbps-src patch python3-CairoSVG` I get the error
```
=> python3-CairoSVG-2.5.2_1: patching: pytest-runner.patch.
3 out of 3 hunks FAILED -- saving rejects to file setup.cfg.rej
=> ERROR: python3-CairoSVG-2.5.2_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1
```
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (38 preceding siblings ...)
2022-07-20 5:44 ` Eloitor
@ 2022-08-01 6:27 ` Eloitor
2022-08-01 6:29 ` Eloitor
` (4 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-08-01 6:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 5000 bytes --]
From f5cb0013d999a10e3d0748ea62fc83e7e0ca57c9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 442e5f11b9aa8656bbb4b59fdbcdde172d3c6f20 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From c26c082ca8cf63ebae54e124da799e996e6cf436 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 31 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 ++++++++++
2 files changed, 47 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..238d2d8cbbbf
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,31 @@
+diff --git a/setup.cfg b/setup.cfg
+index a18eda7..f84758d 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -50,10 +49,8 @@ install_requires =
+ pillow
+ tinycss2
+ tests_require =
+- pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +65,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
+ pytest-cov
+ pytest-flake8
+ pytest-isort
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (39 preceding siblings ...)
2022-08-01 6:27 ` [PR PATCH] [Updated] " Eloitor
@ 2022-08-01 6:29 ` Eloitor
2022-08-01 7:20 ` Eloitor
` (3 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-08-01 6:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 5000 bytes --]
From f998400825b0d59b5e08701b63c973fcab3f5d96 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 1/3] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From 0534bf678e3e6025f4b57269981fc8c0c4187c69 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 2/3] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From f64ae9137426e92069bcecfc74c87fca2547b23f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 3/3] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 31 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 ++++++++++
2 files changed, 47 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..238d2d8cbbbf
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,31 @@
+diff --git a/setup.cfg b/setup.cfg
+index a18eda7..f84758d 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -50,10 +49,8 @@ install_requires =
+ pillow
+ tinycss2
+ tests_require =
+- pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +65,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
+ pytest-cov
+ pytest-flake8
+ pytest-isort
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..deebdeff6efa
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (40 preceding siblings ...)
2022-08-01 6:29 ` Eloitor
@ 2022-08-01 7:20 ` Eloitor
2022-08-01 7:22 ` Eloitor
` (2 subsequent siblings)
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-08-01 7:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 6336 bytes --]
From 7861eeb05ce314caf9e18568d8f3d45aa666e5d0 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 1 Aug 2022 09:17:30 +0200
Subject: [PATCH 1/4] New package: python3-pytest-isort-3.0.0
---
srcpkgs/python3-pytest-isort/template | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 srcpkgs/python3-pytest-isort/template
diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..9388aeb14b93
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.0.0
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest python3-isort"
+checkdepends="python3-pytest python3-wheel"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/blob/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-isort/pytest-isort-${version}.tar.gz"
+checksum=4fe4b26ead2af776730ec23f5870d7421f35aace22a41c4e938586ef4d8787cb
From 86cadf0f94f0e4c4ac3e2189bc246aea3e89e816 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 2/4] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From cfbf70de4e8bc814e5cdfed75e3dbdc2cfbadbd4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 3/4] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From 3221b0d58b426c77e49d52cfa56bce287663d2a2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 4/4] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 31 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 ++++++++++
2 files changed, 47 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..238d2d8cbbbf
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,31 @@
+diff --git a/setup.cfg b/setup.cfg
+index a18eda7..f84758d 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -50,10 +49,8 @@ install_requires =
+ pillow
+ tinycss2
+ tests_require =
+- pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +65,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
+ pytest-cov
+ pytest-flake8
+ pytest-isort
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..9295fb6d1e7f
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-pytest-isort python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (41 preceding siblings ...)
2022-08-01 7:20 ` Eloitor
@ 2022-08-01 7:22 ` Eloitor
2022-08-01 7:28 ` Eloitor
2022-09-23 21:51 ` [PR PATCH] [Closed]: " Eloitor
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-08-01 7:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages python3-cairosvg
https://github.com/void-linux/void-packages/pull/38129
[WIP] Python3 cairosvg
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
A patch file from https://github.com/void-linux/void-packages/pull/38129.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-cairosvg-38129.patch --]
[-- Type: text/x-diff, Size: 6382 bytes --]
From 798c4fb3973e31a17e768499816c6c82694fb39a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 1 Aug 2022 09:17:30 +0200
Subject: [PATCH 1/4] New package: python3-pytest-isort-3.0.0
---
srcpkgs/python3-pytest-isort/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-pytest-isort/template
diff --git a/srcpkgs/python3-pytest-isort/template b/srcpkgs/python3-pytest-isort/template
new file mode 100644
index 000000000000..d5cb0c1ee707
--- /dev/null
+++ b/srcpkgs/python3-pytest-isort/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-pytest-isort'
+pkgname=python3-pytest-isort
+version=3.0.0
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest python3-isort"
+checkdepends="python3-pytest python3-wheel"
+short_desc="Pytest plugin to check import ordering using isort"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-isort"
+changelog="https://github.com/stephrdev/pytest-isort/blob/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-isort/pytest-isort-${version}.tar.gz"
+checksum=4fe4b26ead2af776730ec23f5870d7421f35aace22a41c4e938586ef4d8787cb
+
+post_install() {
+ vlicense LICENSE
+}
From d9b23df9d1e9921c95e6eb648d9440b74d4d35df Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:50:23 +0200
Subject: [PATCH 2/4] New package: python3-cssselect2-0.6.0
---
srcpkgs/python3-cssselect2/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/python3-cssselect2/template
diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template
new file mode 100644
index 000000000000..0ceb08503f3a
--- /dev/null
+++ b/srcpkgs/python3-cssselect2/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-cssselect2'
+pkgname=python3-cssselect2
+version=0.6.0
+revision=1
+wrksrc="cssselect2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings python3-tinycss2"
+depends="python3 python3-webencodings python3-tinycss2"
+short_desc="CSS selectors for Python2 ElementTree"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://cssselect2.readthedocs.io/"
+distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz"
+checksum=5b5d6dea81a5eb0c9ca39f116c8578dd413778060c94c1f51196371618909325
+
+post_install() {
+ vlicense LICENSE
+}
From bb93c11bd59db6c1702b6c4435b61292cc19e8e5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:55:14 +0200
Subject: [PATCH 3/4] New package: python3-tinycss2-1.1.1
---
srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/python3-tinycss2/template
diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template
new file mode 100644
index 000000000000..976c1d860d87
--- /dev/null
+++ b/srcpkgs/python3-tinycss2/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-tinycss2'
+pkgname=python3-tinycss2
+version=1.1.1
+revision=1
+wrksrc="tinycss2-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-flit_core python3-webencodings"
+makedepends="python3-devel"
+depends="python3-webencodings"
+short_desc="Complete yet simple CSS parser for Python"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://tinycss2.readthedocs.io/en/latest/"
+changelog="https://doc.courtbouillon.org/tinycss2/latest/changelog.html"
+distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz"
+checksum=b2e44dd8883c360c35dd0d1b5aad0b610e5156c2cb3b33434634e539ead9d8bf
+
+post_install() {
+ vlicense LICENSE
+}
From fbed652a8a0246ee3d0ca3f01798236378600cd6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 18 Jul 2022 15:56:18 +0200
Subject: [PATCH 4/4] New package: python3-CairoSVG-2.5.2
---
.../patches/pytest-runner.patch | 31 +++++++++++++++++++
srcpkgs/python3-CairoSVG/template | 16 ++++++++++
2 files changed, 47 insertions(+)
create mode 100644 srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
create mode 100644 srcpkgs/python3-CairoSVG/template
diff --git a/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
new file mode 100644
index 000000000000..238d2d8cbbbf
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/patches/pytest-runner.patch
@@ -0,0 +1,31 @@
+diff --git a/setup.cfg b/setup.cfg
+index a18eda7..f84758d 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -41,7 +41,6 @@ project_urls =
+ [options]
+ packages = cairosvg
+ setup_requires =
+- pytest-runner
+ setuptools
+ install_requires =
+ cairocffi
+@@ -50,10 +49,8 @@ install_requires =
+ pillow
+ tinycss2
+ tests_require =
+- pytest-cov
+ pytest-flake8
+ pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.entry_points]
+@@ -68,7 +65,6 @@ doc =
+ sphinx
+ sphinx_rtd_theme
+ test =
+- pytest-runner
+ pytest-cov
+ pytest-flake8
+ pytest-isort
diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template
new file mode 100644
index 000000000000..9295fb6d1e7f
--- /dev/null
+++ b/srcpkgs/python3-CairoSVG/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-CairoSVG'
+pkgname=python3-CairoSVG
+version=2.5.2
+revision=1
+wrksrc="${pkgname#*-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-webencodings python3-cssselect2 python3-tinycss2 python3-cairocffi python3-defusedxml"
+depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2 python3-wheel python3-webencodings"
+checkdepends="python3-pytest python3-pytest-cov python3-pytest-flake8 python3-pytest-isort python3-wheel"
+short_desc="Simple SVG Converter based on Cairo"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="LGPL-3.0-or-later"
+homepage="https://cairosvg.org/"
+changelog="https://github.com/Kozea/CairoSVG/blob/master/NEWS.rst"
+distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz"
+checksum=b0b9929cf5dba005178d746a8036fcf0025550f498ca54db61873322384783bc
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (42 preceding siblings ...)
2022-08-01 7:22 ` Eloitor
@ 2022-08-01 7:28 ` Eloitor
2022-09-23 21:51 ` [PR PATCH] [Closed]: " Eloitor
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-08-01 7:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 714 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/38129#issuecomment-1200821336
Comment:
I was trying to patch the master branch of the project instead of the last release.
After that it failed because python3-pytest-isort was missing, so I tried to add a template for it.
The error of pytest-isort is:
```
============================ no tests ran in 0.01s =============================
=> ERROR: python3-pytest-isort-3.0.0_1: do_check: 'PYTHONPATH="$(cd build/lib* && pwd)" ${make_check_pre} python3 -m pytest ${testjobs} ${make_check_args} ${make_check_target}' exited with 5
=> ERROR: in do_check() at common/build-style/python3-module.sh:32
```
^ permalink raw reply [flat|nested] 46+ messages in thread
* Re: [PR PATCH] [Closed]: [WIP] Python3 cairosvg
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
` (43 preceding siblings ...)
2022-08-01 7:28 ` Eloitor
@ 2022-09-23 21:51 ` Eloitor
44 siblings, 0 replies; 46+ messages in thread
From: Eloitor @ 2022-09-23 21:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]
There's a closed pull request on the void-packages repository
[WIP] Python3 cairosvg
https://github.com/void-linux/void-packages/pull/38129
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### 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 add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
I don't know what to do to solve this error:
```
python3: can't open file '/builddir/cssselect2-0.6.0/setup.py': [Errno 2] No such file or directory
```
^ permalink raw reply [flat|nested] 46+ messages in thread
end of thread, other threads:[~2022-09-23 21:51 UTC | newest]
Thread overview: 46+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-18 13:53 [PR PATCH] [WIP] Python3 cairosvg Eloitor
2022-07-18 13:58 ` [PR PATCH] [Updated] " Eloitor
2022-07-18 14:02 ` Eloitor
2022-07-18 14:24 ` Eloitor
2022-07-18 14:25 ` Eloitor
2022-07-18 14:25 ` Eloitor
2022-07-18 14:28 ` [PR PATCH] [Updated] " Eloitor
2022-07-18 14:31 ` Eloitor
2022-07-18 19:06 ` [PR REVIEW] " paper42
2022-07-18 19:07 ` paper42
2022-07-18 19:59 ` Eloitor
2022-07-18 20:04 ` [PR PATCH] [Updated] " Eloitor
2022-07-18 20:06 ` [PR REVIEW] " Eloitor
2022-07-18 20:10 ` paper42
2022-07-18 20:15 ` Eloitor
2022-07-18 20:31 ` paper42
2022-07-18 20:40 ` Eloitor
2022-07-18 20:51 ` [PR PATCH] [Updated] " Eloitor
2022-07-18 21:04 ` Eloitor
2022-07-18 21:06 ` [PR REVIEW] " Eloitor
2022-07-19 5:30 ` [PR PATCH] [Updated] " Eloitor
2022-07-19 5:33 ` Eloitor
2022-07-19 5:36 ` Eloitor
2022-07-19 5:40 ` Eloitor
2022-07-19 5:43 ` Eloitor
2022-07-19 5:49 ` Eloitor
2022-07-19 6:39 ` Eloitor
2022-07-19 6:42 ` Eloitor
2022-07-19 9:56 ` paper42
2022-07-19 10:35 ` [PR PATCH] [Updated] " Eloitor
2022-07-19 10:36 ` Eloitor
2022-07-19 10:44 ` [PR PATCH] [Updated] " Eloitor
2022-07-19 10:46 ` Eloitor
2022-07-19 10:49 ` [PR PATCH] [Updated] " Eloitor
2022-07-19 10:50 ` Eloitor
2022-07-19 16:47 ` paper42
2022-07-20 5:18 ` [PR PATCH] [Updated] " Eloitor
2022-07-20 5:35 ` Eloitor
2022-07-20 5:44 ` Eloitor
2022-07-20 5:44 ` Eloitor
2022-08-01 6:27 ` [PR PATCH] [Updated] " Eloitor
2022-08-01 6:29 ` Eloitor
2022-08-01 7:20 ` Eloitor
2022-08-01 7:22 ` Eloitor
2022-08-01 7:28 ` Eloitor
2022-09-23 21:51 ` [PR PATCH] [Closed]: " Eloitor
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).