* [bug#56740] [PATCH 0/6] Some python modules
@ 2022-07-24 13:33 Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 1/6] gnu: Add python-mkdocs-markdownextradata-plugin Hartmut Goebel
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-07-24 13:33 UTC (permalink / raw)
To: 56740
Some python modules used by fastapi (which irself requires rust for building).
Hartmut Goebel (6):
gnu: Add python-mkdocs-markdownextradata-plugin.
gnu: Add python-starlette.
gnu: Add python-cyclic.
gnu: Add python-rcslice.
gnu: Add python-mdx-include.
gnu: Add python-types-orjson.
gnu/packages/python-web.scm | 26 ++++++++
gnu/packages/python-xyz.scm | 129 ++++++++++++++++++++++++++++++++++++
2 files changed, 155 insertions(+)
base-commit: bd62c86ca6a153724d73089dc4836db24947a995
--
2.30.4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [bug#56740] [PATCH 1/6] gnu: Add python-mkdocs-markdownextradata-plugin.
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
@ 2022-07-24 14:45 ` Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 2/6] gnu: Add python-starlette Hartmut Goebel
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-07-24 14:45 UTC (permalink / raw)
To: 56740
* gnu/packages/python-xyz.scm (python-mkdocs-markdownextradata-plugin): New variable.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ee733f85af..4cb7f6a801 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -690,6 +690,32 @@ project documentation. Documentation source files are written in Markdown, and
configured with a single YAML configuration file.")
(license license:bsd-3)))
+(define-public python-mkdocs-markdownextradata-plugin
+ (package
+ (name "python-mkdocs-markdownextradata-plugin")
+ (version "0.2.5")
+ (source (origin
+ ;; Use git, as there are some test files missing from the PyPI release,
+ ;; see https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/41.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rosscdh/mkdocs-markdownextradata-plugin")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1a3868s9m7pzyfncpjbjsa9vw5nihssl2v47pxj7h6qa67kvlk3g"))))
+ (build-system python-build-system)
+ (native-inputs (list python-pytest))
+ (propagated-inputs (list python-mkdocs python-pyyaml))
+ (home-page "https://github.com/rosscdh/mkdocs-markdownextradata-plugin/")
+ (synopsis "Inject mkdocs.yml extra variables into the MkDocs markdown
+template")
+ (description
+ "This package provides a MkDocs plugin that injects the mkdocs.yml extra
+variables into the markdown template")
+ (license license:expat)))
+
(define-public python-pymdown-extensions
(package
(name "python-pymdown-extensions")
--
2.30.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#56740] [PATCH 2/6] gnu: Add python-starlette.
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 1/6] gnu: Add python-mkdocs-markdownextradata-plugin Hartmut Goebel
@ 2022-07-24 14:45 ` Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 3/6] gnu: Add python-cyclic Hartmut Goebel
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-07-24 14:45 UTC (permalink / raw)
To: 56740
* gnu/packages/python-web.scm (python-starlette): New variable.
---
gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ee722346b6..80a36bd04c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7661,3 +7661,29 @@ admin section of stores using an ActiveResource-like interface similar the
ruby Shopify API gem. The library makes HTTP requests to Shopify in order to
list, create, update, or delete resources (e.g. Order, Product, Collection).")
(license license:expat)))
+
+(define-public python-starlette
+ (package
+ (name "python-starlette")
+ (version "0.20.4")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "starlette" version))
+ (sha256
+ (base32
+ "112hmwk4fh4dl21nlr2xd37h43xzxpjxfnic7v7fz3wr5w9g7z22"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-anyio
+ python-typing-extensions
+ ;; [all] extra dependencies:
+ python-itsdangerous
+ python-jinja2
+ python-multipart
+ python-pyyaml
+ python-requests))
+ (home-page "https://github.com/encode/starlette")
+ (synopsis "Little ASGI library")
+ (description
+ "Starlette is a lightweight ASGI (Asynchronous Server Gateway
+Interface) framework/toolkit for building async web services in Python.")
+ (license license:bsd-3)))
--
2.30.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#56740] [PATCH 3/6] gnu: Add python-cyclic.
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 1/6] gnu: Add python-mkdocs-markdownextradata-plugin Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 2/6] gnu: Add python-starlette Hartmut Goebel
@ 2022-07-24 14:45 ` Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 4/6] gnu: Add python-rcslice Hartmut Goebel
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-07-24 14:45 UTC (permalink / raw)
To: 56740
* gnu/packages/python-xyz.scm (python-cyclic): New variable.
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4cb7f6a801..a00df8c716 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30199,3 +30199,26 @@ GeoPackage Binary")
GeoJSON to WKT/WKB (Well-Known Text/Binary) or GeoPackage Binary, and vice
versa. Extended WKB/WKT are also supported.")
(license license:asl2.0)))
+
+(define-public python-cyclic
+ (package
+ (name "python-cyclic")
+ (version "1.0.0")
+ (source (origin
+ ;; Use git, as there are some test files missing from the PyPI
+ ;; release, see https://github.com/neurobin/cyclic/issues/1
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/neurobin/cyclic")
+ ;; Release is not tagged on github, see
+ ;; https://github.com/neurobin/cyclic/issues/2
+ (commit "bf616c47ea49a43500ea55a1e6f4890323be0679")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0r8zzjdv70fpxssxps62rlgpii8fr9gh8gykdygqn6mkdnfjwgjc"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/neurobin/cyclic")
+ (synopsis "Handle cyclic relations")
+ (description "This package handles cyclic relations compared by value.")
+ (license license:bsd-3)))
--
2.30.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#56740] [PATCH 4/6] gnu: Add python-rcslice.
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
` (2 preceding siblings ...)
2022-07-24 14:45 ` [bug#56740] [PATCH 3/6] gnu: Add python-cyclic Hartmut Goebel
@ 2022-07-24 14:45 ` Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 5/6] gnu: Add python-mdx-include Hartmut Goebel
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-07-24 14:45 UTC (permalink / raw)
To: 56740
* gnu/packages/python-xyz.scm (python-rcslice): New variable.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a00df8c716..f4676fb928 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30222,3 +30222,29 @@ versa. Extended WKB/WKT are also supported.")
(synopsis "Handle cyclic relations")
(description "This package handles cyclic relations compared by value.")
(license license:bsd-3)))
+
+(define-public python-rcslice
+ (package
+ (name "python-rcslice")
+ (version "1.1.0")
+ (source (origin
+ ;; Use git, as there are some test files missing from the PyPI
+ ;; release, see https://github.com/neurobin/rcslice/issues/1
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/neurobin/rcslice")
+ ;; Releases are not tagged on github, see
+ ;; https://github.com/neurobin/rcslice/issues/2
+ (commit "1e1ef42cd262db76b67ded430630d5b499790f42")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1lmhcgghh60kvdlx0cin1phhgfy9jivc6l0mb4ibnpa1x1md0zvv"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/neurobin/rcslice")
+ (synopsis "Slice a list of sliceables")
+ (description "This package provides Python module to slice a list of
+sliceables (1 indexed, both start and end index are inclusive). Helps to
+slice file content line by line or column by column or a combination of
+both.")
+ (license license:bsd-3)))
--
2.30.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#56740] [PATCH 5/6] gnu: Add python-mdx-include.
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
` (3 preceding siblings ...)
2022-07-24 14:45 ` [bug#56740] [PATCH 4/6] gnu: Add python-rcslice Hartmut Goebel
@ 2022-07-24 14:45 ` Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 6/6] gnu: Add python-types-orjson Hartmut Goebel
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-07-24 14:45 UTC (permalink / raw)
To: 56740
* gnu/packages/python-xyz.scm (python-mdx-include): New variable.
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f4676fb928..77469f1edc 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10873,6 +10873,42 @@ extensions, and several HTML output formats. A command line wrapper
markdown_py is also provided to convert Markdown files to HTML.")
(license license:bsd-3)))
+(define-public python-mdx-include
+ (package
+ (name "python-mdx-include")
+ (version "1.4.1")
+ (source (origin
+ ;; Use git, as there are some test files missing from the PyPI
+ ;; release, see https://github.com/neurobin/mdx_include/issues/9
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/neurobin/mdx_include")
+ ;; Releases are not tagged on github, see
+ ;; https://github.com/neurobin/mdx_include/issues/10
+ (commit "683e6be7a00a1ef4d673ad0294458fa61bc97286")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0qpzgln4ybd7pl0m9s19dv60aq9cvwrk7x3yz96kjhcywaa5w386"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'disable-test-requiring-network
+ (lambda _
+ (substitute* "mdx_include/test/test.py"
+ (("(\\s+def )test_(cache|config|default)\\(" _ pre post)
+ (string-append pre "__off__test_" post "("))))))))
+ (propagated-inputs (list python-cyclic python-markdown python-rcslice))
+ (home-page "https://github.com/neurobin/mdx_include")
+ (synopsis "Python Markdown extension to include local or remote files")
+ (description "Include extension for Python Markdown. It lets you include
+local or remote (downloadable) files into your markdown at arbitrary
+positions.
+
+This project is motivated by markdown-include and provides the same
+functionalities with some extras.")
+ (license license:bsd-3)))
(define-public python-ptyprocess
(package
--
2.30.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#56740] [PATCH 6/6] gnu: Add python-types-orjson.
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
` (4 preceding siblings ...)
2022-07-24 14:45 ` [bug#56740] [PATCH 5/6] gnu: Add python-mdx-include Hartmut Goebel
@ 2022-07-24 14:45 ` Hartmut Goebel
[not found] ` <handler.56740.B.165866963420116.ack@debbugs.gnu.org>
2022-08-10 8:31 ` bug#56740: [PATCH 0/6] Some python modules Hartmut Goebel
7 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-07-24 14:45 UTC (permalink / raw)
To: 56740
* gnu/packages/python-xyz.scm (python-types-orjson): New variable.
---
gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 77469f1edc..0f26ee718d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30284,3 +30284,21 @@ sliceables (1 indexed, both start and end index are inclusive). Helps to
slice file content line by line or column by column or a combination of
both.")
(license license:bsd-3)))
+
+(define-public python-types-orjson
+ (package
+ (name "python-types-orjson")
+ (version "3.6.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "types-orjson" version))
+ (sha256
+ (base32
+ "0f66lf2qrl9d4vad42db3dmnzv89h4rr05r5zxx5qcl6kb3zr6ng"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/python/typeshed")
+ (synopsis "Typing stubs for orjson")
+ (description "This is a PEP 561 type stub package for the @code{orjson}
+package. It can be used by type-checking tools like mypy, PyCharm, pytype
+etc. to check code that uses @code{orjson}.")
+ (license license:asl2.0)))
--
2.30.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [bug#56740] Acknowledgement ([PATCH 0/6] Some python modules)
[not found] ` <handler.56740.B.165866963420116.ack@debbugs.gnu.org>
@ 2022-08-10 8:04 ` Hartmut Goebel
0 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-08-10 8:04 UTC (permalink / raw)
To: 56740
Pushed as 6ff0e43d4ef80b81599cb66432f80784deefc704
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#56740: [PATCH 0/6] Some python modules
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
` (6 preceding siblings ...)
[not found] ` <handler.56740.B.165866963420116.ack@debbugs.gnu.org>
@ 2022-08-10 8:31 ` Hartmut Goebel
7 siblings, 0 replies; 9+ messages in thread
From: Hartmut Goebel @ 2022-08-10 8:31 UTC (permalink / raw)
To: 56740-close
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-08-10 8:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-24 13:33 [bug#56740] [PATCH 0/6] Some python modules Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 1/6] gnu: Add python-mkdocs-markdownextradata-plugin Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 2/6] gnu: Add python-starlette Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 3/6] gnu: Add python-cyclic Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 4/6] gnu: Add python-rcslice Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 5/6] gnu: Add python-mdx-include Hartmut Goebel
2022-07-24 14:45 ` [bug#56740] [PATCH 6/6] gnu: Add python-types-orjson Hartmut Goebel
[not found] ` <handler.56740.B.165866963420116.ack@debbugs.gnu.org>
2022-08-10 8:04 ` [bug#56740] Acknowledgement ([PATCH 0/6] Some python modules) Hartmut Goebel
2022-08-10 8:31 ` bug#56740: [PATCH 0/6] Some python modules Hartmut Goebel
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.