pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang python311 py311-html-docs: added version 3.11.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf40c1ea2d94
branches:  trunk
changeset: 387493:bf40c1ea2d94
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Oct 31 09:50:40 2022 +0000

description:
python311 py311-html-docs: added version 3.11.0

Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite. See Faster CPython for details.

New syntax features:

PEP 654: Exception Groups and except*

New built-in features:

PEP 678: Exceptions can be enriched with notes

New standard library modules:

PEP 680: tomllib — Support for parsing TOML in the Standard Library

Interpreter improvements:

PEP 657: Fine-grained error locations in tracebacks
New -P command line option and PYTHONSAFEPATH environment variable to disable automatically prepending potentially unsafe paths to sys.path

New typing features:

PEP 646: Variadic generics
PEP 655: Marking individual TypedDict items as required or not-required
PEP 673: Self type
PEP 675: Arbitrary literal string type
PEP 681: Data class transforms

Important deprecations, removals and restrictions:

PEP 594: Many legacy standard library modules have been deprecated and will be removed in Python 3.13
PEP 624: Py_UNICODE encoder APIs have been removed
PEP 670: Macros converted to static inline functions

diffstat:

 lang/Makefile                                               |     4 +-
 lang/py311-html-docs/DESCR                                  |     1 +
 lang/py311-html-docs/Makefile                               |    27 +
 lang/py311-html-docs/PLIST                                  |  1064 +
 lang/py311-html-docs/distinfo                               |     5 +
 lang/python311/ALTERNATIVES                                 |     4 +
 lang/python311/DESCR                                        |    16 +
 lang/python311/Makefile                                     |   236 +
 lang/python311/PLIST                                        |  5944 +++++++++++
 lang/python311/PLIST.Darwin                                 |     2 +
 lang/python311/PLIST.FreeBSD                                |     2 +
 lang/python311/PLIST.IRIX                                   |    66 +
 lang/python311/PLIST.Linux                                  |     3 +
 lang/python311/PLIST.NetBSD                                 |     2 +
 lang/python311/PLIST.SunOS                                  |     2 +
 lang/python311/dist.mk                                      |     8 +
 lang/python311/distinfo                                     |    15 +
 lang/python311/options.mk                                   |    41 +
 lang/python311/patches/patch-Lib_ctypes_util.py             |    76 +
 lang/python311/patches/patch-Lib_distutils_unixccompiler.py |    31 +
 lang/python311/patches/patch-Lib_lib2to3_pgen2_driver.py    |    32 +
 lang/python311/patches/patch-Lib_sysconfig.py               |    25 +
 lang/python311/patches/patch-Makefile.pre.in                |   114 +
 lang/python311/patches/patch-Modules_socketmodule.c         |    24 +
 lang/python311/patches/patch-Python_thread__pthread.h       |    16 +
 lang/python311/patches/patch-configure                      |    81 +
 lang/python311/patches/patch-pyconfig.h.in                  |    16 +
 lang/python311/patches/patch-setup.py                       |   175 +
 28 files changed, 8031 insertions(+), 1 deletions(-)

diffs (truncated from 8159 to 300 lines):

diff -r 9f58ce485561 -r bf40c1ea2d94 lang/Makefile
--- a/lang/Makefile     Mon Oct 31 09:08:34 2022 +0000
+++ b/lang/Makefile     Mon Oct 31 09:50:40 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.658 2022/10/10 03:28:55 taca Exp $
+# $NetBSD: Makefile,v 1.659 2022/10/31 09:50:40 adam Exp $
 #
 
 COMMENT=       Programming languages
@@ -243,11 +243,13 @@
 SUBDIR+=       py-uncompyle6
 SUBDIR+=       py27-html-docs
 SUBDIR+=       py310-html-docs
+SUBDIR+=       py311-html-docs
 SUBDIR+=       py37-html-docs
 SUBDIR+=       py38-html-docs
 SUBDIR+=       py39-html-docs
 SUBDIR+=       python27
 SUBDIR+=       python310
+SUBDIR+=       python311
 SUBDIR+=       python37
 SUBDIR+=       python38
 SUBDIR+=       python39
