Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python-regex: update to 2019.08.19.
@ 2019-10-07 18:12 voidlinux-github
  2019-10-07 19:11 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2019-10-07 18:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mobinmob/void-packages python-regex
https://github.com/void-linux/void-packages/pull/15211

python-regex: update to 2019.08.19.
Add python3 subpackage.

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

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

From b2f805dec28b198428c0a7d25812b9fe75b168f4 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 7 Oct 2019 21:08:56 +0300
Subject: [PATCH] python-regex: update to 2019.08.19.

---
 srcpkgs/python-regex/template | 26 +++++++++++++++++++++++---
 srcpkgs/python3-regex         |  1 +
 2 files changed, 24 insertions(+), 3 deletions(-)
 create mode 120000 srcpkgs/python3-regex

diff --git a/srcpkgs/python-regex/template b/srcpkgs/python-regex/template
index 7036a927150..cba6593a751 100644
--- a/srcpkgs/python-regex/template
+++ b/srcpkgs/python-regex/template
@@ -1,9 +1,9 @@
 # Template file for 'python-regex'
 pkgname=python-regex
-version=2019.04.14
+version=2019.08.19
 revision=1
 wrksrc="regex-${version}"
-build_style=python2-module
+build_style=python-module
 pycompile_module="_regex_core.py regex.py test_regex.py"
 hostmakedepends="python-devel python3-devel"
 makedepends="python-devel python3-devel"
@@ -12,4 +12,24 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="PSF"
 homepage="https://pypi.org/project/regex/"
 distfiles="${PYPI_SITE}/r/regex/regex-${version}.tar.gz"
-checksum=d56ce4c7b1a189094b9bee3b81c4aeb3f1ba3e375e91627ec8561b6ab483d0a8
+checksum=587b62d48ca359d2d4f02d486f1f0aa9a20fbaf23a9d4198c4bed72ab2f6c849
+
+post_install() {
+	local i
+	for i in docs/*.* ; do
+		vdoc $i
+	done
+}
+
+python3-regex_package() {
+	depends="python3"
+	pycompile_module="_regex_core.py regex.py test_regex.py"
+	short_desc="${short_desc/Python2/Python3}"
+	pkg_install() {
+	vmove usr/lib/python3*
+	local i
+	for i in docs/*.* ; do
+		vdoc $i
+	done
+	}
+}
diff --git a/srcpkgs/python3-regex b/srcpkgs/python3-regex
new file mode 120000
index 00000000000..172b6e9673d
--- /dev/null
+++ b/srcpkgs/python3-regex
@@ -0,0 +1 @@
+python-regex
\ No newline at end of file

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

end of thread, other threads:[~2019-10-08 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 18:12 [PR PATCH] python-regex: update to 2019.08.19 voidlinux-github
2019-10-07 19:11 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-07 19:11 ` voidlinux-github
2019-10-08 19:36 ` [PR PATCH] [Merged]: " voidlinux-github

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).