Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-md2gemini
Date: Thu, 24 Sep 2020 01:02:49 +0200	[thread overview]
Message-ID: <20200923230249.k9YVfNTgz_D__mG3WKSIpEfmZI_60Emu2jnvo2Bau9E@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25050@inbox.vuxu.org>

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

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

https://github.com/ericonr/void-packages gemini
https://github.com/void-linux/void-packages/pull/25050

python3-md2gemini
For docs usage :smile: 

Closes #24799 
Closes #24798 

Thanks @flexibeast c:

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

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

From 126c7c2e36d8bc9a9be5fed0e4fdf13bb2380509 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Wed, 23 Sep 2020 19:54:52 -0300
Subject: [PATCH 1/4] python3-mistune: update to 2.0.0a5, drop Python2.

---
 srcpkgs/python-mistune/template  | 31 -------------------------------
 srcpkgs/python3-mistune          |  1 -
 srcpkgs/python3-mistune/template | 24 ++++++++++++++++++++++++
 3 files changed, 24 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python-mistune/template
 delete mode 120000 srcpkgs/python3-mistune
 create mode 100644 srcpkgs/python3-mistune/template

diff --git a/srcpkgs/python-mistune/template b/srcpkgs/python-mistune/template
deleted file mode 100644
index ef5c054ba75..00000000000
--- a/srcpkgs/python-mistune/template
+++ /dev/null
@@ -1,31 +0,0 @@
-# Template file for 'python-mistune'
-pkgname=python-mistune
-version=0.8.4
-revision=2
-archs=noarch
-wrksrc="mistune-${version}"
-build_style=python-module
-pycompile_module="mistune.py"
-hostmakedepends="python-setuptools python3-setuptools"
-depends="python"
-short_desc="The fastest markdown parser for Python2"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
-homepage="https://github.com/lepture/mistune"
-license="BSD-3-Clause"
-distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
-checksum=59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e
-
-post_install() {
-	vlicense LICENSE
-}
-
-python3-mistune_package() {
-	archs=noarch
-	depends="python3"
-	pycompile_module="mistune.py"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-		vlicense LICENSE
-	}
-}
diff --git a/srcpkgs/python3-mistune b/srcpkgs/python3-mistune
deleted file mode 120000
index 26ea68379b8..00000000000
--- a/srcpkgs/python3-mistune
+++ /dev/null
@@ -1 +0,0 @@
-python-mistune
\ No newline at end of file
diff --git a/srcpkgs/python3-mistune/template b/srcpkgs/python3-mistune/template
new file mode 100644
index 00000000000..052eba6edad
--- /dev/null
+++ b/srcpkgs/python3-mistune/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-mistune'
+pkgname=python3-mistune
+version=2.0.0a5
+revision=1
+wrksrc="mistune-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Markdown parser for Python"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/lepture/mistune"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=2ea34d73edeee177f37db0e64afd3be42f09f26a6baaf925912ba3e4dc546e59
+conflicts="python3-mistune0>=0"
+
+do_check() {
+	pytest
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 0cf7e6c289ac04ddea5a9302cd096b5c99a0dd53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Wed, 23 Sep 2020 19:56:10 -0300
Subject: [PATCH 2/4] New package: python3-mistune0-0.8.4.

Necessary for nbconvert compatibility.
---
 srcpkgs/python3-mistune0/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-mistune0/template

diff --git a/srcpkgs/python3-mistune0/template b/srcpkgs/python3-mistune0/template
new file mode 100644
index 00000000000..35d1ee03398
--- /dev/null
+++ b/srcpkgs/python3-mistune0/template
@@ -0,0 +1,19 @@
+# Template file for 'python-mistune0'
+pkgname=python3-mistune0
+version=0.8.4
+revision=1
+wrksrc="mistune-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="The fastest markdown parser for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+homepage="https://github.com/lepture/mistune"
+license="BSD-3-Clause"
+distfiles="${PYPI_SITE}/m/mistune/mistune-${version}.tar.gz"
+checksum=59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e
+conflicts="python3-mistune>=0"
+
+post_install() {
+	vlicense LICENSE
+}

From 2c218c3f4f6f3e6ced413e4dfec3108065ad705d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Wed, 23 Sep 2020 20:00:45 -0300
Subject: [PATCH 3/4] python3-jupyter_nbconvert: depend on python3-mistune0.

---
 srcpkgs/python3-jupyter_nbconvert/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-jupyter_nbconvert/template b/srcpkgs/python3-jupyter_nbconvert/template
index dba1d5a980e..26d333ad6c7 100644
--- a/srcpkgs/python3-jupyter_nbconvert/template
+++ b/srcpkgs/python3-jupyter_nbconvert/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-jupyter_nbconvert'
 pkgname=python3-jupyter_nbconvert
 version=5.6.1
-revision=1
+revision=2
 archs=noarch
 wrksrc="nbconvert-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3-mistune python3-Jinja2>=2.4 python3-Pygments
+depends="python3-mistune0 python3-Jinja2>=2.4 python3-Pygments
  python3-traitlets>=4.2 python3-jupyter_core python3-jupyter_nbformat>=4.4
  python3-entrypoints>=0.2.2 python3-testpath python3-bleach
  python3-pandocfilters>=1.4.1 python3-defusedxml"
 checkdepends="python3-pytest python3-ipython_ipykernel
- python3-mistune python3-Jinja2 python3-Pygments
+ python3-mistune0 python3-Jinja2 python3-Pygments
  python3-traitlets python3-jupyter_core python3-jupyter_nbformat
  python3-entrypoints python3-testpath python3-bleach
  python3-pandocfilters python3-defusedxml

From 4edf471c611bc3c9955cd172e6aa4b4bbc573b7b Mon Sep 17 00:00:00 2001
From: Alexis <flexibeast@gmail.com>
Date: Thu, 10 Sep 2020 14:36:48 +1000
Subject: [PATCH 4/4] New package: python3-md2gemini-1.7.0

Closes: #24799 [via git-merge-pr]
---
 srcpkgs/python3-md2gemini/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-md2gemini/template

diff --git a/srcpkgs/python3-md2gemini/template b/srcpkgs/python3-md2gemini/template
new file mode 100644
index 00000000000..291689beeb4
--- /dev/null
+++ b/srcpkgs/python3-md2gemini/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-md2gemini'
+pkgname=python3-md2gemini
+version=1.7.0
+revision=1
+wrksrc="md2gemini-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-mistune python3-cjkwrap python3-wcwidth"
+depends="python3-mistune python3-cjkwrap python3-wcwidth"
+checkdepends="python3-pytest"
+short_desc="Converter from Markdown to the Gemini text format"
+maintainer="Alexis <flexibeast@gmail.com>"
+license="LGPL-3.0-only"
+homepage="https://github.com/makeworld-the-better-one/md2gemini"
+distfiles="${PYPI_SITE}/m/md2gemini/md2gemini-${version}.tar.gz"
+checksum=01b5566f4b374cebd8f84f9f2407cae2d49036933a65becc7b10bde518d172b6
+
+do_check() {
+	pytest
+}

  parent reply	other threads:[~2020-09-23 23:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23 13:03 [PR PATCH] python3-md2gemini ericonr
2020-09-23 13:10 ` [PR PATCH] [Updated] python3-md2gemini ericonr
2020-09-23 15:12 ` ericonr
2020-09-23 23:02 ` ericonr [this message]
2020-09-23 23:04 ` ericonr
2020-09-24  2:12 ` python3-md2gemini flexibeast
2021-02-04  1:53 ` [PR PATCH] [Updated] python3-md2gemini ericonr
2021-02-04  1:58 ` ericonr
2021-02-04  2:00 ` ericonr
2021-02-15  5:00 ` [PR PATCH] [Closed]: python3-md2gemini ericonr
2021-02-15  5:00 ` python3-md2gemini ericonr

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=20200923230249.k9YVfNTgz_D__mG3WKSIpEfmZI_60Emu2jnvo2Bau9E@z \
    --to=ericonr@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).