* Re: [PR PATCH] [Updated] python3-rich: update dependencies
2023-02-01 12:08 [PR PATCH] python3-rich: update dependencies jcgruenhage
2023-02-01 12:56 ` [PR REVIEW] " sgn
@ 2023-02-01 14:08 ` jcgruenhage
2023-02-01 14:58 ` [PR PATCH] [Merged]: " sgn
2 siblings, 0 replies; 4+ messages in thread
From: jcgruenhage @ 2023-02-01 14:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2575 bytes --]
There is an updated pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages python3-rich-13.3.1_2
https://github.com/void-linux/void-packages/pull/42011
python3-rich: update dependencies
- New package: python3-mdurl-0.1.2
- New package: python3-markdown-it-2.1.0
- python3-rich: update dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
I ran into a problem with this today:
```
Traceback (most recent call last):
File "/usr/bin/ansible-lint", line 5, in <module>
from ansiblelint.__main__ import _run_cli_entrypoint
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 40, in <module>
from ansiblelint import cli
File "/usr/lib/python3.11/site-packages/ansiblelint/cli.py", line 26, in <module>
from ansiblelint.yaml_utils import clean_json
File "/usr/lib/python3.11/site-packages/ansiblelint/yaml_utils.py", line 44, in <module>
from ansiblelint.utils import get_action_tasks, normalize_task
File "/usr/lib/python3.11/site-packages/ansiblelint/utils.py", line 56, in <module>
from ansiblelint.app import get_app
File "/usr/lib/python3.11/site-packages/ansiblelint/app.py", line 16, in <module>
from ansiblelint.color import console, console_stderr, render_yaml
File "/usr/lib/python3.11/site-packages/ansiblelint/color.py", line 7, in <module>
import rich.markdown
File "/usr/lib/python3.11/site-packages/rich/markdown.py", line 5, in <module>
from markdown_it import MarkdownIt
ModuleNotFoundError: No module named 'markdown_it'
```
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- 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
-->
A patch file from https://github.com/void-linux/void-packages/pull/42011.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-rich-13.3.1_2-42011.patch --]
[-- Type: text/x-diff, Size: 3634 bytes --]
From ebd549ce872fb34263bd7908bca6864f532b7898 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 1 Feb 2023 13:03:52 +0100
Subject: [PATCH 1/3] New package: python3-mdurl-0.1.2
---
srcpkgs/python3-mdurl/template | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 srcpkgs/python3-mdurl/template
diff --git a/srcpkgs/python3-mdurl/template b/srcpkgs/python3-mdurl/template
new file mode 100644
index 000000000000..7ee46dbd91a8
--- /dev/null
+++ b/srcpkgs/python3-mdurl/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-mdurl'
+pkgname=python3-mdurl
+version=0.1.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3"
+short_desc="Python port of the JavaScript mdurl package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/executablebooks/mdurl"
+distfiles="${PYPI_SITE}/m/mdurl/mdurl-${version}.tar.gz"
+checksum=bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
+# Tests not shipped in PYPI tarball
+make_check=no
+
+post_install() {
+ vlicense LICENSE
+}
From 43dc4f23c45863de5295f694df41547a237e58a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 1 Feb 2023 13:04:00 +0100
Subject: [PATCH 2/3] New package: python3-markdown-it-2.1.0
---
srcpkgs/python3-markdown-it/template | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 srcpkgs/python3-markdown-it/template
diff --git a/srcpkgs/python3-markdown-it/template b/srcpkgs/python3-markdown-it/template
new file mode 100644
index 000000000000..40104b64dd37
--- /dev/null
+++ b/srcpkgs/python3-markdown-it/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-markdown-it'
+pkgname=python3-markdown-it
+version=2.1.0
+revision=1
+build_style=python3-pep517
+make_install_target="dist/markdown_it_py-${version}-*-*-*.whl"
+hostmakedepends="python3-flit_core"
+depends="python3-mdurl"
+short_desc="Python port of the JavaScript mardown-it package"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/executablebooks/markdown-it-py"
+changelog="https://raw.githubusercontent.com/executablebooks/markdown-it-py/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/m/markdown-it-py/markdown-it-py-${version}.tar.gz"
+checksum=cf7e59fed14b5ae17c0006eff14a2d9a00ed5f3a846148153899a0224e2c07da
+# Tests not shipped in PYPI tarball
+make_check=no
+
+post_install() {
+ vlicense LICENSE
+}
From fb89cc8f5fe5e584a90b3ee60216f7d7dc5c2d9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 1 Feb 2023 13:04:07 +0100
Subject: [PATCH 3/3] python3-rich: update dependencies
---
srcpkgs/python3-rich/template | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-rich/template b/srcpkgs/python3-rich/template
index 2ad4dac03927..b7cd3d84633d 100644
--- a/srcpkgs/python3-rich/template
+++ b/srcpkgs/python3-rich/template
@@ -1,11 +1,10 @@
# Template file for 'python3-rich'
pkgname=python3-rich
version=13.3.1
-revision=1
+revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3-typing_extensions python3-Pygments python3-commonmark
- python3-colorama"
+depends="python3-Pygments python3-markdown-it"
checkdepends="python3-wheel $depends"
short_desc="Library for rich text and beautiful formatting in the terminal"
maintainer="Andrew Benson <abenson+void@gmail.com>"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: python3-rich: update dependencies
2023-02-01 12:08 [PR PATCH] python3-rich: update dependencies jcgruenhage
2023-02-01 12:56 ` [PR REVIEW] " sgn
2023-02-01 14:08 ` [PR PATCH] [Updated] " jcgruenhage
@ 2023-02-01 14:58 ` sgn
2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2023-02-01 14:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]
There's a merged pull request on the void-packages repository
python3-rich: update dependencies
https://github.com/void-linux/void-packages/pull/42011
Description:
- New package: python3-mdurl-0.1.2
- New package: python3-markdown-it-2.1.0
- python3-rich: update dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
I ran into a problem with this today:
```
Traceback (most recent call last):
File "/usr/bin/ansible-lint", line 5, in <module>
from ansiblelint.__main__ import _run_cli_entrypoint
File "/usr/lib/python3.11/site-packages/ansiblelint/__main__.py", line 40, in <module>
from ansiblelint import cli
File "/usr/lib/python3.11/site-packages/ansiblelint/cli.py", line 26, in <module>
from ansiblelint.yaml_utils import clean_json
File "/usr/lib/python3.11/site-packages/ansiblelint/yaml_utils.py", line 44, in <module>
from ansiblelint.utils import get_action_tasks, normalize_task
File "/usr/lib/python3.11/site-packages/ansiblelint/utils.py", line 56, in <module>
from ansiblelint.app import get_app
File "/usr/lib/python3.11/site-packages/ansiblelint/app.py", line 16, in <module>
from ansiblelint.color import console, console_stderr, render_yaml
File "/usr/lib/python3.11/site-packages/ansiblelint/color.py", line 7, in <module>
import rich.markdown
File "/usr/lib/python3.11/site-packages/rich/markdown.py", line 5, in <module>
from markdown_it import MarkdownIt
ModuleNotFoundError: No module named 'markdown_it'
```
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- 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
-->
^ permalink raw reply [flat|nested] 4+ messages in thread