Github messages for voidlinux
 help / color / mirror / Atom feed
From: flexibeast <flexibeast@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python-mistune: update to 2.0.0a5.
Date: Thu, 10 Sep 2020 06:59:34 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24798@inbox.vuxu.org> (raw)

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

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

https://github.com/flexibeast/void-packages update-python-mistune
https://github.com/void-linux/void-packages/pull/24798

python-mistune: update to 2.0.0a5.
Needed for packaging `md2gemini` (forthcoming). `md2gemini` needs a later version than 0.8.4, which is what's currently available on PyPi, so i'm using the latest release tagged in the `mistune` GH repo. `./xbps-src pkg` completes successfully. i've also fixed xlint errors, including changing the short_desc.

Finally, i've taken this opportunity to remove the `archs=noarch` lines.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-python-mistune-24798.patch --]
[-- Type: text/x-diff, Size: 1588 bytes --]

From ce5e7113366abebce0db9e061f41b192ffe71770 Mon Sep 17 00:00:00 2001
From: Alexis <flexibeast@gmail.com>
Date: Thu, 10 Sep 2020 14:42:52 +1000
Subject: [PATCH] python-mistune: update to 2.0.0a5.

---
 srcpkgs/python-mistune/template | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python-mistune/template b/srcpkgs/python-mistune/template
index ef5c054ba75..1aaeb0607c9 100644
--- a/srcpkgs/python-mistune/template
+++ b/srcpkgs/python-mistune/template
@@ -1,28 +1,24 @@
 # Template file for 'python-mistune'
 pkgname=python-mistune
-version=0.8.4
-revision=2
-archs=noarch
+version=2.0.0a5
+revision=1
 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"
+short_desc="Markdown parser for Python"
 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
+homepage="https://github.com/lepture/mistune"
+distfiles="https://github.com/lepture/mistune/archive/v${version}.tar.gz"
+checksum=2ea34d73edeee177f37db0e64afd3be42f09f26a6baaf925912ba3e4dc546e59
 
 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*

             reply	other threads:[~2020-09-10  4:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  4:59 flexibeast [this message]
2020-09-11 18:16 ` sgn
2020-09-13  2:40 ` flexibeast
2020-09-21 15:02 ` sgn
2020-09-21 15:04 ` sgn
2020-09-21 15:04 ` sgn
2021-02-15  5:00 ` ericonr
2021-02-15  5:00 ` [PR PATCH] [Closed]: " 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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24798@inbox.vuxu.org \
    --to=flexibeast@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).