diff -r 9f58ce485561 -r bf40c1ea2d94 lang/py311-html-docs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py311-html-docs/DESCR        Mon Oct 31 09:50:40 2022 +0000
@@ -0,0 +1,1 @@
+HTML Documentation for Python 3.11
diff -r 9f58ce485561 -r bf40c1ea2d94 lang/py311-html-docs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py311-html-docs/Makefile     Mon Oct 31 09:50:40 2022 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2022/10/31 09:50:40 adam Exp $
+
+VERS=          3.11.0
+DISTNAME=      python-${VERS}-docs-html
+PKGNAME=       py311-html-docs-${VERS}
+CATEGORIES=    lang python
+MASTER_SITES=  https://www.python.org/ftp/python/doc/${VERS}/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    leot%NetBSD.org@localhost
+HOMEPAGE=      https://www.python.org/doc/
+COMMENT=       HTML Documentation for Python 3.11
+LICENSE=       python-software-foundation
+
+USE_TOOLS+=    pax
+
+NO_CONFIGURE=  yes
+NO_BUILD=      yes
+
+HTMLDIR=       share/doc/python3.11
+
+INSTALLATION_DIRS=     ${HTMLDIR}
+
+do-install:
+       cd ${WRKSRC} && ${PAX} -rw -pp . ${DESTDIR}${PREFIX}/${HTMLDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 9f58ce485561 -r bf40c1ea2d94 lang/py311-html-docs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py311-html-docs/PLIST        Mon Oct 31 09:50:40 2022 +0000
@@ -0,0 +1,1064 @@
+@comment $NetBSD: PLIST,v 1.1 2022/10/31 09:50:40 adam Exp $
+share/doc/python3.11/.buildinfo
+share/doc/python3.11/_downloads/6dc1f3f4f0e6ca13cb42ddf4d6cbc8af/tzinfo_examples.py
+share/doc/python3.11/_images/hashlib-blake2-tree.png
+share/doc/python3.11/_images/logging_flow.png
+share/doc/python3.11/_images/pathlib-inheritance.png
+share/doc/python3.11/_images/tk_msg.png
+share/doc/python3.11/_images/turtle-star.png
+share/doc/python3.11/_images/win_installer.png
+share/doc/python3.11/_sources/about.rst.txt
+share/doc/python3.11/_sources/bugs.rst.txt
+share/doc/python3.11/_sources/c-api/abstract.rst.txt
+share/doc/python3.11/_sources/c-api/allocation.rst.txt
+share/doc/python3.11/_sources/c-api/apiabiversion.rst.txt
+share/doc/python3.11/_sources/c-api/arg.rst.txt
+share/doc/python3.11/_sources/c-api/bool.rst.txt
+share/doc/python3.11/_sources/c-api/buffer.rst.txt
+share/doc/python3.11/_sources/c-api/bytearray.rst.txt
+share/doc/python3.11/_sources/c-api/bytes.rst.txt
+share/doc/python3.11/_sources/c-api/call.rst.txt
+share/doc/python3.11/_sources/c-api/capsule.rst.txt
+share/doc/python3.11/_sources/c-api/cell.rst.txt
+share/doc/python3.11/_sources/c-api/code.rst.txt
+share/doc/python3.11/_sources/c-api/codec.rst.txt
+share/doc/python3.11/_sources/c-api/complex.rst.txt
+share/doc/python3.11/_sources/c-api/concrete.rst.txt
+share/doc/python3.11/_sources/c-api/contextvars.rst.txt
+share/doc/python3.11/_sources/c-api/conversion.rst.txt
+share/doc/python3.11/_sources/c-api/coro.rst.txt
+share/doc/python3.11/_sources/c-api/datetime.rst.txt
+share/doc/python3.11/_sources/c-api/descriptor.rst.txt
+share/doc/python3.11/_sources/c-api/dict.rst.txt
+share/doc/python3.11/_sources/c-api/exceptions.rst.txt
+share/doc/python3.11/_sources/c-api/file.rst.txt
+share/doc/python3.11/_sources/c-api/float.rst.txt
+share/doc/python3.11/_sources/c-api/frame.rst.txt
+share/doc/python3.11/_sources/c-api/function.rst.txt
+share/doc/python3.11/_sources/c-api/gcsupport.rst.txt
+share/doc/python3.11/_sources/c-api/gen.rst.txt
+share/doc/python3.11/_sources/c-api/import.rst.txt
+share/doc/python3.11/_sources/c-api/index.rst.txt
+share/doc/python3.11/_sources/c-api/init.rst.txt
+share/doc/python3.11/_sources/c-api/init_config.rst.txt
+share/doc/python3.11/_sources/c-api/intro.rst.txt
+share/doc/python3.11/_sources/c-api/iter.rst.txt
+share/doc/python3.11/_sources/c-api/iterator.rst.txt
+share/doc/python3.11/_sources/c-api/list.rst.txt
+share/doc/python3.11/_sources/c-api/long.rst.txt
+share/doc/python3.11/_sources/c-api/mapping.rst.txt
+share/doc/python3.11/_sources/c-api/marshal.rst.txt
+share/doc/python3.11/_sources/c-api/memory.rst.txt
+share/doc/python3.11/_sources/c-api/memoryview.rst.txt
+share/doc/python3.11/_sources/c-api/method.rst.txt
+share/doc/python3.11/_sources/c-api/module.rst.txt
+share/doc/python3.11/_sources/c-api/none.rst.txt
+share/doc/python3.11/_sources/c-api/number.rst.txt
+share/doc/python3.11/_sources/c-api/objbuffer.rst.txt
+share/doc/python3.11/_sources/c-api/object.rst.txt
+share/doc/python3.11/_sources/c-api/objimpl.rst.txt
+share/doc/python3.11/_sources/c-api/refcounting.rst.txt
+share/doc/python3.11/_sources/c-api/reflection.rst.txt
+share/doc/python3.11/_sources/c-api/sequence.rst.txt
+share/doc/python3.11/_sources/c-api/set.rst.txt
+share/doc/python3.11/_sources/c-api/slice.rst.txt
+share/doc/python3.11/_sources/c-api/stable.rst.txt
+share/doc/python3.11/_sources/c-api/structures.rst.txt
+share/doc/python3.11/_sources/c-api/sys.rst.txt
+share/doc/python3.11/_sources/c-api/tuple.rst.txt
+share/doc/python3.11/_sources/c-api/type.rst.txt
+share/doc/python3.11/_sources/c-api/typehints.rst.txt
+share/doc/python3.11/_sources/c-api/typeobj.rst.txt
+share/doc/python3.11/_sources/c-api/unicode.rst.txt
+share/doc/python3.11/_sources/c-api/utilities.rst.txt
+share/doc/python3.11/_sources/c-api/veryhigh.rst.txt
+share/doc/python3.11/_sources/c-api/weakref.rst.txt
+share/doc/python3.11/_sources/contents.rst.txt
+share/doc/python3.11/_sources/copyright.rst.txt
+share/doc/python3.11/_sources/distributing/index.rst.txt
+share/doc/python3.11/_sources/distutils/_setuptools_disclaimer.rst.txt
+share/doc/python3.11/_sources/distutils/apiref.rst.txt
+share/doc/python3.11/_sources/distutils/builtdist.rst.txt
+share/doc/python3.11/_sources/distutils/commandref.rst.txt
+share/doc/python3.11/_sources/distutils/configfile.rst.txt
+share/doc/python3.11/_sources/distutils/examples.rst.txt
+share/doc/python3.11/_sources/distutils/extending.rst.txt
+share/doc/python3.11/_sources/distutils/index.rst.txt
+share/doc/python3.11/_sources/distutils/introduction.rst.txt
+share/doc/python3.11/_sources/distutils/packageindex.rst.txt
+share/doc/python3.11/_sources/distutils/setupscript.rst.txt
+share/doc/python3.11/_sources/distutils/sourcedist.rst.txt
+share/doc/python3.11/_sources/distutils/uploading.rst.txt
+share/doc/python3.11/_sources/extending/building.rst.txt
+share/doc/python3.11/_sources/extending/embedding.rst.txt
+share/doc/python3.11/_sources/extending/extending.rst.txt
+share/doc/python3.11/_sources/extending/index.rst.txt
+share/doc/python3.11/_sources/extending/newtypes.rst.txt
+share/doc/python3.11/_sources/extending/newtypes_tutorial.rst.txt
+share/doc/python3.11/_sources/extending/windows.rst.txt
+share/doc/python3.11/_sources/faq/design.rst.txt
+share/doc/python3.11/_sources/faq/extending.rst.txt
+share/doc/python3.11/_sources/faq/general.rst.txt
+share/doc/python3.11/_sources/faq/gui.rst.txt
+share/doc/python3.11/_sources/faq/index.rst.txt
+share/doc/python3.11/_sources/faq/installed.rst.txt
+share/doc/python3.11/_sources/faq/library.rst.txt
+share/doc/python3.11/_sources/faq/programming.rst.txt
+share/doc/python3.11/_sources/faq/windows.rst.txt
+share/doc/python3.11/_sources/glossary.rst.txt
+share/doc/python3.11/_sources/howto/annotations.rst.txt
+share/doc/python3.11/_sources/howto/argparse.rst.txt
+share/doc/python3.11/_sources/howto/clinic.rst.txt
+share/doc/python3.11/_sources/howto/cporting.rst.txt
+share/doc/python3.11/_sources/howto/curses.rst.txt
+share/doc/python3.11/_sources/howto/descriptor.rst.txt
+share/doc/python3.11/_sources/howto/enum.rst.txt
+share/doc/python3.11/_sources/howto/functional.rst.txt
+share/doc/python3.11/_sources/howto/index.rst.txt
+share/doc/python3.11/_sources/howto/instrumentation.rst.txt
+share/doc/python3.11/_sources/howto/ipaddress.rst.txt
+share/doc/python3.11/_sources/howto/isolating-extensions.rst.txt
+share/doc/python3.11/_sources/howto/logging-cookbook.rst.txt
+share/doc/python3.11/_sources/howto/logging.rst.txt
+share/doc/python3.11/_sources/howto/pyporting.rst.txt
+share/doc/python3.11/_sources/howto/regex.rst.txt
+share/doc/python3.11/_sources/howto/sockets.rst.txt
+share/doc/python3.11/_sources/howto/sorting.rst.txt
+share/doc/python3.11/_sources/howto/unicode.rst.txt
+share/doc/python3.11/_sources/howto/urllib2.rst.txt
+share/doc/python3.11/_sources/includes/wasm-notavail.rst.txt
+share/doc/python3.11/_sources/install/index.rst.txt
+share/doc/python3.11/_sources/installing/index.rst.txt
+share/doc/python3.11/_sources/library/2to3.rst.txt
+share/doc/python3.11/_sources/library/__future__.rst.txt
+share/doc/python3.11/_sources/library/__main__.rst.txt
+share/doc/python3.11/_sources/library/_thread.rst.txt
+share/doc/python3.11/_sources/library/abc.rst.txt
+share/doc/python3.11/_sources/library/aifc.rst.txt
+share/doc/python3.11/_sources/library/allos.rst.txt
+share/doc/python3.11/_sources/library/archiving.rst.txt
+share/doc/python3.11/_sources/library/argparse.rst.txt
+share/doc/python3.11/_sources/library/array.rst.txt
+share/doc/python3.11/_sources/library/ast.rst.txt
+share/doc/python3.11/_sources/library/asynchat.rst.txt
+share/doc/python3.11/_sources/library/asyncio-api-index.rst.txt
+share/doc/python3.11/_sources/library/asyncio-dev.rst.txt
+share/doc/python3.11/_sources/library/asyncio-eventloop.rst.txt
+share/doc/python3.11/_sources/library/asyncio-exceptions.rst.txt
+share/doc/python3.11/_sources/library/asyncio-extending.rst.txt
+share/doc/python3.11/_sources/library/asyncio-future.rst.txt
+share/doc/python3.11/_sources/library/asyncio-llapi-index.rst.txt
+share/doc/python3.11/_sources/library/asyncio-platforms.rst.txt
+share/doc/python3.11/_sources/library/asyncio-policy.rst.txt
+share/doc/python3.11/_sources/library/asyncio-protocol.rst.txt
+share/doc/python3.11/_sources/library/asyncio-queue.rst.txt
+share/doc/python3.11/_sources/library/asyncio-runner.rst.txt
+share/doc/python3.11/_sources/library/asyncio-stream.rst.txt
+share/doc/python3.11/_sources/library/asyncio-subprocess.rst.txt
+share/doc/python3.11/_sources/library/asyncio-sync.rst.txt
+share/doc/python3.11/_sources/library/asyncio-task.rst.txt
+share/doc/python3.11/_sources/library/asyncio.rst.txt
+share/doc/python3.11/_sources/library/asyncore.rst.txt
+share/doc/python3.11/_sources/library/atexit.rst.txt
+share/doc/python3.11/_sources/library/audioop.rst.txt
+share/doc/python3.11/_sources/library/audit_events.rst.txt
+share/doc/python3.11/_sources/library/base64.rst.txt
+share/doc/python3.11/_sources/library/bdb.rst.txt
+share/doc/python3.11/_sources/library/binary.rst.txt
+share/doc/python3.11/_sources/library/binascii.rst.txt
+share/doc/python3.11/_sources/library/bisect.rst.txt
+share/doc/python3.11/_sources/library/builtins.rst.txt
+share/doc/python3.11/_sources/library/bz2.rst.txt
+share/doc/python3.11/_sources/library/calendar.rst.txt
+share/doc/python3.11/_sources/library/cgi.rst.txt
+share/doc/python3.11/_sources/library/cgitb.rst.txt
+share/doc/python3.11/_sources/library/chunk.rst.txt
+share/doc/python3.11/_sources/library/cmath.rst.txt
+share/doc/python3.11/_sources/library/cmd.rst.txt
+share/doc/python3.11/_sources/library/code.rst.txt
+share/doc/python3.11/_sources/library/codecs.rst.txt
+share/doc/python3.11/_sources/library/codeop.rst.txt
+share/doc/python3.11/_sources/library/collections.abc.rst.txt
+share/doc/python3.11/_sources/library/collections.rst.txt
+share/doc/python3.11/_sources/library/colorsys.rst.txt
+share/doc/python3.11/_sources/library/compileall.rst.txt
+share/doc/python3.11/_sources/library/concurrency.rst.txt
+share/doc/python3.11/_sources/library/concurrent.futures.rst.txt
+share/doc/python3.11/_sources/library/concurrent.rst.txt
+share/doc/python3.11/_sources/library/configparser.rst.txt
+share/doc/python3.11/_sources/library/constants.rst.txt
+share/doc/python3.11/_sources/library/contextlib.rst.txt
+share/doc/python3.11/_sources/library/contextvars.rst.txt
+share/doc/python3.11/_sources/library/copy.rst.txt
+share/doc/python3.11/_sources/library/copyreg.rst.txt
+share/doc/python3.11/_sources/library/crypt.rst.txt
+share/doc/python3.11/_sources/library/crypto.rst.txt
+share/doc/python3.11/_sources/library/csv.rst.txt
+share/doc/python3.11/_sources/library/ctypes.rst.txt
+share/doc/python3.11/_sources/library/curses.ascii.rst.txt
+share/doc/python3.11/_sources/library/curses.panel.rst.txt
+share/doc/python3.11/_sources/library/curses.rst.txt
+share/doc/python3.11/_sources/library/custominterp.rst.txt
+share/doc/python3.11/_sources/library/dataclasses.rst.txt
+share/doc/python3.11/_sources/library/datatypes.rst.txt
+share/doc/python3.11/_sources/library/datetime.rst.txt
+share/doc/python3.11/_sources/library/dbm.rst.txt
+share/doc/python3.11/_sources/library/debug.rst.txt
+share/doc/python3.11/_sources/library/decimal.rst.txt
+share/doc/python3.11/_sources/library/development.rst.txt
+share/doc/python3.11/_sources/library/devmode.rst.txt
+share/doc/python3.11/_sources/library/dialog.rst.txt
+share/doc/python3.11/_sources/library/difflib.rst.txt
+share/doc/python3.11/_sources/library/dis.rst.txt
+share/doc/python3.11/_sources/library/distribution.rst.txt
+share/doc/python3.11/_sources/library/distutils.rst.txt
+share/doc/python3.11/_sources/library/doctest.rst.txt
+share/doc/python3.11/_sources/library/email.charset.rst.txt
+share/doc/python3.11/_sources/library/email.compat32-message.rst.txt
+share/doc/python3.11/_sources/library/email.contentmanager.rst.txt
+share/doc/python3.11/_sources/library/email.encoders.rst.txt
+share/doc/python3.11/_sources/library/email.errors.rst.txt
+share/doc/python3.11/_sources/library/email.examples.rst.txt
+share/doc/python3.11/_sources/library/email.generator.rst.txt
+share/doc/python3.11/_sources/library/email.header.rst.txt
+share/doc/python3.11/_sources/library/email.headerregistry.rst.txt
+share/doc/python3.11/_sources/library/email.iterators.rst.txt
+share/doc/python3.11/_sources/library/email.message.rst.txt
+share/doc/python3.11/_sources/library/email.mime.rst.txt
+share/doc/python3.11/_sources/library/email.parser.rst.txt
+share/doc/python3.11/_sources/library/email.policy.rst.txt
+share/doc/python3.11/_sources/library/email.rst.txt
+share/doc/python3.11/_sources/library/email.utils.rst.txt
+share/doc/python3.11/_sources/library/ensurepip.rst.txt
+share/doc/python3.11/_sources/library/enum.rst.txt
+share/doc/python3.11/_sources/library/errno.rst.txt
+share/doc/python3.11/_sources/library/exceptions.rst.txt
+share/doc/python3.11/_sources/library/faulthandler.rst.txt
+share/doc/python3.11/_sources/library/fcntl.rst.txt


Home | Main Index | Thread Index | Old Index