From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mono: switch to python3
Date: Fri, 13 Sep 2019 05:14:59 +0200 [thread overview]
Message-ID: <20190913031459._oCSBg5Z9793jgo04zcodAvRPZN_Xi9rg3CcxsaoAJg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14425@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
There is an updated pull request by abenson against master on the void-packages repository
https://github.com/abenson/void-packages mono_py3
https://github.com/void-linux/void-packages/pull/14425
mono: switch to python3
A patch file from https://github.com/void-linux/void-packages/pull/14425.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mono_py3-14425.patch --]
[-- Type: text/x-diff, Size: 2174 bytes --]
From ad808918f1ac5b3da439265895c2f8094d4a7e36 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Thu, 12 Sep 2019 14:11:51 -0500
Subject: [PATCH] mono: switch to python3
---
srcpkgs/mono/patches/fix-heapviz-import.patch | 11 +++++++++++
srcpkgs/mono/template | 7 ++++---
2 files changed, 15 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/mono/patches/fix-heapviz-import.patch
diff --git a/srcpkgs/mono/patches/fix-heapviz-import.patch b/srcpkgs/mono/patches/fix-heapviz-import.patch
new file mode 100644
index 00000000000..1ab78851687
--- /dev/null
+++ b/srcpkgs/mono/patches/fix-heapviz-import.patch
@@ -0,0 +1,11 @@
+--- scripts/mono-heapviz.orig
++++ scripts/mono-heapviz
+@@ -7,7 +7,7 @@
+
+ from __future__ import print_function
+ import sys, os
+-import Image, ImageDraw
++from PIL import Image, ImageDraw
+ from xml.sax import ContentHandler, make_parser
+ from xml.sax.handler import feature_namespaces
+ from optparse import OptionParser
diff --git a/srcpkgs/mono/template b/srcpkgs/mono/template
index 66d732403e7..bf28c67e192 100644
--- a/srcpkgs/mono/template
+++ b/srcpkgs/mono/template
@@ -1,13 +1,13 @@
# Template file for 'mono'
pkgname=mono
version=6.0.0.327
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--disable-system-aot"
# XXX: figure out how to split this up into subpkgs.
-hostmakedepends="perl python cmake"
+hostmakedepends="perl python3 cmake"
makedepends="zlib-devel libX11-devel libgdiplus-devel"
-depends="ca-certificates python"
+depends="ca-certificates python3-Pillow"
short_desc="Free implementation of the .NET platform including runtime and compiler"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="MIT, BSD-3-Clause, GPL-2.0-or-later, LGPL-2.0-or-later, MPL-1.1"
@@ -15,6 +15,7 @@ homepage="https://www.mono-project.com"
distfiles="https://download.mono-project.com/sources/mono/${pkgname}-${version}.tar.xz"
checksum=f51184ce4b90c93fc2bf5ca02775dd2a1ea023e056089d286ea72f1c68586442
lib32disabled=yes
+python_version="3"
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-boehm --without-sigaltstack" ;;
next prev parent reply other threads:[~2019-09-13 3:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-12 21:01 [PR PATCH] " voidlinux-github
2019-09-13 3:14 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-13 3:14 ` voidlinux-github [this message]
2019-09-13 5:08 ` [PR PATCH] [Merged]: " voidlinux-github
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=20190913031459._oCSBg5Z9793jgo04zcodAvRPZN_Xi9rg3CcxsaoAJg@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).