From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python-Markdown: add python_version
Date: Sun, 26 Apr 2020 00:09:39 +0200 [thread overview]
Message-ID: <20200425220939.h5y618F8MWvNz6q7CzCcrRd8e49-tDz2zq0-1RqYFAw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21317@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
There is an updated pull request by fosslinux against master on the void-packages repository
https://github.com/fosslinux/void-packages python-Markdown-python-version
https://github.com/void-linux/void-packages/pull/21317
python-Markdown: add python_version
A patch file from https://github.com/void-linux/void-packages/pull/21317.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-Markdown-python-version-21317.patch --]
[-- Type: text/x-diff, Size: 2142 bytes --]
From 5537b0a85483a7c15fc086d3a30be35704d1301b Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sat, 25 Apr 2020 08:40:23 +1000
Subject: [PATCH 1/2] python-Markdown: use python2-module build style, fix
xlint, fix alternatives
---
srcpkgs/python-Markdown/template | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/python-Markdown/template b/srcpkgs/python-Markdown/template
index 3996f9ecf8a..fa75ca590cc 100644
--- a/srcpkgs/python-Markdown/template
+++ b/srcpkgs/python-Markdown/template
@@ -1,21 +1,21 @@
# Template file for 'python-Markdown'
pkgname=python-Markdown
version=3.1.1
-revision=2
+revision=3
archs=noarch
wrksrc="Markdown-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
depends="python-setuptools"
-pycompile_module="markdown"
short_desc="Python2 implementation of John Gruber's Markdown"
maintainer="Peter Bui <pbui@github.bx612.space>"
+license="BSD-3-Clause"
homepage="https://github.com/waylan/Python-Markdown"
-license="3-clause-BSD"
distfiles="${PYPI_SITE}/M/Markdown/Markdown-${version}.tar.gz"
checksum=2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a
alternatives="markdown:markdown_py:/usr/bin/markdown_py2"
post_install() {
vlicense LICENSE.md LICENSE
+ mv ${DESTDIR}/usr/bin/markdown_py ${DESTDIR}/usr/bin/markdown_py2
}
From c4a995ff847e20e455e15db045c072c0eefc72c2 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Sun, 26 Apr 2020 08:08:22 +1000
Subject: [PATCH 2/2] python3-Markdown: fix alternatives
---
srcpkgs/python3-Markdown/template | 1 +
1 file changed, 1 insertion(+)
diff --git a/srcpkgs/python3-Markdown/template b/srcpkgs/python3-Markdown/template
index 4c3b30d5e68..04116feaddf 100644
--- a/srcpkgs/python3-Markdown/template
+++ b/srcpkgs/python3-Markdown/template
@@ -17,4 +17,5 @@ alternatives="markdown:markdown_py:/usr/bin/markdown_py3"
post_install() {
vlicense LICENSE.md LICENSE
+ mv ${DESTDIR}/usr/bin/markdown_py ${DESTDIR}/usr/bin/markdown_py3
}
next prev parent reply other threads:[~2020-04-25 22:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 22:54 [PR PATCH] " fosslinux
2020-04-24 23:17 ` Chocimier
2020-04-24 23:21 ` [PR PATCH] [Updated] " fosslinux
2020-04-24 23:22 ` fosslinux
2020-04-25 2:37 ` [PR PATCH] [Updated] " fosslinux
2020-04-25 2:37 ` fosslinux
2020-04-25 6:31 ` [PR PATCH] [Updated] " fosslinux
2020-04-25 7:43 ` Chocimier
2020-04-25 22:05 ` fosslinux
2020-04-25 22:09 ` fosslinux [this message]
2020-04-27 20:31 ` Chocimier
2020-04-28 22:47 ` [PR PATCH] [Updated] " fosslinux
2020-04-28 22:49 ` fosslinux
2020-04-28 23:15 ` Chocimier
2020-04-28 23:15 ` [PR PATCH] [Merged]: " Chocimier
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=20200425220939.h5y618F8MWvNz6q7CzCcrRd8e49-tDz2zq0-1RqYFAw@z \
--to=fosslinux@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).