Skip to content
Permalink
Browse files

python36: update to 3.6.11

Patch configure to recognise darwin 20.
  • Loading branch information
jmroot committed Jun 29, 2020
1 parent 50634e5 commit d16905a6aadff3ecb0af4ccb74f39682eaf65002
Showing with 28 additions and 16 deletions.
  1. +7 −6 lang/python36/Portfile
  2. +11 −0 lang/python36/files/darwin20.diff
  3. +5 −5 python/py-gdbm/Portfile
  4. +5 −5 python/py-tkinter/Portfile
@@ -7,14 +7,14 @@ name python36

epoch 20170717
# Remember to keep py36-tkinter and py36-gdbm's versions sync'd with this
version 3.6.10
version 3.6.11

set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
license PSF
platforms darwin
maintainers {jmr @jmroot} openmaintainer
maintainers {jmr @jmroot}

description An interpreted, object-oriented programming language
long_description Python is an interpreted, interactive, object-oriented \
@@ -25,9 +25,9 @@ master_sites ${homepage}ftp/python/${version}/

distname Python-${version}
use_xz yes
checksums md5 986078f11b39074be22a199e56491d98 \
rmd160 cf326d5d0fa468da181c537cbd6b91723e686b64 \
sha256 0a833c398ac8cd7c5538f7232d8531afef943c60495c504484f308dac3af40de
checksums md5 8f91c770b546a4938efbdb3064796c6c \
rmd160 d1577bbfb4fb6b9c47389383e2b5ff9abb7db9e3 \
sha256 741ebdcbc4e3937a5ff23517dd455ebf7d543ea9fef6f5cf6f46e575d6c4fda4

patchfiles patch-setup.py.diff \
patch-Lib-cgi.py.diff \
@@ -36,7 +36,8 @@ patchfiles patch-setup.py.diff \
patch-libedit.diff \
omit-local-site-packages.patch \
patch-configure-xcode4bug.diff \
patch-_osx_support.py.diff
patch-_osx_support.py.diff \
darwin20.diff

depends_build port:pkgconfig
depends_lib port:bzip2 \
@@ -0,0 +1,11 @@
--- configure.orig 2020-06-29 23:03:57.000000000 +1000
+++ configure 2020-06-29 23:06:58.000000000 +1000
@@ -3377,7 +3377,7 @@
# has no effect, don't bother defining them
Darwin/[6789].*)
define_xopen_source=no;;
- Darwin/1[0-9].*)
+ Darwin/[12][0-9].*)
define_xopen_source=no;;
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined
@@ -96,15 +96,15 @@ subport py35-gdbm {
livecheck.regex {Python (3\.5\.[0-9]+)}
}
subport py36-gdbm {
maintainers {jmr @jmroot} openmaintainer
maintainers {jmr @jmroot}
epoch 20170717
version 3.6.10
version 3.6.11
revision 0
homepage https://docs.python.org/release/${version}/library/dbm.html
use_xz yes
checksums md5 986078f11b39074be22a199e56491d98 \
rmd160 cf326d5d0fa468da181c537cbd6b91723e686b64 \
sha256 0a833c398ac8cd7c5538f7232d8531afef943c60495c504484f308dac3af40de
checksums md5 8f91c770b546a4938efbdb3064796c6c \
rmd160 d1577bbfb4fb6b9c47389383e2b5ff9abb7db9e3 \
sha256 741ebdcbc4e3937a5ff23517dd455ebf7d543ea9fef6f5cf6f46e575d6c4fda4
set setup_py "setup-py3k.py"
set extract_files "Modules/_gdbmmodule.c Modules/clinic/_gdbmmodule.c.h"
livecheck.regex {Python (3\.6\.[0-9]+)}
@@ -91,15 +91,15 @@ subport py35-tkinter {
set module_name tkinter
}
subport py36-tkinter {
maintainers {jmr @jmroot} openmaintainer
maintainers {jmr @jmroot}
epoch 20170717
version 3.6.10
version 3.6.11
revision 0
homepage https://docs.python.org/release/${version}/library/tkinter.html
use_xz yes
checksums md5 986078f11b39074be22a199e56491d98 \
rmd160 cf326d5d0fa468da181c537cbd6b91723e686b64 \
sha256 0a833c398ac8cd7c5538f7232d8531afef943c60495c504484f308dac3af40de
checksums md5 8f91c770b546a4938efbdb3064796c6c \
rmd160 d1577bbfb4fb6b9c47389383e2b5ff9abb7db9e3 \
sha256 741ebdcbc4e3937a5ff23517dd455ebf7d543ea9fef6f5cf6f46e575d6c4fda4
append extract_files " Modules/tkinter.h Modules/clinic/_tkinter.c.h"
set module_name tkinter
}

0 comments on commit d16905a

Please sign in to comment.
You can’t perform that action at this time.