summaryrefslogtreecommitdiff
path: root/pkg/python
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-02-02 13:29:29 -0800
committerMichael Forney <mforney@mforney.org>2017-02-07 14:36:26 -0800
commit1fa2eca8bed8145bcfb877f688be334b3867c3eb (patch)
tree4d20d606dc4f78997b0f58a27ca077fd0d3caf08 /pkg/python
parent10706bc556b0760c4f5b14c9c08341d722ece492 (diff)
python: Update to 3.6.0
Diffstat (limited to 'pkg/python')
-rw-r--r--pkg/python/.gitignore2
-rw-r--r--pkg/python/Setup5
-rw-r--r--pkg/python/gen.rc11
-rw-r--r--pkg/python/pyconfig.h31
-rw-r--r--pkg/python/pylibs.txt128
-rw-r--r--pkg/python/rev2
-rw-r--r--pkg/python/sha2562
-rw-r--r--pkg/python/url2
8 files changed, 82 insertions, 101 deletions
diff --git a/pkg/python/.gitignore b/pkg/python/.gitignore
index 4dfa1ba0..882c7e61 100644
--- a/pkg/python/.gitignore
+++ b/pkg/python/.gitignore
@@ -1,2 +1,2 @@
-/Python-3.5.3.tar.xz
+/Python-3.6.0.tar.xz
/src
diff --git a/pkg/python/Setup b/pkg/python/Setup
index 3aac233d..36f94388 100644
--- a/pkg/python/Setup
+++ b/pkg/python/Setup
@@ -1,7 +1,6 @@
*static*
# from Setup.local
_thread _threadmodule.c
-_signal signalmodule.c
# from Setup.dist
posix posixmodule.c
@@ -15,6 +14,7 @@ _operator _operator.c
_collections _collectionsmodule.c
itertools itertoolsmodule.c
atexit atexitmodule.c
+_signal signalmodule.c
_stat _stat.c
time timemodule.c
_locale _localemodule.c
@@ -35,6 +35,7 @@ _pickle _pickle.c
_datetime _datetimemodule.c
_bisect _bisectmodule.c
_heapq _heapqmodule.c
+_asyncio _asynciomodule.c
unicodedata unicodedata.c
fcntl fcntlmodule.c
spwd spwdmodule.c
@@ -50,10 +51,12 @@ termios termios.c
resource resource.c
_posixsubprocess _posixsubprocess.c
#audioop audioop.c
+_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c
#_md5 md5module.c
#_sha1 sha1module.c
#_sha256 sha256module.c
#_sha512 sha512module.c
+_sha3 _sha3/sha3module.c
#_tkinter _tkinter.c tkappinit.c
#syslog syslogmodule.c
#_curses _cursesmodule.c
diff --git a/pkg/python/gen.rc b/pkg/python/gen.rc
index 93dcc7ab..56d02ea8 100644
--- a/pkg/python/gen.rc
+++ b/pkg/python/gen.rc
@@ -85,7 +85,7 @@ srcs=(\
getargs.c\
getcompiler.c\
getcopyright.c\
- getplatform.c\
+ getplatform.c.o\
getversion.c\
graminit.c\
import.c\
@@ -107,7 +107,7 @@ srcs=(\
random.c\
structmember.c\
symtable.c\
- sysmodule.c\
+ sysmodule.c.o\
traceback.c\
getopt.c\
pystrcmp.c\
@@ -161,6 +161,9 @@ cc Modules/getpath.c ; defs='-D '''^(\
'VPATH='""\
)^'''' with cflags '$cflags '$"defs
+cc Python/getplatform.c ; with cflags '$cflags -D PLATFORM=''"linux"'''
+cc Python/sysmodule.c ; with cflags '$cflags -D ABIFLAGS=''"m"'''
+
phony deps $deps
lib libpython.a -d '$dir'/deps $srcs
@@ -172,8 +175,8 @@ pylibs=`{grep -v '^#' pylibs.txt}
checkstatus
for(f in $pylibs)
file lib/python3.5/$f '$srcdir'/Lib/$f 644
-for(f in _sysconfigdata.py Makefile)
- file lib/python3.5/$f '$dir'/lib/$f 644
+file lib/python3.5/_sysconfigdata_m_linux_.py '$dir'/lib/_sysconfigdata.py 644
+file lib/python3.5/Makefile '$dir'/lib/Makefile 644
dir lib/python3.5/lib-dynload 755
gen_inputs='$dir'/^(Setup modules.awk)
diff --git a/pkg/python/pyconfig.h b/pkg/python/pyconfig.h
index 1e812a22..35d66e32 100644
--- a/pkg/python/pyconfig.h
+++ b/pkg/python/pyconfig.h
@@ -4,6 +4,7 @@
#define Py_PYCONFIG_H
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* #undef AIX_GENUINE_CPLUSPLUS */
+/* #undef ANDROID_API_LEVEL */
/* #undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754 */
/* #undef DOUBLE_IS_BIG_ENDIAN_IEEE754 */
#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
@@ -29,7 +30,6 @@
/* #undef HAVE_BROKEN_SEM_GETVALUE */
/* #undef HAVE_BROKEN_UNSETENV */
#define HAVE_BUILTIN_ATOMIC 1
-#define HAVE_C99_BOOL 1
/* #undef HAVE_CHFLAGS */
#define HAVE_CHROOT 1
#define HAVE_COMPUTED_GOTOS 1
@@ -42,6 +42,13 @@
#define HAVE_DECL_ISFINITE 1
#define HAVE_DECL_ISINF 1
#define HAVE_DECL_ISNAN 1
+/* #undef HAVE_DECL_RTLD_DEEPBIND */
+#define HAVE_DECL_RTLD_GLOBAL 1
+#define HAVE_DECL_RTLD_LAZY 1
+#define HAVE_DECL_RTLD_LOCAL 1
+#define HAVE_DECL_RTLD_NODELETE 1
+#define HAVE_DECL_RTLD_NOLOAD 1
+#define HAVE_DECL_RTLD_NOW 1
/* #undef HAVE_DECL_TZNAME */
#define HAVE_DEVICE_MACROS 1
/* #undef HAVE_DEV_PTC */
@@ -88,8 +95,6 @@
/* #undef HAVE_IEEEFP_H */
#define HAVE_INET_ATON 1
#define HAVE_INITGROUPS 1
-#define HAVE_INT32_T 1
-#define HAVE_INT64_T 1
/* #undef HAVE_IO_H */
/* #undef HAVE_IPA_PURE_CONST_BUG */
/* #undef HAVE_KQUEUE */
@@ -112,7 +117,6 @@
#define HAVE_LINUX_RANDOM_H 1
#define HAVE_LINUX_TIPC_H 1
#define HAVE_LONG_DOUBLE 1
-#define HAVE_LONG_LONG 1
#define HAVE_LUTIMES 1
#define HAVE_MAKEDEV 1
#define HAVE_MEMORY_H 1
@@ -122,7 +126,6 @@
/* #undef HAVE_NDIR_H */
#define HAVE_NETPACKET_PACKET_H 1
#define HAVE_OPENPTY 1
-/* #undef HAVE_OSX105_SDK */
#define HAVE_PIPE2 1
/* #undef HAVE_PLOCK */
#define HAVE_PRLIMIT 1
@@ -147,6 +150,7 @@
#define HAVE_SETRESGID 1
#define HAVE_SETRESUID 1
#define HAVE_SHADOW_H 1
+#define HAVE_SOCKADDR_ALG 1
/* #undef HAVE_SOCKADDR_SA_LEN */
#define HAVE_SOCKADDR_STORAGE 1
#define HAVE_STAT_TV_NSEC 1
@@ -154,6 +158,8 @@
#define HAVE_STDARG_PROTOTYPES 1
#define HAVE_STD_ATOMIC 1
#define HAVE_STRLCPY 1
+#define HAVE_STRUCT_PASSWD_PW_GECOS 1
+#define HAVE_STRUCT_PASSWD_PW_PASSWD 1
/* #undef HAVE_STRUCT_STAT_ST_BIRTHTIME */
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
#define HAVE_STRUCT_STAT_ST_BLOCKS 1
@@ -178,7 +184,6 @@
/* #undef HAVE_SYS_NDIR_H */
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_POLL_H 1
-/* #undef HAVE_SYS_RANDOM_H */
#define HAVE_SYS_SENDFILE_H 1
#define HAVE_SYS_SYSCALL_H 1
/* #undef HAVE_SYS_SYS_DOMAIN_H */
@@ -189,8 +194,6 @@
/* #undef HAVE_TMPNAM_R */
#define HAVE_TM_ZONE 1
/* #undef HAVE_UCS4_TCL */
-#define HAVE_UINT32_T 1
-#define HAVE_UINT64_T 1
/* #undef HAVE_USABLE_WCHAR_T */
/* #undef HAVE_UTIL_H */
#define HAVE_WAIT3 1
@@ -211,7 +214,6 @@
/* #undef POSIX_SEMAPHORES_NOT_ENABLED */
#define PTHREAD_SYSTEM_SCHED_SUPPORTED 1
/* #undef PYLONG_BITS_IN_DIGIT */
-#define PY_FORMAT_LONG_LONG "ll"
#define PY_FORMAT_SIZE_T "z"
/* #undef Py_DEBUG */
/* #undef Py_ENABLE_SHARED */
@@ -257,16 +259,15 @@
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
-#define VA_LIST_IS_ARRAY 1
/* #undef WANT_SIGFPE_HANDLER */
/* #undef WINDOW_HAS_FLAGS */
#define WITH_DOC_STRINGS 1
+/* #undef WITH_DTRACE */
/* #undef WITH_DYLD */
/* #undef WITH_LIBINTL */
/* #undef WITH_NEXT_FRAMEWORK */
#define WITH_PYMALLOC 1
#define WITH_THREAD 1
-/* #undef WITH_TSC */
/* #undef WITH_VALGRIND */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
@@ -293,10 +294,6 @@
/* #undef _POSIX_SOURCE */
/* #undef _POSIX_THREADS */
#define _REENTRANT 1
- #define below would cause a syntax error. */
-/* #undef _UINT32_T */
- #define below would cause a syntax error. */
-/* #undef _UINT64_T */
#define _XOPEN_SOURCE 700
#define _XOPEN_SOURCE_EXTENDED 1
#define __BSD_VISIBLE 1
@@ -309,8 +306,6 @@
#ifndef __cplusplus
/* #undef inline */
#endif
-/* #undef int32_t */
-/* #undef int64_t */
/* #undef mode_t */
/* #undef off_t */
/* #undef pid_t */
@@ -318,8 +313,6 @@
/* #undef size_t */
/* #undef socklen_t */
/* #undef uid_t */
-/* #undef uint32_t */
-/* #undef uint64_t */
/* #undef volatile */
#if defined(__USLC__) && defined(__SCO_VERSION__)
#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
diff --git a/pkg/python/pylibs.txt b/pkg/python/pylibs.txt
index 69a9ef0c..a4128ee7 100644
--- a/pkg/python/pylibs.txt
+++ b/pkg/python/pylibs.txt
@@ -22,6 +22,7 @@ ast.py
asynchat.py
asyncio/windows_utils.py
asyncio/__init__.py
+asyncio/base_futures.py
asyncio/coroutines.py
asyncio/constants.py
asyncio/tasks.py
@@ -30,6 +31,7 @@ asyncio/queues.py
asyncio/streams.py
asyncio/subprocess.py
asyncio/locks.py
+asyncio/base_tasks.py
asyncio/log.py
asyncio/base_subprocess.py
asyncio/futures.py
@@ -58,7 +60,6 @@ cmd.py
code.py
codecs.py
codeop.py
-collections/__main__.py
collections/__init__.py
collections/abc.py
colorsys.py
@@ -183,6 +184,7 @@ encodings/mbcs.py
encodings/big5.py
encodings/iso2022_kr.py
encodings/utf_8_sig.py
+encodings/oem.py
encodings/cp860.py
encodings/ptcp154.py
encodings/iso8859_4.py
@@ -329,66 +331,64 @@ http/client.py
http/cookiejar.py
http/cookies.py
http/server.py
-idlelib/CodeContext.py
idlelib/__main__.py
-idlelib/configSectionNameDialog.py
-idlelib/configDialog.py
-idlelib/FileList.py
-idlelib/EditorWindow.py
-idlelib/aboutDialog.py
-idlelib/FormatParagraph.py
-idlelib/dynOptionMenuWidget.py
+idlelib/search.py
+idlelib/filelist.py
+idlelib/paragraph.py
+idlelib/autocomplete_w.py
+idlelib/pyparse.py
idlelib/__init__.py
-idlelib/HyperParser.py
-idlelib/SearchEngine.py
-idlelib/IdleHistory.py
+idlelib/searchbase.py
idlelib/rpc.py
-idlelib/TreeWidget.py
-idlelib/PyParse.py
-idlelib/IOBinding.py
+idlelib/replace.py
+idlelib/redirector.py
+idlelib/undo.py
+idlelib/autocomplete.py
idlelib/idle.py
-idlelib/SearchDialogBase.py
-idlelib/ScriptBinding.py
-idlelib/MultiCall.py
-idlelib/textView.py
-idlelib/CallTips.py
-idlelib/Percolator.py
-idlelib/RemoteObjectBrowser.py
-idlelib/ObjectBrowser.py
-idlelib/keybindingDialog.py
-idlelib/ColorDelegator.py
-idlelib/ScrolledList.py
+idlelib/statusbar.py
+idlelib/iomenu.py
+idlelib/config.py
+idlelib/autoexpand.py
+idlelib/textview.py
+idlelib/grep.py
+idlelib/zoomheight.py
+idlelib/outwin.py
+idlelib/calltips.py
+idlelib/pyshell.py
+idlelib/browser.py
+idlelib/tooltip.py
+idlelib/tree.py
+idlelib/config_key.py
+idlelib/debugger.py
+idlelib/mainmenu.py
+idlelib/hyperparser.py
idlelib/help.py
-idlelib/idlever.py
-idlelib/OutputWindow.py
-idlelib/Debugger.py
+idlelib/pathbrowser.py
+idlelib/searchengine.py
idlelib/run.py
-idlelib/PathBrowser.py
-idlelib/PyShell.py
-idlelib/ClassBrowser.py
-idlelib/CallTipWindow.py
-idlelib/UndoDelegator.py
-idlelib/configHelpSourceEdit.py
-idlelib/RstripExtension.py
-idlelib/Bindings.py
-idlelib/Delegator.py
-idlelib/AutoExpand.py
-idlelib/StackViewer.py
-idlelib/configHandler.py
+idlelib/editor.py
+idlelib/multicall.py
+idlelib/debugger_r.py
+idlelib/help_about.py
+idlelib/windows.py
+idlelib/calltip_w.py
+idlelib/macosx.py
+idlelib/scrolledlist.py
+idlelib/rstrip.py
+idlelib/delegator.py
+idlelib/debugobj.py
+idlelib/stackviewer.py
idlelib/tabbedpages.py
-idlelib/macosxSupport.py
-idlelib/AutoComplete.py
-idlelib/MultiStatusBar.py
-idlelib/AutoCompleteWindow.py
-idlelib/GrepDialog.py
-idlelib/ToolTip.py
-idlelib/SearchDialog.py
-idlelib/ParenMatch.py
-idlelib/ReplaceDialog.py
-idlelib/RemoteDebugger.py
-idlelib/ZoomHeight.py
-idlelib/WidgetRedirector.py
-idlelib/WindowList.py
+idlelib/debugobj_r.py
+idlelib/percolator.py
+idlelib/parenmatch.py
+idlelib/codecontext.py
+idlelib/colorizer.py
+idlelib/runscript.py
+idlelib/history.py
+idlelib/query.py
+idlelib/configdialog.py
+idlelib/dynoption.py
imaplib.py
imghdr.py
imp.py
@@ -533,25 +533,6 @@ pickle.py
pickletools.py
pipes.py
pkgutil.py
-plat-aix4/IN.py
-plat-darwin/IN.py
-plat-freebsd4/IN.py
-plat-freebsd5/IN.py
-plat-freebsd6/IN.py
-plat-freebsd7/IN.py
-plat-freebsd8/IN.py
-plat-linux/TYPES.py
-plat-linux/DLFCN.py
-plat-linux/IN.py
-plat-linux/CDROM.py
-plat-netbsd1/IN.py
-plat-sunos5/TYPES.py
-plat-sunos5/STROPTS.py
-plat-sunos5/DLFCN.py
-plat-sunos5/IN.py
-plat-sunos5/CDIO.py
-plat-unixware7/STROPTS.py
-plat-unixware7/IN.py
platform.py
plistlib.py
poplib.py
@@ -573,6 +554,7 @@ reprlib.py
rlcompleter.py
runpy.py
sched.py
+secrets.py
selectors.py
shelve.py
shlex.py
diff --git a/pkg/python/rev b/pkg/python/rev
index 0cfbf088..00750edc 100644
--- a/pkg/python/rev
+++ b/pkg/python/rev
@@ -1 +1 @@
-2
+3
diff --git a/pkg/python/sha256 b/pkg/python/sha256
index 7562b291..c1022666 100644
--- a/pkg/python/sha256
+++ b/pkg/python/sha256
@@ -1 +1 @@
-eefe2ad6575855423ab630f5b51a8ef6e5556f774584c06beab4926f930ddbb0 Python-3.5.3.tar.xz
+b0c5f904f685e32d9232f7bdcbece9819a892929063b6e385414ad2dd6a23622 Python-3.6.0.tar.xz
diff --git a/pkg/python/url b/pkg/python/url
index 49dac4fa..20b991b7 100644
--- a/pkg/python/url
+++ b/pkg/python/url
@@ -1 +1 @@
-url = "https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tar.xz"
+url = "https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz"