* [PR PATCH] python-mechanize: add python3 subpackage
@ 2019-10-07 18:13 voidlinux-github
2019-10-08 19:36 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-07 18:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
There is a new pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages python-mechanize
https://github.com/void-linux/void-packages/pull/15213
python-mechanize: add python3 subpackage
A patch file from https://github.com/void-linux/void-packages/pull/15213.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-mechanize-15213.patch --]
[-- Type: text/x-diff, Size: 1835 bytes --]
From e2a321e2acc2a5c07967f45a7fb5f7f073eb0215 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Mon, 7 Oct 2019 21:11:12 +0300
Subject: [PATCH] python-mechanize: add python3 subpackage
---
srcpkgs/python-mechanize/template | 19 +++++++++++++++----
srcpkgs/python3-mechanize | 1 +
2 files changed, 16 insertions(+), 4 deletions(-)
create mode 120000 srcpkgs/python3-mechanize
diff --git a/srcpkgs/python-mechanize/template b/srcpkgs/python-mechanize/template
index 36566965bd5..c5b2b5789a7 100644
--- a/srcpkgs/python-mechanize/template
+++ b/srcpkgs/python-mechanize/template
@@ -1,14 +1,14 @@
# Template file for 'python-mechanize'
pkgname=python-mechanize
version=0.4.3
-revision=1
+revision=2
archs=noarch
wrksrc="mechanize-${version}"
-build_style=python2-module
+build_style=python-module
pycompile_module="mechanize"
-hostmakedepends="python-setuptools"
+hostmakedepends="python-setuptools python3-setuptools"
depends="python python-html5lib"
-short_desc="Stateful programmatic web browsing in Python"
+short_desc="Stateful programmatic web browsing (Python2)"
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
license="BSD-3-Clause"
homepage="https://github.com/python-mechanize/mechanize"
@@ -18,3 +18,14 @@ checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
post_install() {
vlicense LICENSE
}
+
+python3-mechanize_package() {
+ archs=noarch
+ depends="python3 python3-html5lib"
+ pycompile_module="mechanize"
+ short_desc="${short_desc/Python2/Python3}"
+ pkg_install() {
+ vmove usr/lib/python3*
+ vlicense LICENSE
+ }
+}
diff --git a/srcpkgs/python3-mechanize b/srcpkgs/python3-mechanize
new file mode 120000
index 00000000000..e96661e4701
--- /dev/null
+++ b/srcpkgs/python3-mechanize
@@ -0,0 +1 @@
+python-mechanize
\ No newline at end of file
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: python-mechanize: add python3 subpackage
2019-10-07 18:13 [PR PATCH] python-mechanize: add python3 subpackage voidlinux-github
@ 2019-10-08 19:36 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-08 19:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
There's a merged pull request on the void-packages repository
python-mechanize: add python3 subpackage
https://github.com/void-linux/void-packages/pull/15213
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-08 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 18:13 [PR PATCH] python-mechanize: add python3 subpackage 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).