Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: saturn-notebook-1.2.2
@ 2023-10-17 15:39 Eloitor
  2023-10-27 15:51 ` [PR PATCH] [Updated] " Eloitor
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Eloitor @ 2023-10-17 15:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages saturn-notebook
https://github.com/void-linux/void-packages/pull/46751

[WIP] New package: saturn-notebook-1.2.2
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

I don't know what I should do to get the binary in `/usr/bin/`

```
$ xls saturn-notebook  
/usr/lib/python3.12/site-packages/saturn_notebook/__init__.py
/usr/lib/python3.12/site-packages/saturn_notebook/__main__.py
/usr/lib/python3.12/site-packages/saturn_notebook/cells.py
/usr/lib/python3.12/site-packages/saturn_notebook/evaluate.py
/usr/lib/python3.12/site-packages/saturn_notebook/image.py
/usr/lib/python3.12/site-packages/saturn_notebook/mpl.py
/usr/lib/python3.12/site-packages/saturn_notebook/notebook.py
/usr/lib/python3.12/site-packages/saturn_notebook/repl.py
/usr/lib/python3.12/site-packages/saturn_notebook/theme.py
/usr/lib/python3.12/site-packages/saturn_notebook/traceback.py
/usr/lib/python3.12/site-packages/saturn_notebook/utils.py
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/top_level.txt
/usr/share/licenses/saturn-notebook/LICENSE.txt
```

A patch file from https://github.com/void-linux/void-packages/pull/46751.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-saturn-notebook-46751.patch --]
[-- Type: text/x-diff, Size: 2407 bytes --]

From 072846afca3e1641f266512563e98e9e8306382f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Tue, 17 Oct 2023 19:26:45 +0200
Subject: [PATCH] New package: saturn-notebook-1.2.2

---
 .../remove_poetry-dynamic-versioning.patch    | 25 +++++++++++++++++++
 srcpkgs/saturn-notebook/template              | 18 +++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
 create mode 100644 srcpkgs/saturn-notebook/template

diff --git a/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
new file mode 100644
index 0000000000000..23ea0e50eda6f
--- /dev/null
+++ b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
@@ -0,0 +1,25 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -33,21 +33,5 @@
+ icecream = "^2.1.2"
+ mpi4py = "^3.1.3"
+ 
+-[tool.poetry-dynamic-versioning]
+-enable = true
+-vcs = "git"
+-pattern  = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?"
+-format-jinja = """
+-    {%- if distance == 0 -%}
+-        {{- base -}}
+-    {%- else -%}
+-        {{- base }}.dev{{ distance }}+{{commit}}
+-    {%- endif -%}
+-"""
+-format-jinja-imports = [
+-    { module = "datetime", item = "datetime" }
+-]
+-
+ [build-system]
+-requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
+-build-backend = "poetry_dynamic_versioning.backend"
++requires = ["poetry-core>=1.0.0"]
diff --git a/srcpkgs/saturn-notebook/template b/srcpkgs/saturn-notebook/template
new file mode 100644
index 0000000000000..8de7b69a96896
--- /dev/null
+++ b/srcpkgs/saturn-notebook/template
@@ -0,0 +1,18 @@
+# Template file for 'saturn-notebook'
+pkgname=saturn-notebook
+version=1.2.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-setuptools"
+makedepends="python3-wheel"
+short_desc="Plain-text Python notebooks with checkpointing"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="custom:Saturn"
+homepage="https://github.com/mrzv/saturn"
+#changelog="https://raw.githubusercontent.com/mrzv/saturn/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/saturn_notebook/saturn_notebook-${version}.tar.gz"
+checksum=0fc8090e61bc8f9d33b542650d83115c094b90160cab04e797d552722360dd0c
+
+post_install() {
+	vlicense LICENSE.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: saturn-notebook-1.2.2
  2023-10-17 15:39 [PR PATCH] [WIP] New package: saturn-notebook-1.2.2 Eloitor
@ 2023-10-27 15:51 ` Eloitor
  2023-10-29  8:11 ` Eloitor
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-10-27 15:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages saturn-notebook
https://github.com/void-linux/void-packages/pull/46751

[WIP] New package: saturn-notebook-1.2.2
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

I don't know what I should do to get the binary in `/usr/bin/`

```
$ xls saturn-notebook  
/usr/lib/python3.12/site-packages/saturn_notebook/__init__.py
/usr/lib/python3.12/site-packages/saturn_notebook/__main__.py
/usr/lib/python3.12/site-packages/saturn_notebook/cells.py
/usr/lib/python3.12/site-packages/saturn_notebook/evaluate.py
/usr/lib/python3.12/site-packages/saturn_notebook/image.py
/usr/lib/python3.12/site-packages/saturn_notebook/mpl.py
/usr/lib/python3.12/site-packages/saturn_notebook/notebook.py
/usr/lib/python3.12/site-packages/saturn_notebook/repl.py
/usr/lib/python3.12/site-packages/saturn_notebook/theme.py
/usr/lib/python3.12/site-packages/saturn_notebook/traceback.py
/usr/lib/python3.12/site-packages/saturn_notebook/utils.py
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/top_level.txt
/usr/share/licenses/saturn-notebook/LICENSE.txt
```

A patch file from https://github.com/void-linux/void-packages/pull/46751.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-saturn-notebook-46751.patch --]
[-- Type: text/x-diff, Size: 3557 bytes --]

From 0bf32997ed5b5e9cd8d63f5fdd3691173491b767 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Tue, 17 Oct 2023 19:26:45 +0200
Subject: [PATCH 1/2] New package: saturn-notebook-1.2.2

---
 .../remove_poetry-dynamic-versioning.patch    | 25 +++++++++++++++++++
 srcpkgs/saturn-notebook/template              | 18 +++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
 create mode 100644 srcpkgs/saturn-notebook/template

diff --git a/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
new file mode 100644
index 0000000000000..23ea0e50eda6f
--- /dev/null
+++ b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
@@ -0,0 +1,25 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -33,21 +33,5 @@
+ icecream = "^2.1.2"
+ mpi4py = "^3.1.3"
+ 
+-[tool.poetry-dynamic-versioning]
+-enable = true
+-vcs = "git"
+-pattern  = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?"
+-format-jinja = """
+-    {%- if distance == 0 -%}
+-        {{- base -}}
+-    {%- else -%}
+-        {{- base }}.dev{{ distance }}+{{commit}}
+-    {%- endif -%}
+-"""
+-format-jinja-imports = [
+-    { module = "datetime", item = "datetime" }
+-]
+-
+ [build-system]
+-requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
+-build-backend = "poetry_dynamic_versioning.backend"
++requires = ["poetry-core>=1.0.0"]
diff --git a/srcpkgs/saturn-notebook/template b/srcpkgs/saturn-notebook/template
new file mode 100644
index 0000000000000..8de7b69a96896
--- /dev/null
+++ b/srcpkgs/saturn-notebook/template
@@ -0,0 +1,18 @@
+# Template file for 'saturn-notebook'
+pkgname=saturn-notebook
+version=1.2.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-setuptools"
+makedepends="python3-wheel"
+short_desc="Plain-text Python notebooks with checkpointing"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="custom:Saturn"
+homepage="https://github.com/mrzv/saturn"
+#changelog="https://raw.githubusercontent.com/mrzv/saturn/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/saturn_notebook/saturn_notebook-${version}.tar.gz"
+checksum=0fc8090e61bc8f9d33b542650d83115c094b90160cab04e797d552722360dd0c
+
+post_install() {
+	vlicense LICENSE.txt
+}

From cd97a4d2caea477676342c6399551857d45585b7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Fri, 27 Oct 2023 17:49:58 +0200
Subject: [PATCH 2/2] New package: python3-wurlitzer-3.0.3

---
 srcpkgs/python3-wurlitzer/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-wurlitzer/template

diff --git a/srcpkgs/python3-wurlitzer/template b/srcpkgs/python3-wurlitzer/template
new file mode 100644
index 0000000000000..638cb05f4b14d
--- /dev/null
+++ b/srcpkgs/python3-wurlitzer/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-wurlitzer'
+pkgname=python3-wurlitzer
+version=3.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends=""
+short_desc="Capture C-level stdout/stderr in Python"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="MIT"
+homepage="https://github.com/minrk/wurlitzer"
+changelog="https://raw.githubusercontent.com/minrk/wurlitzer/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/w/wurlitzer/wurlitzer-${version}.tar.gz"
+checksum=224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b

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

* Re: [PR PATCH] [Updated] [WIP] New package: saturn-notebook-1.2.2
  2023-10-17 15:39 [PR PATCH] [WIP] New package: saturn-notebook-1.2.2 Eloitor
  2023-10-27 15:51 ` [PR PATCH] [Updated] " Eloitor
