mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
core/python to 3.11.6-1
This commit is contained in:
parent
a5b4b2e685
commit
d63190af7f
2 changed files with 56 additions and 9 deletions
50
core/python/.SRCINFO
Normal file
50
core/python/.SRCINFO
Normal file
|
@ -0,0 +1,50 @@
|
|||
pkgbase = python
|
||||
pkgdesc = The Python programming language
|
||||
pkgver = 3.11.6
|
||||
pkgrel = 1
|
||||
url = https://www.python.org/
|
||||
arch = x86_64
|
||||
license = custom
|
||||
makedepends = tk
|
||||
makedepends = sqlite
|
||||
makedepends = bluez-libs
|
||||
makedepends = mpdecimal
|
||||
makedepends = llvm
|
||||
makedepends = gdb
|
||||
makedepends = xorg-server-xvfb
|
||||
makedepends = ttf-font
|
||||
depends = bzip2
|
||||
depends = expat
|
||||
depends = gdbm
|
||||
depends = libffi
|
||||
depends = libnsl
|
||||
depends = libxcrypt
|
||||
depends = openssl
|
||||
depends = zlib
|
||||
depends = tzdata
|
||||
source = https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tar.xz
|
||||
source = https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tar.xz.asc
|
||||
source = EXTERNALLY-MANAGED
|
||||
validpgpkeys = 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
|
||||
validpgpkeys = E3FF2839C048B25C084DEBE9B26995E310250568
|
||||
validpgpkeys = A035C8C19219BA821ECEA86B64E628F8D684696D
|
||||
sha512sums = 94b1038f6f53de0c44f99f72ed0f2e0791fd9d2a325ae00ba145b2b2c332c27b300b3ea3473017518089478f15e01867b1bb203c16610039cce36f8366de341a
|
||||
sha512sums = SKIP
|
||||
sha512sums = 62a6fbfbaeaa3ba7c54e109d9c3b7f67e73bb21986da4c1fcc5d28cca83d71e0fcae28e1fc70ee8ddce7dea8cd0b64e18d1031dae3a2eae5eaa379c53efd53a0
|
||||
|
||||
pkgname = python
|
||||
optdepends = python-setuptools: for building Python packages using tooling that is usually bundled with Python
|
||||
optdepends = python-pip: for installing Python packages using tooling that is usually bundled with Python
|
||||
optdepends = python-pipx: for installing Python software not packaged on Arch Linux
|
||||
optdepends = sqlite: for a default database integration
|
||||
optdepends = mpdecimal: for decimal
|
||||
optdepends = xz: for lzma
|
||||
optdepends = tk: for tkinter
|
||||
provides = python3
|
||||
provides = python-externally-managed
|
||||
replaces = python3
|
||||
replaces = python-externally-managed
|
||||
|
||||
pkgname = python-tests
|
||||
pkgdesc = Regression tests packages for Python
|
||||
depends = python
|
|
@ -13,8 +13,8 @@ shopt -s extglob
|
|||
|
||||
pkgbase=python
|
||||
pkgname=(python python-tests)
|
||||
pkgver=3.11.5
|
||||
pkgrel=2
|
||||
pkgver=3.11.6
|
||||
pkgrel=1
|
||||
_pybasever=${pkgver%.*}
|
||||
pkgdesc="The Python programming language"
|
||||
arch=('x86_64')
|
||||
|
@ -23,11 +23,9 @@ url="https://www.python.org/"
|
|||
depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib')
|
||||
makedepends=('tk' 'sqlite' 'bluez-libs' 'mpdecimal' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font')
|
||||
source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc}
|
||||
$pkgbase-3.11.5-raw_fstring.patch::https://github.com/python/cpython/commit/ed749be3aab081ce4e5d54e0273b96bdea02983f.patch
|
||||
EXTERNALLY-MANAGED)
|
||||
sha512sums=('93fa640bedcea449060caac8aa691aa315a19f172fd9f0422183d17749c3512d4ecac60e7599f9ef14e3cdb3c8b4b060e484c9061b1e7ee8d958200d6041e408'
|
||||
sha512sums=('94b1038f6f53de0c44f99f72ed0f2e0791fd9d2a325ae00ba145b2b2c332c27b300b3ea3473017518089478f15e01867b1bb203c16610039cce36f8366de341a'
|
||||
'SKIP'
|
||||
'310819a88a68ba3131a5e4a079fb383036c759d7c29340048bf6e28ded760a7bc98215bd3c24dd4a8ba05ee16ca80e6ba2a1073464af96d7a5bf921a4fe47b9d'
|
||||
'62a6fbfbaeaa3ba7c54e109d9c3b7f67e73bb21986da4c1fcc5d28cca83d71e0fcae28e1fc70ee8ddce7dea8cd0b64e18d1031dae3a2eae5eaa379c53efd53a0')
|
||||
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
|
||||
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
|
||||
|
@ -36,9 +34,6 @@ validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python re
|
|||
prepare() {
|
||||
cd Python-${pkgver}
|
||||
|
||||
# test fails due to unhandled warning: https://github.com/python/cpython/issues/108569
|
||||
patch -Np1 -i ../$pkgbase-3.11.5-raw_fstring.patch
|
||||
|
||||
# FS#23997
|
||||
sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python|" Lib/cgi.py
|
||||
|
||||
|
@ -80,6 +75,8 @@ check() {
|
|||
# test_pyexpat: our `debug` implementation rewrites source location, which breaks the build-time
|
||||
# only test test.test_pyexpat.HandlerExceptionTest as it cannot find source file in
|
||||
# the to-be-installed debug package
|
||||
# test_socket: https://github.com/python/cpython/issues/79428
|
||||
# test_unittest: https://github.com/python/cpython/issues/108927
|
||||
|
||||
cd Python-${pkgver}
|
||||
|
||||
|
@ -89,7 +86,7 @@ check() {
|
|||
|
||||
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 -x test_pyexpat
|
||||
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk -x test_pyexpat -x test_socket -x test_unittest
|
||||
}
|
||||
|
||||
package_python() {
|
||||
|
|
Loading…
Reference in a new issue