* [PR PATCH] mono: switch to python3
@ 2019-09-12 21:01 voidlinux-github
2019-09-13 3:14 ` [PR PATCH] [Updated] " voidlinux-github
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-12 21:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
There is a new 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: 2166 bytes --]
From 9c6cb26ec42159e423700e7bc262967a005aa4d5 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..2524470da2c 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 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" ;;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] mono: switch to python3
2019-09-12 21:01 [PR PATCH] mono: switch to python3 voidlinux-github
2019-09-13 3:14 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-09-13 3:14 ` voidlinux-github
2019-09-13 5:08 ` [PR PATCH] [Merged]: " voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-13 3:14 UTC (permalink / raw)
To: ml
[-- 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" ;;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] mono: switch to python3
2019-09-12 21:01 [PR PATCH] mono: switch to python3 voidlinux-github
@ 2019-09-13 3:14 ` voidlinux-github
2019-09-13 3:14 ` voidlinux-github
2019-09-13 5:08 ` [PR PATCH] [Merged]: " voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-13 3:14 UTC (permalink / raw)
To: ml
[-- 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" ;;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: mono: switch to python3
2019-09-12 21:01 [PR PATCH] mono: switch to python3 voidlinux-github
2019-09-13 3:14 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-13 3:14 ` voidlinux-github
@ 2019-09-13 5:08 ` voidlinux-github
2 siblings, 0 replies; 4+ messages in thread
From: voidlinux-github @ 2019-09-13 5:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
There's a merged pull request on the void-packages repository
mono: switch to python3
https://github.com/void-linux/void-packages/pull/14425
Description:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-09-13 5:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 21:01 [PR PATCH] mono: switch to python3 voidlinux-github
2019-09-13 3:14 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-13 3:14 ` voidlinux-github
2019-09-13 5:08 ` [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).