@ 2023-10-29  8:11 ` Eloitor
  2023-10-29  8:27 ` Eloitor
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-10-29  8:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages saturn-notebook
https://github.com/void-linux/void-packages/pull/46751

[WIP] New package: saturn-notebook-1.2.2
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

I don't know what I should do to get the binary in `/usr/bin/`

```
$ xls saturn-notebook  
/usr/lib/python3.12/site-packages/saturn_notebook/__init__.py
/usr/lib/python3.12/site-packages/saturn_notebook/__main__.py
/usr/lib/python3.12/site-packages/saturn_notebook/cells.py
/usr/lib/python3.12/site-packages/saturn_notebook/evaluate.py
/usr/lib/python3.12/site-packages/saturn_notebook/image.py
/usr/lib/python3.12/site-packages/saturn_notebook/mpl.py
/usr/lib/python3.12/site-packages/saturn_notebook/notebook.py
/usr/lib/python3.12/site-packages/saturn_notebook/repl.py
/usr/lib/python3.12/site-packages/saturn_notebook/theme.py
/usr/lib/python3.12/site-packages/saturn_notebook/traceback.py
/usr/lib/python3.12/site-packages/saturn_notebook/utils.py
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/top_level.txt
/usr/share/licenses/saturn-notebook/LICENSE.txt
```

A patch file from https://github.com/void-linux/void-packages/pull/46751.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-saturn-notebook-46751.patch --]
[-- Type: text/x-diff, Size: 4840 bytes --]

From dc40be34ee9a3221602c992741031d6b9a22c28f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Tue, 17 Oct 2023 19:26:45 +0200
Subject: [PATCH 1/3] New package: saturn-notebook-1.2.2

---
 .../remove_poetry-dynamic-versioning.patch    | 25 +++++++++++++++++++
 srcpkgs/saturn-notebook/template              | 19 ++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
 create mode 100644 srcpkgs/saturn-notebook/template

diff --git a/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
new file mode 100644
index 0000000000000..23ea0e50eda6f
--- /dev/null
+++ b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
@@ -0,0 +1,25 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -33,21 +33,5 @@
+ icecream = "^2.1.2"
+ mpi4py = "^3.1.3"
+ 
+-[tool.poetry-dynamic-versioning]
+-enable = true
+-vcs = "git"
+-pattern  = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?"
+-format-jinja = """
+-    {%- if distance == 0 -%}
+-        {{- base -}}
+-    {%- else -%}
+-        {{- base }}.dev{{ distance }}+{{commit}}
+-    {%- endif -%}
+-"""
+-format-jinja-imports = [
+-    { module = "datetime", item = "datetime" }
+-]
+-
+ [build-system]
+-requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
+-build-backend = "poetry_dynamic_versioning.backend"
++requires = ["poetry-core>=1.0.0"]
diff --git a/srcpkgs/saturn-notebook/template b/srcpkgs/saturn-notebook/template
new file mode 100644
index 0000000000000..cbff0c366f5d8
--- /dev/null
+++ b/srcpkgs/saturn-notebook/template
@@ -0,0 +1,19 @@
+# Template file for 'saturn-notebook'
+pkgname=saturn-notebook
+version=1.2.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-setuptools"
+makedepends="python3-wheel"
+depends="python3-argh python3-atomicwrites python3-dill python3-more-itertools python3-wurlitzer python3-ptpython"
+short_desc="Plain-text Python notebooks with checkpointing"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="custom:Saturn"
+homepage="https://github.com/mrzv/saturn"
+#changelog="https://raw.githubusercontent.com/mrzv/saturn/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/saturn_notebook/saturn_notebook-${version}.tar.gz"
+checksum=0fc8090e61bc8f9d33b542650d83115c094b90160cab04e797d552722360dd0c
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 50f081e572ab7b9d3b09b9ba2fa144e97181214a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Fri, 27 Oct 2023 17:49:58 +0200
Subject: [PATCH 2/3] New package: python3-wurlitzer-3.0.3

---
 srcpkgs/python3-wurlitzer/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-wurlitzer/template

diff --git a/srcpkgs/python3-wurlitzer/template b/srcpkgs/python3-wurlitzer/template
new file mode 100644
index 0000000000000..638cb05f4b14d
--- /dev/null
+++ b/srcpkgs/python3-wurlitzer/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-wurlitzer'
+pkgname=python3-wurlitzer
+version=3.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends=""
+short_desc="Capture C-level stdout/stderr in Python"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="MIT"
+homepage="https://github.com/minrk/wurlitzer"
+changelog="https://raw.githubusercontent.com/minrk/wurlitzer/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/w/wurlitzer/wurlitzer-${version}.tar.gz"
+checksum=224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b

From 245f94a1af8c29fc6291d1cef873f09fd0b1fae7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Sun, 29 Oct 2023 11:10:32 +0100
Subject: [PATCH 3/3] New package: python3-ptpython-3.0.23

---
 srcpkgs/python3-ptpython/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-ptpython/template

diff --git a/srcpkgs/python3-ptpython/template b/srcpkgs/python3-ptpython/template
new file mode 100644
index 0000000000000..47dbc9a3f6a83
--- /dev/null
+++ b/srcpkgs/python3-ptpython/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-ptpython'
+pkgname=python3-ptpython
+version=3.0.23 
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends=""
+short_desc="Python REPL build on top of prompt_toolkit"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/prompt-toolkit/ptpython"
+changelog="https://raw.githubusercontent.com/prompt-toolkit/ptpython/master/CHANGELOG"
+distfiles="${PYPI_SITE}/p/ptpython/ptpython-${version}.tar.gz"
+checksum=9fc9bec2cc51bc4000c1224d8c56241ce8a406b3d49ec8dc266f78cd3cd04ba4

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

* Re: [PR PATCH] [Updated] [WIP] New package: saturn-notebook-1.2.2
  2023-10-17 15:39 [PR PATCH] [WIP] New package: saturn-notebook-1.2.2 Eloitor
  2023-10-27 15:51 ` [PR PATCH] [Updated] " Eloitor
  2023-10-29  8:11 ` Eloitor
@ 2023-10-29  8:27 ` Eloitor
  2023-10-29  8:35 ` Eloitor
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-10-29  8:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages saturn-notebook
https://github.com/void-linux/void-packages/pull/46751

[WIP] New package: saturn-notebook-1.2.2
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

I don't know what I should do to get the binary in `/usr/bin/`

```
$ xls saturn-notebook  
/usr/lib/python3.12/site-packages/saturn_notebook/__init__.py
/usr/lib/python3.12/site-packages/saturn_notebook/__main__.py
/usr/lib/python3.12/site-packages/saturn_notebook/cells.py
/usr/lib/python3.12/site-packages/saturn_notebook/evaluate.py
/usr/lib/python3.12/site-packages/saturn_notebook/image.py
/usr/lib/python3.12/site-packages/saturn_notebook/mpl.py
/usr/lib/python3.12/site-packages/saturn_notebook/notebook.py
/usr/lib/python3.12/site-packages/saturn_notebook/repl.py
/usr/lib/python3.12/site-packages/saturn_notebook/theme.py
/usr/lib/python3.12/site-packages/saturn_notebook/traceback.py
/usr/lib/python3.12/site-packages/saturn_notebook/utils.py
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/top_level.txt
/usr/share/licenses/saturn-notebook/LICENSE.txt
```

A patch file from https://github.com/void-linux/void-packages/pull/46751.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-saturn-notebook-46751.patch --]
[-- Type: text/x-diff, Size: 5267 bytes --]

From 23ba110fb655f660e3be0f88d91a91298030c490 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Tue, 17 Oct 2023 19:26:45 +0200
Subject: [PATCH 1/3] New package: saturn-notebook-1.2.2

---
 srcpkgs/saturn-notebook/files/saturn-notebook |  3 +++
 .../remove_poetry-dynamic-versioning.patch    | 25 +++++++++++++++++++
 srcpkgs/saturn-notebook/template              | 20 +++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 srcpkgs/saturn-notebook/files/saturn-notebook
 create mode 100644 srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
 create mode 100644 srcpkgs/saturn-notebook/template

diff --git a/srcpkgs/saturn-notebook/files/saturn-notebook b/srcpkgs/saturn-notebook/files/saturn-notebook
new file mode 100644
index 0000000000000..2c97629458aef
--- /dev/null
+++ b/srcpkgs/saturn-notebook/files/saturn-notebook
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+python3 -m saturn_notebook
diff --git a/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
new file mode 100644
index 0000000000000..23ea0e50eda6f
--- /dev/null
+++ b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
@@ -0,0 +1,25 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -33,21 +33,5 @@
+ icecream = "^2.1.2"
+ mpi4py = "^3.1.3"
+ 
+-[tool.poetry-dynamic-versioning]
+-enable = true
+-vcs = "git"
+-pattern  = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?"
+-format-jinja = """
+-    {%- if distance == 0 -%}
+-        {{- base -}}
+-    {%- else -%}
+-        {{- base }}.dev{{ distance }}+{{commit}}
+-    {%- endif -%}
+-"""
+-format-jinja-imports = [
+-    { module = "datetime", item = "datetime" }
+-]
+-
+ [build-system]
+-requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
+-build-backend = "poetry_dynamic_versioning.backend"
++requires = ["poetry-core>=1.0.0"]
diff --git a/srcpkgs/saturn-notebook/template b/srcpkgs/saturn-notebook/template
new file mode 100644
index 0000000000000..41d54a4a0beed
--- /dev/null
+++ b/srcpkgs/saturn-notebook/template
@@ -0,0 +1,20 @@
+# Template file for 'saturn-notebook'
+pkgname=saturn-notebook
+version=1.2.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-setuptools"
+makedepends="python3-wheel"
+depends="python3-argh python3-atomicwrites python3-dill python3-more-itertools python3-wurlitzer"
+short_desc="Plain-text Python notebooks with checkpointing"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="custom:Saturn"
+homepage="https://github.com/mrzv/saturn"
+changelog="https://raw.githubusercontent.com/mrzv/saturn/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/saturn_notebook/saturn_notebook-${version}.tar.gz"
+checksum=0fc8090e61bc8f9d33b542650d83115c094b90160cab04e797d552722360dd0c
+
+post_install() {
+	vbin ${FILESDIR}/saturn-notebook
+	vlicense LICENSE.txt
+}

From 0db1b97e2f007f25825f727fe649065423f3ff7a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Fri, 27 Oct 2023 17:49:58 +0200
Subject: [PATCH 2/3] New package: python3-wurlitzer-3.0.3

---
 srcpkgs/python3-wurlitzer/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-wurlitzer/template

diff --git a/srcpkgs/python3-wurlitzer/template b/srcpkgs/python3-wurlitzer/template
new file mode 100644
index 0000000000000..638cb05f4b14d
--- /dev/null
+++ b/srcpkgs/python3-wurlitzer/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-wurlitzer'
+pkgname=python3-wurlitzer
+version=3.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends=""
+short_desc="Capture C-level stdout/stderr in Python"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="MIT"
+homepage="https://github.com/minrk/wurlitzer"
+changelog="https://raw.githubusercontent.com/minrk/wurlitzer/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/w/wurlitzer/wurlitzer-${version}.tar.gz"
+checksum=224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b

From bf5b4daf9778953d007983899ab653cc2ea36909 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Sun, 29 Oct 2023 11:10:32 +0100
Subject: [PATCH 3/3] New package: python3-ptpython-3.0.23

---
 srcpkgs/python3-ptpython/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-ptpython/template

diff --git a/srcpkgs/python3-ptpython/template b/srcpkgs/python3-ptpython/template
new file mode 100644
index 0000000000000..47dbc9a3f6a83
--- /dev/null
+++ b/srcpkgs/python3-ptpython/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-ptpython'
+pkgname=python3-ptpython
+version=3.0.23 
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends=""
+depends=""
+short_desc="Python REPL build on top of prompt_toolkit"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/prompt-toolkit/ptpython"
+changelog="https://raw.githubusercontent.com/prompt-toolkit/ptpython/master/CHANGELOG"
+distfiles="${PYPI_SITE}/p/ptpython/ptpython-${version}.tar.gz"
+checksum=9fc9bec2cc51bc4000c1224d8c56241ce8a406b3d49ec8dc266f78cd3cd04ba4

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

* Re: [PR PATCH] [Updated] [WIP] New package: saturn-notebook-1.2.2
  2023-10-17 15:39 [PR PATCH] [WIP] New package: saturn-notebook-1.2.2 Eloitor
                   ` (2 preceding siblings ...)
  2023-10-29  8:27 ` Eloitor
