[arch-commits] Commit in python/repos/extra-x86_64 (4 files)
Date: Saturday, September 5, 2020 @ 11:55:31 Author: felixonmars Revision: 395473 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/PKGBUILD (from rev 395471, python/trunk/PKGBUILD) python/repos/extra-x86_64/genrebuild (from rev 395471, python/trunk/genrebuild) Deleted: python/repos/extra-x86_64/PKGBUILD python/repos/extra-x86_64/genrebuild + PKGBUILD | 296 +-- genrebuild | 14 +- 2 files changed, 155 insertions(+), 155 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-05 11:55:26 UTC (rev 395472) +++ PKGBUILD2020-09-05 11:55:31 UTC (rev 395473) @@ -1,148 +0,0 @@ -# Maintainer: Angel Velasquez -# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Allan McRae -# Contributor: Jason Chu - -shopt -s extglob - -pkgbase=python -pkgname=(python python-tests) -pkgver=3.8.5 -pkgrel=1 -_pybasever=${pkgver%.*} -pkgdesc="Next generation of the python high-level scripting language" -arch=('x86_64') -license=('custom') -url="https://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') -makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font') -source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc}) -sha512sums=('460cee65d7df7150694590575502d7f22e548ebfc99c8f8b363eef8bf30ee72e58d8ffacb1d607824f877f880eb9fd6775a508388029583e1e1df3380f3f9587' -'SKIP') -validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) - 'E3FF2839C048B25C084DEBE9B26995E310250568') # Łukasz Langa (GPG langa.pl) - -prepare() { - cd Python-${pkgver} - - # FS#23997 - sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py - - # Speed up LTO - sed -i -e "s|-flto |-flto=4 |g" configure configure.ac - - # Ensure that we are using the system copy of various libraries (expat, libffi, and libmpdec), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/_ctypes/{darwin,libffi}* - rm -r Modules/_decimal/libmpdec -} - -build() { - cd Python-${pkgver} - - # PGO should be done with -O3 - # Also included the -fno-semantic-interposition optimization: - # https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup - CFLAGS="${CFLAGS/-O2/-O3} -fno-semantic-interposition" - LDFLAGS="$LDFLAGS -fno-semantic-interposition" - - # Disable bundled pip & setuptools - ./configure --prefix=/usr \ - --enable-shared \ - --with-computed-gotos \ - --enable-optimizations \ - --with-lto \ - --enable-ipv6 \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi \ - --with-system-libmpdec \ - --enable-loadable-sqlite-extensions \ - --without-ensurepip - - # Obtain next free server number for xvfb-run; this even works in a chroot environment. - export servernum=99 - while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done - - LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS" -} - -check() { - # test_tk: https://bugs.python.org/issue41306 - - cd Python-${pkgver} - - # Obtain next free server number for xvfb-run; this even works in a chroot environment. - export servernum=99 - while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done - - LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \ - LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" \ -"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk -} - -package_python() { - optdepends=('python-setuptools' - 'python-pip' - 'sqlite' - 'mpdecimal: for decimal' - 'xz: for lzma' - 'tk: for tkinter') - provides=('python3') - replaces=('python3') - - cd Python-${pkgver} - - # Hack to avoid building again - sed -i 's/^all:.*$/all: build_all/' Makefile - - # PGO should be done with -O3 - CFLAGS="${CFLAGS/-O2/-O3}" - - make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" install - - # Split tests - rm -r "$pkgdir"/usr/lib/python*/{test,ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,sqlite3/test,tkinter/test,unittest/test} - - # Why are these not done by default... - ln -s python3 "${pkgdir}"/usr/bin/python - ln -s python3-config"${pkgdir}"/usr/bin/python-config - ln -s idle3 "${pkgdir}"/usr/bin/idle - ln -s pydoc3"${pkgdir}"/usr/bin/pydoc - ln -s python${_pybasever}.1 "${pkgdir}"/usr/share/man/man1/python.1 - - #
[arch-commits] Commit in python/repos/extra-x86_64 (6 files)
Date: Monday, June 24, 2019 @ 06:03:32 Author: felixonmars Revision: 356825 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 356824, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) python/repos/extra-x86_64/PKGBUILD (from rev 356824, python/trunk/PKGBUILD) python/repos/extra-x86_64/dont-make-libpython-readonly.patch (from rev 356824, python/trunk/dont-make-libpython-readonly.patch) Deleted: python/repos/extra-x86_64/0001-compileall-Fix-ddir-when-recursing.patch python/repos/extra-x86_64/PKGBUILD python/repos/extra-x86_64/dont-make-libpython-readonly.patch ---+ 0001-compileall-Fix-ddir-when-recursing.patch | 114 +- PKGBUILD | 265 dont-make-libpython-readonly.patch| 26 +- 3 files changed, 203 insertions(+), 202 deletions(-) Deleted: 0001-compileall-Fix-ddir-when-recursing.patch === --- 0001-compileall-Fix-ddir-when-recursing.patch 2019-06-24 06:03:11 UTC (rev 356824) +++ 0001-compileall-Fix-ddir-when-recursing.patch 2019-06-24 06:03:32 UTC (rev 356825) @@ -1,57 +0,0 @@ -From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 -Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> -From: "Jan Alexander Steffens (heftig)" -Date: Sat, 15 Sep 2018 18:22:06 +0200 -Subject: [PATCH] compileall: Fix ddir when recursing - - Lib/compileall.py | 14 +- - 1 file changed, 9 insertions(+), 5 deletions(-) - -diff --git a/Lib/compileall.py b/Lib/compileall.py -index 72592126d7..70e246fd96 100644 a/Lib/compileall.py -+++ b/Lib/compileall.py -@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0): - else: - dfile = None - if not os.path.isdir(fullname): --yield fullname -+yield fullname, ddir - elif (maxlevels > 0 and name != os.curdir and name != os.pardir and - os.path.isdir(fullname) and not os.path.islink(fullname)): - yield from _walk_dir(fullname, ddir=dfile, - maxlevels=maxlevels - 1, quiet=quiet) - -+def _compile_one(file_ddir, *args, **kwargs): -+file, ddir = file_ddir -+return compile_file(file, ddir, *args, **kwargs) -+ - def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, - quiet=0, legacy=False, optimize=-1, workers=1, - invalidation_mode=py_compile.PycInvalidationMode.TIMESTAMP): -@@ -79,17 +83,17 @@ def compile_dir(dir, maxlevels=10, ddir=None, force=False, rx=None, - if workers is not None and workers != 1 and ProcessPoolExecutor is not None: - workers = workers or None - with ProcessPoolExecutor(max_workers=workers) as executor: --results = executor.map(partial(compile_file, -- ddir=ddir, force=force, -+results = executor.map(partial(_compile_one, -+ force=force, -rx=rx, quiet=quiet, -legacy=legacy, -optimize=optimize, - invalidation_mode=invalidation_mode), -files) - success = min(results, default=True) - else: --for file in files: --if not compile_file(file, ddir, force, rx, quiet, -+for file_ddir in files: -+if not _compile_one(file_ddir, force, rx, quiet, - legacy, optimize, invalidation_mode): - success = False - return success --- -2.18.0 - Copied: python/repos/extra-x86_64/0001-compileall-Fix-ddir-when-recursing.patch (from rev 356824, python/trunk/0001-compileall-Fix-ddir-when-recursing.patch) === --- 0001-compileall-Fix-ddir-when-recursing.patch (rev 0) +++ 0001-compileall-Fix-ddir-when-recursing.patch 2019-06-24 06:03:32 UTC (rev 356825) @@ -0,0 +1,57 @@ +From 84fdbc156ed424d030686de350fbfc6c3593263f Mon Sep 17 00:00:00 2001 +Message-Id: <84fdbc156ed424d030686de350fbfc6c3593263f.1537028533.git.jan.steff...@gmail.com> +From: "Jan Alexander Steffens (heftig)" +Date: Sat, 15 Sep 2018 18:22:06 +0200 +Subject: [PATCH] compileall: Fix ddir when recursing + +--- + Lib/compileall.py | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/Lib/compileall.py b/Lib/compileall.py +index 72592126d7..70e246fd96 100644 +--- a/Lib/compileall.py b/Lib/compileall.py +@@ -45,12 +45,16 @@ def _walk_dir(dir, ddir=None, maxlevels=10, quiet=0):
[arch-commits] Commit in python/repos/extra-x86_64 (4 files)
Date: Tuesday, May 15, 2018 @ 20:43:31 Author: anthraxx Revision: 324303 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/PKGBUILD (from rev 324302, python/trunk/PKGBUILD) python/repos/extra-x86_64/dont-make-libpython-readonly.patch (from rev 324302, python/trunk/dont-make-libpython-readonly.patch) Deleted: python/repos/extra-x86_64/PKGBUILD python/repos/extra-x86_64/dont-make-libpython-readonly.patch + PKGBUILD | 224 +-- dont-make-libpython-readonly.patch | 26 ++-- 2 files changed, 125 insertions(+), 125 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-15 20:43:18 UTC (rev 324302) +++ PKGBUILD2018-05-15 20:43:31 UTC (rev 324303) @@ -1,112 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez-# Maintainer: Felix Yan -# Contributor: Stéphane Gaudreault -# Contributor: Allan McRae -# Contributor: Jason Chu - -pkgname=python -pkgver=3.6.5 -pkgrel=2 -_pybasever=3.6 -pkgdesc="Next generation of the python high-level scripting language" -arch=('x86_64') -license=('custom') -url="http://www.python.org/; -depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl') -makedepends=('tk' 'sqlite' 'valgrind' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb') -optdepends=('python-setuptools' -'python-pip' -'sqlite' -'mpdecimal: for decimal' -'xz: for lzma' -'tk: for tkinter') -provides=('python3') -replaces=('python3') -source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc} -dont-make-libpython-readonly.patch) -sha512sums=('6b26fcd296b9bd8e67861eff10d14db7507711ddba947288d16d6def53135c39326b7f969c04bb2b2993f924d9e7ad3f5c5282a3915760bc0885cf0a8ea5eb51' -'SKIP' - '2ef96708d5b13ae2a3d2cc62c87b4780e60ecfce914e190564492def3a11d5e56977659f41c7f9d12266e58050c766bce4e2b5d50b708eb792794fa8357920c4') -validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D') # Ned Deily (Python release signing key) - -prepare() { - cd Python-${pkgver} - - # FS#45809 - patch -p1 -i ../dont-make-libpython-readonly.patch - - # FS#23997 - sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py - - # Ensure that we are using the system copy of various libraries (expat, zlib, libffi, and libmpdec), - # rather than copies shipped in the tarball - rm -r Modules/expat - rm -r Modules/zlib - rm -r Modules/_ctypes/{darwin,libffi}* - rm -r Modules/_decimal/libmpdec -} - -build() { - cd Python-${pkgver} - - # Disable bundled pip & setuptools - ./configure --prefix=/usr \ - --enable-shared \ - --with-threads \ - --with-computed-gotos \ - --enable-optimizations \ - --with-lto \ - --enable-ipv6 \ - --with-system-expat \ - --with-dbmliborder=gdbm:ndbm \ - --with-system-ffi \ - --with-system-libmpdec \ - --enable-loadable-sqlite-extensions \ - --without-ensurepip - - # Obtain next free server number for xvfb-run; this even works in a chroot environment. - export servernum=99 - while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done - - LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS" -} - -check() { - # test_gdb is expected to fail with LTO~ - # test_idle, test_tk, test_ttk_guionly segfaults on 3.6.5 - - cd Python-${pkgver} - - # Obtain next free server number for xvfb-run; this even works in a chroot environment. - export servernum=99 - while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done - - LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \ - LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" -a -n "$servernum" \ -"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_gdb -x test_idle -x test_tk -x test_ttk_guionly -} - -package() { - cd Python-${pkgver} - - # Hack to avoid building again - sed -i 's/^all:.*$/all: build_all/' Makefile - - make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" install - - # Why are these not done by default... - ln -s python3 "${pkgdir}"/usr/bin/python - ln -s python3-config"${pkgdir}"/usr/bin/python-config - ln -s idle3 "${pkgdir}"/usr/bin/idle - ln -s pydoc3"${pkgdir}"/usr/bin/pydoc - ln -s python${_pybasever}.1 "${pkgdir}"/usr/share/man/man1/python.1 - - # some useful "stuff" FS#46146 - install -dm755 "${pkgdir}"/usr/lib/python${_pybasever}/Tools/{i18n,scripts} -
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Friday, July 15, 2011 @ 07:16:24 Author: stephane Revision: 131797 db-move: python removed by stephane for move to [extra] (x86_64) Deleted: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64 testing-x86_64)
Date: Friday, July 15, 2011 @ 07:16:25 Author: stephane Revision: 131798 db-move: moved python from [testing] to [extra] (x86_64) Added: python/repos/extra-x86_64/ Deleted: python/repos/testing-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Friday, April 15, 2011 @ 07:51:54 Author: stephane Revision: 119809 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Friday, April 15, 2011 @ 07:51:48 Author: stephane Revision: 119808 archrelease: remove extra-x86_64 Deleted: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64 testing-x86_64)
Date: Friday, February 25, 2011 @ 20:50:54 Author: stephane Revision: 111292 db-move: moved python from [testing] to [extra] (x86_64) Added: python/repos/extra-x86_64/ Deleted: python/repos/testing-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Friday, February 25, 2011 @ 20:50:53 Author: stephane Revision: 111291 db-move: python removed by stephane for move to [extra] (x86_64) Deleted: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Friday, January 28, 2011 @ 15:13:42 Author: stephane Revision: 107998 archrelease: remove extra-x86_64 Deleted: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Friday, January 28, 2011 @ 15:13:46 Author: stephane Revision: 107999 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Wednesday, December 1, 2010 @ 07:47:19 Author: stephane Revision: 101744 archrelease: remove extra-x86_64 Deleted: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Wednesday, December 1, 2010 @ 07:47:23 Author: stephane Revision: 101745 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Monday, November 29, 2010 @ 18:29:28 Author: stephane Revision: 101647 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Monday, October 18, 2010 @ 17:12:51 Author: allan Revision: 95859 db-move: python removed by allan for move to [extra] (x86_64) Deleted: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64 testing-x86_64)
Date: Monday, October 18, 2010 @ 17:12:52 Author: allan Revision: 95860 db-move: moved python from [testing] to [extra] (x86_64) Added: python/repos/extra-x86_64/ Deleted: python/repos/testing-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64 testing-x86_64)
Date: Thursday, April 8, 2010 @ 17:09:42 Author: pierre Revision: 76750 db-move: moved python from [testing] to [extra] (x86_64) Added: python/repos/extra-x86_64/ Deleted: python/repos/testing-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Tuesday, March 23, 2010 @ 00:53:50 Author: allan Revision: 73147 archrelease: remove extra-x86_64 Deleted: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Tuesday, March 23, 2010 @ 00:54:23 Author: allan Revision: 73148 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64)
Date: Friday, March 19, 2010 @ 20:49:10 Author: allan Revision: 72787 archrelease: copy trunk to extra-x86_64 Added: python/repos/extra-x86_64/
[arch-commits] Commit in python/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Date: Monday, January 25, 2010 @ 04:42:41 Author: allan Revision: 65226 Merged revisions 65224 via svnmerge from svn+ssh://gerolde.archlinux.org/srv/svn-packages/python/trunk r65224 | allan | 2010-01-25 19:22:16 +1000 (Mon, 25 Jan 2010) | 2 lines upgpkg: python 2.6.4-2 remove executable permissions from README file (FS#17554) Modified: python/repos/extra-x86_64/(properties) python/repos/extra-x86_64/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Property changes on: python/repos/extra-x86_64 ___ Modified: svnmerge-integrated - /python/trunk:1-56752 + /python/trunk:1-65225 Modified: extra-x86_64/PKGBUILD === --- extra-x86_64/PKGBUILD 2010-01-25 09:23:15 UTC (rev 65225) +++ extra-x86_64/PKGBUILD 2010-01-25 09:42:41 UTC (rev 65226) @@ -4,7 +4,7 @@ pkgname=python pkgver=2.6.4 -pkgrel=1 +pkgrel=2 _pybasever=2.6 pkgdesc=A high-level scripting language arch=('i686' 'x86_64') @@ -70,8 +70,8 @@ install -m755 Tools/i18n/msgfmt.py ${pkgdir}/usr/bin/ mkdir -p ${pkgdir}/usr/lib/python${_pybasever}/Tools/scripts - install Tools/scripts/README ${pkgdir}/usr/lib/python${_pybasever}/Tools/scripts/ - install Tools/scripts/*py ${pkgdir}/usr/lib/python${_pybasever}/Tools/scripts/ + install -m644 Tools/scripts/README ${pkgdir}/usr/lib/python${_pybasever}/Tools/scripts/ + install -m755 Tools/scripts/*py ${pkgdir}/usr/lib/python${_pybasever}/Tools/scripts/ # license install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE