Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] Python3 cairosvg
Date: Tue, 19 Jul 2022 07:49:05 +0200	[thread overview]
Message-ID: <20220719054905.Lv0l79SnplNKkRC-TDgSsbACxh2xCgrdPZiXSeJW9uQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38129@inbox.vuxu.org>

[-- 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

  parent reply	other threads:[~2022-07-19  5:49 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 13:53 [PR PATCH] " 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220719054905.Lv0l79SnplNKkRC-TDgSsbACxh2xCgrdPZiXSeJW9uQ@z \
    --to=eloitor@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).