@ 2023-10-29  8:35 ` Eloitor
  2023-10-29  8:46 ` Eloitor
  2023-12-30 20:15 ` [PR PATCH] [Closed]: " Eloitor
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-10-29  8:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages saturn-notebook
https://github.com/void-linux/void-packages/pull/46751

[WIP] New package: saturn-notebook-1.2.2
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

I don't know what I should do to get the binary in `/usr/bin/`

```
$ xls saturn-notebook  
/usr/lib/python3.12/site-packages/saturn_notebook/__init__.py
/usr/lib/python3.12/site-packages/saturn_notebook/__main__.py
/usr/lib/python3.12/site-packages/saturn_notebook/cells.py
/usr/lib/python3.12/site-packages/saturn_notebook/evaluate.py
/usr/lib/python3.12/site-packages/saturn_notebook/image.py
/usr/lib/python3.12/site-packages/saturn_notebook/mpl.py
/usr/lib/python3.12/site-packages/saturn_notebook/notebook.py
/usr/lib/python3.12/site-packages/saturn_notebook/repl.py
/usr/lib/python3.12/site-packages/saturn_notebook/theme.py
/usr/lib/python3.12/site-packages/saturn_notebook/traceback.py
/usr/lib/python3.12/site-packages/saturn_notebook/utils.py
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/top_level.txt
/usr/share/licenses/saturn-notebook/LICENSE.txt
```

A patch file from https://github.com/void-linux/void-packages/pull/46751.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-saturn-notebook-46751.patch --]
[-- Type: text/x-diff, Size: 5338 bytes --]

From 23ba110fb655f660e3be0f88d91a91298030c490 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Tue, 17 Oct 2023 19:26:45 +0200
Subject: [PATCH 1/3] New package: saturn-notebook-1.2.2

---
 srcpkgs/saturn-notebook/files/saturn-notebook |  3 +++
 .../remove_poetry-dynamic-versioning.patch    | 25 +++++++++++++++++++
 srcpkgs/saturn-notebook/template              | 20 +++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 srcpkgs/saturn-notebook/files/saturn-notebook
 create mode 100644 srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
 create mode 100644 srcpkgs/saturn-notebook/template

diff --git a/srcpkgs/saturn-notebook/files/saturn-notebook b/srcpkgs/saturn-notebook/files/saturn-notebook
new file mode 100644
index 0000000000000..2c97629458aef
--- /dev/null
+++ b/srcpkgs/saturn-notebook/files/saturn-notebook
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+python3 -m saturn_notebook
diff --git a/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
new file mode 100644
index 0000000000000..23ea0e50eda6f
--- /dev/null
+++ b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
@@ -0,0 +1,25 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -33,21 +33,5 @@
+ icecream = "^2.1.2"
+ mpi4py = "^3.1.3"
+ 
+-[tool.poetry-dynamic-versioning]
+-enable = true
+-vcs = "git"
+-pattern  = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?"
+-format-jinja = """
+-    {%- if distance == 0 -%}
+-        {{- base -}}
+-    {%- else -%}
+-        {{- base }}.dev{{ distance }}+{{commit}}
+-    {%- endif -%}
+-"""
+-format-jinja-imports = [
+-    { module = "datetime", item = "datetime" }
+-]
+-
+ [build-system]
+-requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
+-build-backend = "poetry_dynamic_versioning.backend"
++requires = ["poetry-core>=1.0.0"]
diff --git a/srcpkgs/saturn-notebook/template b/srcpkgs/saturn-notebook/template
new file mode 100644
index 0000000000000..41d54a4a0beed
--- /dev/null
+++ b/srcpkgs/saturn-notebook/template
@@ -0,0 +1,20 @@
+# Template file for 'saturn-notebook'
+pkgname=saturn-notebook
+version=1.2.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-setuptools"
+makedepends="python3-wheel"
+depends="python3-argh python3-atomicwrites python3-dill python3-more-itertools python3-wurlitzer"
+short_desc="Plain-text Python notebooks with checkpointing"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="custom:Saturn"
+homepage="https://github.com/mrzv/saturn"
+changelog="https://raw.githubusercontent.com/mrzv/saturn/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/saturn_notebook/saturn_notebook-${version}.tar.gz"
+checksum=0fc8090e61bc8f9d33b542650d83115c094b90160cab04e797d552722360dd0c
+
+post_install() {
+	vbin ${FILESDIR}/saturn-notebook
+	vlicense LICENSE.txt
+}

From ff72ef07c235e30ac090f458ed2982466a6a86cb Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Fri, 27 Oct 2023 17:49:58 +0200
Subject: [PATCH 2/3] New package: python3-wurlitzer-3.0.3

---
 srcpkgs/python3-wurlitzer/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-wurlitzer/template

diff --git a/srcpkgs/python3-wurlitzer/template b/srcpkgs/python3-wurlitzer/template
new file mode 100644
index 0000000000000..f946f0afb52e5
--- /dev/null
+++ b/srcpkgs/python3-wurlitzer/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-wurlitzer'
+pkgname=python3-wurlitzer
+version=3.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Capture C-level stdout/stderr in Python"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="MIT"
+homepage="https://github.com/minrk/wurlitzer"
+changelog="https://raw.githubusercontent.com/minrk/wurlitzer/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/w/wurlitzer/wurlitzer-${version}.tar.gz"
+checksum=224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b
+
+post_install() {
+	vlicense LICENSE
+}

From b7fd0b1e130edd2aeef57001d87a9ab5159020d1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Sun, 29 Oct 2023 11:10:32 +0100
Subject: [PATCH 3/3] New package: python3-ptpython-3.0.23

---
 srcpkgs/python3-ptpython/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-ptpython/template

diff --git a/srcpkgs/python3-ptpython/template b/srcpkgs/python3-ptpython/template
new file mode 100644
index 0000000000000..fcf37df1c0708
--- /dev/null
+++ b/srcpkgs/python3-ptpython/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-ptpython'
+pkgname=python3-ptpython
+version=3.0.23
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Python REPL build on top of prompt_toolkit"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/prompt-toolkit/ptpython"
+changelog="https://raw.githubusercontent.com/prompt-toolkit/ptpython/master/CHANGELOG"
+distfiles="${PYPI_SITE}/p/ptpython/ptpython-${version}.tar.gz"
+checksum=9fc9bec2cc51bc4000c1224d8c56241ce8a406b3d49ec8dc266f78cd3cd04ba4
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: saturn-notebook-1.2.2
  2023-10-17 15:39 [PR PATCH] [WIP] New package: saturn-notebook-1.2.2 Eloitor
                   ` (3 preceding siblings ...)
  2023-10-29  8:35 ` Eloitor
@ 2023-10-29  8:46 ` Eloitor
  2023-12-30 20:15 ` [PR PATCH] [Closed]: " Eloitor
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-10-29  8:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages saturn-notebook
https://github.com/void-linux/void-packages/pull/46751

[WIP] New package: saturn-notebook-1.2.2
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

I don't know what I should do to get the binary in `/usr/bin/`

```
$ xls saturn-notebook  
/usr/lib/python3.12/site-packages/saturn_notebook/__init__.py
/usr/lib/python3.12/site-packages/saturn_notebook/__main__.py
/usr/lib/python3.12/site-packages/saturn_notebook/cells.py
/usr/lib/python3.12/site-packages/saturn_notebook/evaluate.py
/usr/lib/python3.12/site-packages/saturn_notebook/image.py
/usr/lib/python3.12/site-packages/saturn_notebook/mpl.py
/usr/lib/python3.12/site-packages/saturn_notebook/notebook.py
/usr/lib/python3.12/site-packages/saturn_notebook/repl.py
/usr/lib/python3.12/site-packages/saturn_notebook/theme.py
/usr/lib/python3.12/site-packages/saturn_notebook/traceback.py
/usr/lib/python3.12/site-packages/saturn_notebook/utils.py
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/top_level.txt
/usr/share/licenses/saturn-notebook/LICENSE.txt
```

A patch file from https://github.com/void-linux/void-packages/pull/46751.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-saturn-notebook-46751.patch --]
[-- Type: text/x-diff, Size: 5411 bytes --]

From 23ba110fb655f660e3be0f88d91a91298030c490 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Tue, 17 Oct 2023 19:26:45 +0200
Subject: [PATCH 1/3] New package: saturn-notebook-1.2.2

---
 srcpkgs/saturn-notebook/files/saturn-notebook |  3 +++
 .../remove_poetry-dynamic-versioning.patch    | 25 +++++++++++++++++++
 srcpkgs/saturn-notebook/template              | 20 +++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 srcpkgs/saturn-notebook/files/saturn-notebook
 create mode 100644 srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
 create mode 100644 srcpkgs/saturn-notebook/template

diff --git a/srcpkgs/saturn-notebook/files/saturn-notebook b/srcpkgs/saturn-notebook/files/saturn-notebook
new file mode 100644
index 0000000000000..2c97629458aef
--- /dev/null
+++ b/srcpkgs/saturn-notebook/files/saturn-notebook
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+python3 -m saturn_notebook
diff --git a/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
new file mode 100644
index 0000000000000..23ea0e50eda6f
--- /dev/null
+++ b/srcpkgs/saturn-notebook/patches/remove_poetry-dynamic-versioning.patch
@@ -0,0 +1,25 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -33,21 +33,5 @@
+ icecream = "^2.1.2"
+ mpi4py = "^3.1.3"
+ 
+-[tool.poetry-dynamic-versioning]
+-enable = true
+-vcs = "git"
+-pattern  = "^(?P<base>\\d+\\.\\d+\\.\\d+)(-?((?P<stage>[a-zA-Z]+)\\.?(?P<revision>\\d+)?))?"
+-format-jinja = """
+-    {%- if distance == 0 -%}
+-        {{- base -}}
+-    {%- else -%}
+-        {{- base }}.dev{{ distance }}+{{commit}}
+-    {%- endif -%}
+-"""
+-format-jinja-imports = [
+-    { module = "datetime", item = "datetime" }
+-]
+-
+ [build-system]
+-requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
+-build-backend = "poetry_dynamic_versioning.backend"
++requires = ["poetry-core>=1.0.0"]
diff --git a/srcpkgs/saturn-notebook/template b/srcpkgs/saturn-notebook/template
new file mode 100644
index 0000000000000..41d54a4a0beed
--- /dev/null
+++ b/srcpkgs/saturn-notebook/template
@@ -0,0 +1,20 @@
+# Template file for 'saturn-notebook'
+pkgname=saturn-notebook
+version=1.2.2
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core python3-setuptools"
+makedepends="python3-wheel"
+depends="python3-argh python3-atomicwrites python3-dill python3-more-itertools python3-wurlitzer"
+short_desc="Plain-text Python notebooks with checkpointing"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="custom:Saturn"
+homepage="https://github.com/mrzv/saturn"
+changelog="https://raw.githubusercontent.com/mrzv/saturn/master/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/saturn_notebook/saturn_notebook-${version}.tar.gz"
+checksum=0fc8090e61bc8f9d33b542650d83115c094b90160cab04e797d552722360dd0c
+
+post_install() {
+	vbin ${FILESDIR}/saturn-notebook
+	vlicense LICENSE.txt
+}

From e977e1f823589267116834ca445dd398bf899c67 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Fri, 27 Oct 2023 17:49:58 +0200
Subject: [PATCH 2/3] New package: python3-wurlitzer-3.0.3

---
 srcpkgs/python3-wurlitzer/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/python3-wurlitzer/template

diff --git a/srcpkgs/python3-wurlitzer/template b/srcpkgs/python3-wurlitzer/template
new file mode 100644
index 0000000000000..ac76c6f1c678d
--- /dev/null
+++ b/srcpkgs/python3-wurlitzer/template
@@ -0,0 +1,23 @@
+# Template file for 'python3-wurlitzer'
+pkgname=python3-wurlitzer
+version=3.0.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Capture C-level stdout/stderr in Python"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="MIT"
+homepage="https://github.com/minrk/wurlitzer"
+changelog="https://raw.githubusercontent.com/minrk/wurlitzer/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/w/wurlitzer/wurlitzer-${version}.tar.gz"
+checksum=224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b
+
+post_install() {
+	vlicense LICENSE
+}
+
+do_check() {
+	python3 test.py
+}

From 475f13edc2c00b339cce31581007d2a7f7110b8b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@duck.com>
Date: Sun, 29 Oct 2023 11:10:32 +0100
Subject: [PATCH 3/3] New package: python3-ptpython-3.0.23

---
 srcpkgs/python3-ptpython/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-ptpython/template

diff --git a/srcpkgs/python3-ptpython/template b/srcpkgs/python3-ptpython/template
new file mode 100644
index 0000000000000..fcf37df1c0708
--- /dev/null
+++ b/srcpkgs/python3-ptpython/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-ptpython'
+pkgname=python3-ptpython
+version=3.0.23
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Python REPL build on top of prompt_toolkit"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/prompt-toolkit/ptpython"
+changelog="https://raw.githubusercontent.com/prompt-toolkit/ptpython/master/CHANGELOG"
+distfiles="${PYPI_SITE}/p/ptpython/ptpython-${version}.tar.gz"
+checksum=9fc9bec2cc51bc4000c1224d8c56241ce8a406b3d49ec8dc266f78cd3cd04ba4
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Closed]: [WIP] New package: saturn-notebook-1.2.2
  2023-10-17 15:39 [PR PATCH] [WIP] New package: saturn-notebook-1.2.2 Eloitor
                   ` (4 preceding siblings ...)
  2023-10-29  8:46 ` Eloitor
@ 2023-12-30 20:15 ` Eloitor
  5 siblings, 0 replies; 7+ messages in thread
From: Eloitor @ 2023-12-30 20:15 UTC (permalink / raw)
  To: ml

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

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

[WIP] New package: saturn-notebook-1.2.2
https://github.com/void-linux/void-packages/pull/46751

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

I don't know what I should do to get the binary in `/usr/bin/`

```
$ xls saturn-notebook  
/usr/lib/python3.12/site-packages/saturn_notebook/__init__.py
/usr/lib/python3.12/site-packages/saturn_notebook/__main__.py
/usr/lib/python3.12/site-packages/saturn_notebook/cells.py
/usr/lib/python3.12/site-packages/saturn_notebook/evaluate.py
/usr/lib/python3.12/site-packages/saturn_notebook/image.py
/usr/lib/python3.12/site-packages/saturn_notebook/mpl.py
/usr/lib/python3.12/site-packages/saturn_notebook/notebook.py
/usr/lib/python3.12/site-packages/saturn_notebook/repl.py
/usr/lib/python3.12/site-packages/saturn_notebook/theme.py
/usr/lib/python3.12/site-packages/saturn_notebook/traceback.py
/usr/lib/python3.12/site-packages/saturn_notebook/utils.py
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/LICENSE.txt
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/saturn_notebook-0.0.0.dist-info/top_level.txt
/usr/share/licenses/saturn-notebook/LICENSE.txt
```

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

end of thread, other threads:[~2023-12-30 20:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17 15:39 [PR PATCH] [WIP] New package: saturn-notebook-1.2.2 Eloitor
2023-10-27 15:51 ` [PR PATCH] [Updated] " Eloitor
2023-10-29  8:11 ` Eloitor
2023-10-29  8:27 ` Eloitor
2023-10-29  8:35 ` Eloitor
2023-10-29  8:46 ` Eloitor
2023-12-30 20:15 ` [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).