main/*: rebuild against python 3.12

This commit is contained in:
Natanael Copa 2024-03-07 21:03:24 +01:00
parent 2844743728
commit bdeb5ac394
146 changed files with 301 additions and 150 deletions
community
py3-html5lib
py3-webencodings
main
apache2-mod-wsgi
apparmor
asciidoc
avahi-ui
avahi
boost1.82
brotli
btrfs-progs
clang17
cracklib
d-feet
distcc
dtc
fail2ban
fontconfig
freeradius
freeswitch
freetdm
gdb
git
glib
gobject-introspection
gpsd
graphviz
gtest
gyp
kamailio
kea
ldb
libnvme
libseccomp
libxml2
llvm14
llvm15
llvm16
llvm17
lttng-ust
meson
newt
nftables
pjproject
postgresql15
postgresql16
pssh
py3-alabaster
py3-appdirs
py3-babel
py3-cairo
py3-calver
py3-certifi
py3-cffi
py3-chardet
py3-charset-normalizer
py3-coverage
py3-cparser
py3-dbus
py3-distlib
py3-dnspython
py3-docutils
py3-editables
py3-elementpath
py3-elftools
py3-extras
py3-fixtures
py3-flit-core
py3-funcsigs
py3-gobject3
py3-gpep517
py3-hatch-vcs
py3-hatchling
py3-idna
py3-imagesize
py3-iniconfig
py3-installer
py3-jinja2
py3-lxc
py3-mako
py3-markdown
py3-markupsafe
py3-meld3
py3-mimeparse
py3-mock
py3-more-itertools
py3-olefile
py3-ordered-set
py3-packaging
py3-parsing
py3-pathspec
py3-pbr
py3-pexpect
py3-pluggy
py3-pretend
py3-ptyprocess
py3-py
py3-pygments
py3-pytest-timeout

View file

@ -4,14 +4,14 @@
pkgname=py3-html5lib
_pkgname=html5lib
pkgver=1.1
pkgrel=4
pkgrel=5
pkgdesc="A Python HTML parser"
options="!check" # 1 test fail TypeError: object of type 'MarkDecorator' has no len()
url="https://github.com/html5lib/html5lib-python"
arch="noarch"
license="MIT"
depends="py3-six py3-webencodings"
checkdepends="py3-pytest py3-pytest-expect py3-mock"
#checkdepends="py3-pytest py3-pytest-expect py3-mock"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

View file

@ -3,7 +3,7 @@
pkgname=py3-webencodings
_pkgname=webencodings
pkgver=0.5.1
pkgrel=7
pkgrel=8
pkgdesc="Character encoding for the web"
url="https://github.com/gsnedders/python-webencodings"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=apache2-mod-wsgi
_realname=mod_wsgi
pkgver=5.0.0
pkgrel=0
pkgrel=1
pkgdesc="Python WSGI Module for Apache2"
url="https://github.com/GrahamDumpleton/mod_wsgi"
arch="all"

View file

@ -2,7 +2,7 @@
# Maintainer: Allan Garret <allan.garret@gmail.com>
pkgname=apparmor
pkgver=3.1.7
pkgrel=0
pkgrel=1
pkgdesc="Linux application security framework - mandatory access control for programs"
url="https://gitlab.com/apparmor/apparmor/wikis/home"
arch="all"

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=asciidoc
pkgver=10.2.0
pkgrel=4
pkgrel=5
pkgdesc="Text based documentation"
url="https://asciidoc.org/"
arch="noarch"

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avahi-ui
pkgver=0.8
pkgrel=7
pkgrel=8
pkgdesc="Gtk user interface library for Avahi"
url="https://www.avahi.org/"
arch="all"

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avahi
pkgver=0.8
pkgrel=16
pkgrel=17
pkgdesc="multicast/unicast DNS-SD framework"
url="https://www.avahi.org/"
arch="all"

View file

@ -2,7 +2,7 @@
pkgname=boost1.82
pkgver=1.82.0
_pkgver="${pkgver//./_}"
pkgrel=4
pkgrel=5
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="https://www.boost.org/"
arch="all"

View file

@ -2,7 +2,7 @@
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=brotli
pkgver=1.1.0
pkgrel=1
pkgrel=2
pkgdesc="Generic lossless compressor"
url="https://github.com/google/brotli"
arch="all"

View file

@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs
pkgver=6.8
pkgrel=0
pkgrel=1
pkgdesc="BTRFS filesystem utilities"
url="https://btrfs.wiki.kernel.org"
arch="all"

View file

@ -5,7 +5,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=clang17
pkgver=17.0.6
pkgrel=0
pkgrel=1
_llvmver=${pkgver%%.*}
pkgdesc="C language family front-end for LLVM"
arch="all"

View file

@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=cracklib
pkgver=2.9.11
pkgrel=6
pkgrel=7
pkgdesc="Library used to enforce strong passwords"
url="https://github.com/cracklib/cracklib"
arch="all"

View file

@ -3,7 +3,7 @@
pkgname=d-feet
pkgver=0.3.16
_v=${pkgver%.*}
pkgrel=2
pkgrel=3
pkgdesc="powerful D-Bus Debugger"
options="!check" # Testsuite loops infinitely
url="https://wiki.gnome.org/action/show/Apps/DFeet"

View file

@ -2,12 +2,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=distcc
pkgver=3.4
pkgrel=8
pkgrel=9
pkgdesc="Ddistributed C, C++, Obj C compiler"
url="https://github.com/distcc/distcc"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake popt-dev python3-dev"
_pump_deps="python3 py3-setuptools"
makedepends="autoconf automake popt-dev python3-dev $_pump_deps"
checkdepends="gdb procps"
options="!check" # tests are failing
install="$pkgname.pre-install"
@ -61,6 +62,7 @@ package() {
pump() {
pkgdesc="pump mode for distcc a distributed compiler client and server"
depends="$_pump_deps distcc=$pkgver-r$pkgrel"
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/pump "$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dtc
pkgver=1.7.0
pkgrel=1
pkgrel=2
pkgdesc="Device Tree Compiler"
url="https://git.kernel.org/pub/scm/utils/dtc/dtc.git/"
arch="all"
@ -19,6 +19,7 @@ subpackages="$pkgname-dev libfdt py3-libfdt-pyc py3-libfdt:py3_libfdt"
source="https://kernel.org/pub/software/utils/dtc/dtc-$pkgver.tar.xz
install-pylibfdt-to-destdir.patch
pyscm.patch
fix-tests-for-Python3.12.patch
"
prepare() {
@ -56,4 +57,5 @@ sha512sums="
d3ba6902a9a2f2cdbaff55f12fca3cfe4a1ec5779074a38e3d8b88097c7abc981835957e8ce72971e10c131e05fde0b1b961768e888ff96d89e42c75edb53afb dtc-1.7.0.tar.xz
1c43dfae8d15861c4f0170f0df9ba63d197ab3be50e39fe5748e547074c52dc7b042ca5e9c64d3d4bb0a8e8cde8df7e71660cde93e9512923405c38debcaa01c install-pylibfdt-to-destdir.patch
e74768f6bcbe0ba8060c7b0b449e533b2fbbf3ddc1c869b98cf3f78a858c63ba1d7d57b5163eb5be048c6f0be023360f709d621e2f88d4332a7ef8e8d125cc09 pyscm.patch
2fc10469b4c1f5016cdccd1a1e24d1f0984267c88efe88d268d52d9a49c441d832f53bf004a5223810c82e0f10cf5b515d6a6ddb56e49ca5bb86b55724634f0b fix-tests-for-Python3.12.patch
"

View file

@ -0,0 +1,43 @@
Description: Python3.12 causes breakage for get_mem_rsv in pylibfdt.
Author: Héctor Orón Martínez <zumbi@debian.org>
---
Bug: https://github.com/dgibson/dtc/issues/123
Bug-Debian: https://bugs.debian.org/1061318
Bug-Ubuntu: https://launchpad.net/bugs/2051399
Last-Update: 2024-01-30
--- device-tree-compiler-1.7.0.orig/tests/pylibfdt_tests.py
+++ device-tree-compiler-1.7.0/tests/pylibfdt_tests.py
@@ -418,9 +418,14 @@ class PyLibfdtBasicTests(unittest.TestCa
def testReserveMap(self):
"""Test that we can access the memory reserve map"""
self.assertEqual(2, self.fdt.num_mem_rsv())
- self.assertEqual([ 0xdeadbeef00000000, 0x100000],
- self.fdt.get_mem_rsv(0))
- self.assertEqual([123456789, 0o10000], self.fdt.get_mem_rsv(1))
+ if sys.version_info.major >= 3 and sys.version_info.minor >= 12:
+ self.assertEqual([0, 0xdeadbeef00000000, 0x100000],
+ self.fdt.get_mem_rsv(0))
+ self.assertEqual([0, 123456789, 0o10000], self.fdt.get_mem_rsv(1))
+ else:
+ self.assertEqual([0xdeadbeef00000000, 0x100000],
+ self.fdt.get_mem_rsv(0))
+ self.assertEqual([123456789, 0o10000], self.fdt.get_mem_rsv(1))
def testEmpty(self):
"""Test that we can create an empty tree"""
@@ -615,7 +620,10 @@ class PyLibfdtSwTests(unittest.TestCase)
fdt = sw.as_fdt()
self.assertEqual(2, fdt.num_mem_rsv())
- self.assertEqual([TEST_ADDR_1, TEST_SIZE_1], fdt.get_mem_rsv(0))
+ if sys.version_info.major >= 3 and sys.version_info.minor >= 12:
+ self.assertEqual([0, TEST_ADDR_1, TEST_SIZE_1], fdt.get_mem_rsv(0))
+ else:
+ self.assertEqual([TEST_ADDR_1, TEST_SIZE_1], fdt.get_mem_rsv(0))
# Make sure we can add a few more things
with sw.add_node('another'):

View file

@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fail2ban
pkgver=1.0.2
pkgrel=3
pkgrel=4
pkgdesc="Scans log files for login failures then updates iptables to reject originating ip address"
url="https://www.fail2ban.org/"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fontconfig
pkgver=2.15.0
pkgrel=0
pkgrel=1
pkgdesc="Library for configuring and customizing font access"
url="https://www.freedesktop.org/wiki/Software/fontconfig"
arch="all"

View file

@ -5,7 +5,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=freeradius
pkgver=3.0.26
pkgrel=6
pkgrel=7
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="https://freeradius.org/"
arch="all"

View file

@ -4,7 +4,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
pkgname=freeswitch
pkgver=1.10.10
pkgrel=0
pkgrel=1
pkgdesc="A communications platform written in C from the ground up"
url="https://www.freeswitch.org/"
arch="all"
@ -43,6 +43,7 @@ makedepends="
pcre-dev
perl-dev
portaudio-dev
py3-setuptools
python3-dev
sngtc_client-dev
sofia-sip-dev

View file

@ -5,7 +5,7 @@ pkgname=freetdm
# the pkgver is the commit date
pkgver=0_git20210830
_commitid=8918ee1c3637cad0f9d41a402d26d3aa076fc202
pkgrel=4
pkgrel=5
pkgdesc="FreeTDM Endpoint Module "
url="https://github.com/freeswitch/freetdm"
arch="all"

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdb
pkgver=14.2
pkgrel=0
pkgrel=1
pkgdesc="The GNU Debugger"
url="https://www.gnu.org/software/gdb/"
arch="all"

View file

@ -48,7 +48,7 @@
pkgname=git
pkgver=2.44.0
pkgrel=1
pkgrel=2
pkgdesc="Distributed version control system"
url="https://www.git-scm.com/"
arch="all"

View file

@ -5,7 +5,7 @@
pkgname=glib
pkgver=2.80.0
_gi_version=1.80.1
pkgrel=2
pkgrel=3
pkgdesc="Common C routines used by Gtk+ and other libs"
url="https://developer.gnome.org/glib/"
arch="all"
@ -27,6 +27,7 @@ makedepends="$depends_dev
libffi-dev
meson
pcre2-dev
py3-setuptools
python3-dev
util-linux-dev
zlib-dev

View file

@ -2,13 +2,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gobject-introspection
pkgver=1.80.1
pkgrel=0
pkgrel=1
pkgdesc="Introspection system for GObject-based libraries"
url="https://wiki.gnome.org/action/show/Projects/GObjectIntrospection"
arch="all"
license="LGPL-2.0-or-later AND GPL-2.0-or-later AND MIT"
depends_dev="python3 cairo-dev libtool"
makedepends="$depends_dev glib-dev libffi-dev flex bison python3-dev meson"
makedepends="$depends_dev
bison
flex
glib-dev
libffi-dev
meson
py3-setuptools
python3-dev
"
subpackages="$pkgname-doc $pkgname-dev"
replaces="libgirepository"
checkdepends="sed"

View file

@ -6,12 +6,12 @@
pkgname=gpsd
pkgver=3.25
pkgrel=1
pkgrel=2
pkgdesc="GPS daemon"
arch="all"
url="https://gpsd.gitlab.io/gpsd/index.html"
license="BSD-2-Clause"
makedepends="scons asciidoctor python3-dev libcap-dev ncurses-dev"
makedepends="scons asciidoctor python3-dev libcap-dev ncurses-dev py3-setuptools"
subpackages="
$pkgname-dev
$pkgname-doc

View file

@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=graphviz
pkgver=9.0.0
pkgrel=0
pkgrel=1
pkgdesc="Graph Visualization Tools"
url="https://www.graphviz.org/"
arch="all"

View file

@ -1,7 +1,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gtest
pkgver=1.14.0
pkgrel=1
pkgrel=2
pkgdesc="Google Test - C++ testing utility based on the xUnit framework (like JUnit)"
url="https://github.com/google/googletest"
arch="all"

View file

@ -4,7 +4,7 @@
pkgname=gyp
pkgver=20230301
_gitrev=c6d8b9f7ee355cff1531b0f369cd338a50baeb07
pkgrel=2
pkgrel=3
pkgdesc="Generate Your Projects Meta-Build system"
options="!check" # Tests currently fail
url="https://gyp.gsrc.io"

View file

@ -6,7 +6,7 @@
pkgname=kamailio
pkgver=5.8.1
pkgrel=0
pkgrel=1
# If building from a git snapshot, specify the gitcommit
# If building a proper release, leave gitcommit blank or commented

View file

@ -7,7 +7,7 @@ pkgname=kea
# Odd-numbered versions are development versions.
# NOTE: When bumping, always rebuild all kea hooks (kea-* aports)!
pkgver=2.4.1
pkgrel=0
pkgrel=1
pkgdesc="DHCPv4 and DHCPv6 server from ISC"
url="https://kea.isc.org/"
arch="all"
@ -58,6 +58,7 @@ source="https://ftp.isc.org/isc/kea/$pkgver/kea-$pkgver.tar.gz
put-LOCKFILE_DIR-to-runstatedir.patch
move-api-files-to-doc.patch
kea-admin-remove-builddir.patch
python3.12.patch
kea.initd.in
kea.confd.in
"
@ -280,6 +281,7 @@ b8a3b6f2cae213fd9826c37568c71d3458f52eed973dbe437a1d0974dafa026635a730d828c6ff03
52de95e9b4de3e518b4fbbce19799230684a2924433e666c24b866e537ffeaea9cd16b0b41499a17dd3ed528be1f899e94e67f6e464d551149b850cdbf29c1b2 put-LOCKFILE_DIR-to-runstatedir.patch
100b70f3ccecb46b98e9fd599ab6f0c3aa191d862d914ed84f4d34efea0cc119817d1e14b967c0f5024614af1ef6841a8d12e789945cad147d943965f194ece1 move-api-files-to-doc.patch
eef973da24aaa3dd1b02925d6be1f59caa363a7721e2e4dd6bd8553b0c351961f7436b21c32cbc6acdf90cf99a7fe7daa954c8ce4dbd0eda36844f566b126c48 kea-admin-remove-builddir.patch
8feb09cf184c3128b8f434e896f062d12e978a3fda435bb57389756cf0290ba993604fc2512101b7d7865c7be831d9fe6519c9e16885c7e737ea63513ed9135f python3.12.patch
e2f77a403b1c84918c92acf8c22d4bd3ea3662d109c334aebb4f55f1821901fbf287f0c1ac03f5de56227e888edc63667f54a0ee51fa4b654479f4e14841d11a kea.initd.in
eb45671073174e319cd4fedb61c5f8664370f701856569c675a5aaa280bde974bdabbc30e733379b2e61b32dc2e1e94808b79f141de7c209109e874b2b4b5e8f kea.confd.in
"

90
main/kea/python3.12.patch Normal file
View file

@ -0,0 +1,90 @@
From 9ba2f0ddbcf08d4d67baffa8779abff7042a1c96 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 25 Feb 2020 18:07:15 -0800
Subject: python: support both Python 2 and 3 in py-compile
* lib/py-compile: check python major version and use imp
or importlib accordingly, plus related changes. Original
patch for Python 3 only from Gabriel Ganne at:
https://lists.gnu.org/archive/html/automake-patches/2019-07/msg00002.html
---
lib/py-compile | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
(limited to 'lib/py-compile')
diff --git a/lib/py-compile b/lib/py-compile
index f2be7d0..e56d98d 100755
--- a/py-compile
+++ b/py-compile
@@ -1,7 +1,7 @@
#!/bin/sh
# py-compile - Compile a Python program
-scriptversion=2018-03-07.03; # UTC
+scriptversion=2020-02-19.23; # UTC
# Copyright (C) 2000-2020 Free Software Foundation, Inc.
@@ -115,8 +115,27 @@ else
filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
fi
+python_major=$($PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q')
+if test -z "$python_major"; then
+ echo "$me: could not determine $PYTHON major version, guessing 3" >&2
+ python_major=3
+fi
+
+# The old way to import libraries was deprecated.
+if test "$python_major" -le 2; then
+ import_lib=imp
+ import_test="hasattr(imp, 'get_tag')"
+ import_call=imp.cache_from_source
+ import_arg2=', False' # needed in one call and not the other
+else
+ import_lib=importlib
+ import_test="hasattr(sys.implementation, 'cache_tag')"
+ import_call=importlib.util.cache_from_source
+ import_arg2=
+fi
+
$PYTHON -c "
-import sys, os, py_compile, imp
+import sys, os, py_compile, $import_lib
files = '''$files'''
@@ -129,15 +148,15 @@ for file in files.split():
continue
sys.stdout.write(file)
sys.stdout.flush()
- if hasattr(imp, 'get_tag'):
- py_compile.compile(filepath, imp.cache_from_source(filepath), path)
+ if $import_test:
+ py_compile.compile(filepath, $import_call(filepath), path)
else:
py_compile.compile(filepath, filepath + 'c', path)
sys.stdout.write('\n')" || exit $?
# this will fail for python < 1.5, but that doesn't matter ...
$PYTHON -O -c "
-import sys, os, py_compile, imp
+import sys, os, py_compile, $import_lib
# pypy does not use .pyo optimization
if hasattr(sys, 'pypy_translation_info'):
@@ -153,8 +172,8 @@ for file in files.split():
continue
sys.stdout.write(file)
sys.stdout.flush()
- if hasattr(imp, 'get_tag'):
- py_compile.compile(filepath, imp.cache_from_source(filepath, False), path)
+ if $import_test:
+ py_compile.compile(filepath, $import_call(filepath$import_arg2), path)
else:
py_compile.compile(filepath, filepath + 'o', path)
sys.stdout.write('\n')" 2>/dev/null || :
--
cgit v1.1

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ldb
pkgver=2.8.0
pkgrel=0
pkgrel=1
pkgdesc="schema-less, ldap like, API and database"
url="https://ldb.samba.org/"
arch="all"

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnvme
pkgver=1.8
pkgrel=0
pkgrel=1
pkgdesc="C Library for NVM Express on Linux"
url="https://github.com/linux-nvme/libnvme/"
arch="all"

View file

@ -3,13 +3,13 @@
# Contributor: Dan Williams <dan@ma.ssive.co>
pkgname=libseccomp
pkgver=2.5.5
pkgrel=0
pkgrel=1
pkgdesc="interface to the Linux Kernel's syscall filtering mechanism"
url="https://github.com/seccomp/libseccomp"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="linux-headers"
makedepends="$depends_dev gperf cython python3 python3-dev"
makedepends="$depends_dev gperf cython python3 python3-dev py3-setuptools"
checkdepends="bash"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc py3-$pkgname:py3"
source="https://github.com/seccomp/libseccomp/releases/download/v$pkgver/libseccomp-$pkgver.tar.gz

View file

@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=libxml2
pkgver=2.12.6
pkgrel=0
pkgrel=1
pkgdesc="XML parsing library, version 2"
url="https://gitlab.gnome.org/GNOME/libxml2"
arch="all"

View file

@ -10,7 +10,7 @@ _pkgname=llvm
pkgver=14.0.6
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
pkgrel=17
pkgrel=18
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all !loongarch64"
url="https://llvm.org/"

View file

@ -10,7 +10,7 @@ _pkgname=llvm
pkgver=15.0.7
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
pkgrel=12
pkgrel=13
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"

View file

@ -10,7 +10,7 @@ _pkgname=llvm
pkgver=16.0.6
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
pkgrel=7
pkgrel=8
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"

View file

@ -11,7 +11,7 @@ pkgver=17.0.6
_majorver=${pkgver%%.*}
_prevmajorver=$((_majorver - 1))
pkgname=$_pkgname$_majorver
pkgrel=0
pkgrel=1
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"

View file

@ -2,13 +2,13 @@
# Maintainer: Michael Jeanson <mjeanson@efficios.com>
pkgname=lttng-ust
pkgver=2.13.6
pkgrel=0
pkgrel=1
pkgdesc="LTTng 2.0 Userspace Tracer"
url="https://lttng.org"
arch="all"
license="LGPL-2.1-only AND GPL-2.0-only AND MIT"
depends_dev="userspace-rcu-dev>0.10"
makedepends="$depends_dev util-linux-dev linux-headers python3"
makedepends="$depends_dev util-linux-dev linux-headers python3 py3-setuptools"
checkdepends="bash"
subpackages="$pkgname-doc $pkgname-dev $pkgname-tools::noarch py3-lttng:pyagent"
source="https://lttng.org/files/lttng-ust/lttng-ust-$pkgver.tar.bz2"

View file

@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=meson
pkgver=1.4.0
pkgrel=0
pkgrel=1
pkgdesc="Fast and user friendly build system"
url="https://mesonbuild.com"
arch="noarch"

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=newt
pkgver=0.52.24
pkgrel=0
pkgrel=1
pkgdesc="Redhat's Newt windowing toolkit development files"
options="!check" # No testsuite
url="https://pagure.io/newt/"

View file

@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nftables
pkgver=1.0.9
pkgrel=1
pkgrel=2
pkgdesc="Netfilter tables userspace tools"
url="https://netfilter.org/projects/nftables"
arch="all"

View file

@ -2,14 +2,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pjproject
pkgver=2.14
pkgrel=0
pkgrel=1
pkgdesc="Open source multimedia communication library"
url="https://www.pjsip.org/pjsua.htm"
arch="all"
license="GPL-2.0-or-later"
depends_dev="openssl-dev>3 alsa-lib-dev gsm-dev speex-dev speexdsp-dev
portaudio-dev libsrtp-dev libsamplerate-dev"
makedepends="$depends_dev linux-headers python3-dev swig"
makedepends="$depends_dev linux-headers python3-dev py3-setuptools swig"
subpackages="$pkgname-dbg $pkgname-dev py3-pjsua-pyc py3-pjsua:py3 pjsua"
source="$pkgname-$pkgver.tar.gz::https://github.com/pjsip/pjproject/archive/refs/tags/$pkgver.tar.gz
pjproject_no_third_party.patch

View file

@ -3,7 +3,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
_pkgname=postgresql
pkgver=15.6
pkgrel=0
pkgrel=1
_majorver=${pkgver%%[_.]*}
# Should this aport provide libpq* and libecpg*? true/false
# Exactly one postgresql aport must be the default one!

View file

@ -3,7 +3,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
_pkgname=postgresql
pkgver=16.2
pkgrel=1
pkgrel=2
_majorver=${pkgver%%[_.]*}
# Should this aport provide libpq* and libecpg*? true/false
# Exactly one postgresql aport must be the default one!

View file

@ -2,7 +2,7 @@
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=pssh
pkgver=2.3.5
pkgrel=1
pkgrel=2
pkgdesc="PSSH provides parallel versions of OpenSSH and related tools: pssh, pscp, prsync, pnuke, and pslurp"
url="https://github.com/lilydjwg/pssh"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-alabaster
_pkgname=alabaster
pkgver=0.7.16
pkgrel=0
pkgrel=1
pkgdesc="Lightweight, configurable Sphinx theme"
url="https://alabaster.readthedocs.io/en/latest/"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-appdirs
_pkgname=appdirs
pkgver=1.4.4
pkgrel=7
pkgrel=8
pkgdesc="A small Python module for determining appropriate platform-specific dirs."
url="https://pypi.org/project/appdirs/"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-babel
_pkgname=Babel
pkgver=2.14.0
pkgrel=1
pkgrel=2
pkgdesc="Python3 i18n tool"
url="https://babel.pocoo.org/"
arch="noarch"

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-cairo
pkgver=1.26.0
pkgrel=0
pkgrel=1
pkgdesc="Python3 bindings for the cairo graphics library"
url="http://cairographics.org/pycairo/"
arch="all"

View file

@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-calver
pkgver=2022.06.26
pkgrel=2
pkgrel=3
pkgdesc="Setuptools extension for CalVer package versions"
url="https://github.com/di/calver"
license="Apache-2.0"

View file

@ -2,7 +2,7 @@
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
pkgname=py3-certifi
pkgver=2024.2.2
pkgrel=0
pkgrel=1
pkgdesc="Python3 package for providing Mozilla's CA Bundle"
url="https://pypi.org/project/certifi"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-cffi
_pkgname=cffi
pkgver=1.16.0
pkgrel=0
pkgrel=1
pkgdesc="Foreign function interface for calling C code from Python3"
url="http://cffi.readthedocs.org/"
arch="all"

View file

@ -3,7 +3,7 @@
_pkgname=chardet
pkgname=py3-$_pkgname
pkgver=5.2.0
pkgrel=0
pkgrel=1
pkgdesc="The Universal Character Encoding Detector"
url="https://github.com/chardet/chardet/"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=py3-charset-normalizer
pkgver=3.3.2
pkgrel=0
pkgrel=1
pkgdesc="offers you an alternative to Universal Charset Encoding Detector, also known as Chardet"
url="https://github.com/ousret/charset_normalizer"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Contributor: Valery Kartel <valery.kartel@gmail.com>
pkgname=py3-coverage
pkgver=6.5.0
pkgrel=5
pkgrel=6
pkgdesc="Code coverage measurement for Python"
options="!check" # Requires 'xdist'
url="https://pypi.org/project/coverage"

View file

@ -3,7 +3,7 @@
pkgname=py3-cparser
_pkgname=pycparser
pkgver=2.22
pkgrel=0
pkgrel=1
pkgdesc="C parser written in Python3"
url="https://github.com/eliben/pycparser"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-dbus
_pkgname=dbus-python
pkgver=1.3.2
pkgrel=4
pkgrel=5
pkgdesc="Python3 bindings for DBUS"
url="https://www.freedesktop.org/wiki/Software/DBusBindings"
arch="all"

View file

@ -2,7 +2,7 @@
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=py3-distlib
pkgver=0.3.8
pkgrel=0
pkgrel=1
pkgdesc="Distribution utilities"
url="https://github.com/pypa/distlib"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-dnspython
_pyname=dnspython
pkgver=2.6.1
pkgrel=0
pkgrel=1
pkgdesc="DNS toolkit for Python3"
url="https://www.dnspython.org/"
arch="all"

View file

@ -2,7 +2,7 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=py3-docutils
pkgver=0.20.1
pkgrel=1
pkgrel=2
pkgdesc="Documentation Utilities for Python3"
url="https://pypi.org/project/docutils"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-editables
pkgver=0.5
pkgrel=1
pkgrel=2
pkgdesc="library for creating editable wheels"
url="https://github.com/pfmoore/editables"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-elementpath
pkgver=4.1.5
pkgrel=1
pkgrel=2
pkgdesc="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"
url="https://github.com/sissaschool/elementpath"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-elftools
_pkgname=py${pkgname##py3-}
pkgver=0.30
pkgrel=0
pkgrel=1
pkgdesc="Parsing ELF and DWARF in Python"
url="https://github.com/eliben/pyelftools"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-extras
_pkgname=extras
pkgver=1.0.0
pkgrel=9
pkgrel=10
pkgdesc="Useful extra bits for Python - things that shold be in the standard library"
url="https://pypi.org/project/extras/"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-fixtures
pkgver=4.1.0
pkgrel=1
pkgrel=2
pkgdesc="Fixtures, reusable state for writing clean tests and more."
url="https://pypi.org/project/fixtures/"
arch="noarch"

View file

@ -1,7 +1,7 @@
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-flit-core
pkgver=3.9.0
pkgrel=0
pkgrel=1
pkgdesc="simple packaging tool for simple packages (core)"
url="https://flit.readthedocs.io/"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-funcsigs
_pkgname=funcsigs
pkgver=1.0.2
pkgrel=9
pkgrel=10
pkgdesc="Python3 function signatures from PEP362 for Python 3.2+"
url="http://funcsigs.readthedocs.org"
arch="noarch"

View file

@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-gobject3
pkgver=3.48.1
pkgrel=1
pkgrel=2
pkgdesc="Python bindings for the GObject library"
url="https://wiki.gnome.org/Projects/PyGObject/"
arch="all"
@ -14,6 +14,7 @@ makedepends="
libffi-dev
meson
py3-cairo-dev
py3-setuptools
python3-dev
"
checkdepends="py3-pytest gtk+3.0-dev xvfb-run ibus font-dejavu"

View file

@ -2,7 +2,7 @@
pkgname=py3-gpep517
_pkgname=gpep517
pkgver=15
pkgrel=1
pkgrel=2
pkgdesc="Minimal backend script to aid installing Python packages through PEP 517-compliant build systems"
url="https://github.com/mgorny/gpep517/"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatch-vcs
pkgver=0.4.0
pkgrel=1
pkgrel=2
pkgdesc="Hatch plugin for versioning with your preferred VCS"
url="https://github.com/ofek/hatch-vcs"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-hatchling
pkgver=1.22.5
pkgrel=0
pkgrel=1
pkgdesc="Modern, extensible Python build backend"
url="https://hatch.pypa.io/latest/"
license="MIT"

View file

@ -3,7 +3,7 @@
pkgname=py3-idna
_pkgname=idna
pkgver=3.6
pkgrel=0
pkgrel=1
pkgdesc="IDNA 2008 and UTS #46 for Python3"
url="https://github.com/kjd/idna"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-imagesize
pkgver=1.4.1
pkgrel=3
pkgrel=4
pkgdesc="Getting image size from png/jpeg/jpeg2000/gif file"
url="https://github.com/shibukawa/imagesize_py"
arch="noarch"

View file

@ -4,7 +4,7 @@
pkgname=py3-iniconfig
_pyname=iniconfig
pkgver=2.0.0
pkgrel=0
pkgrel=1
pkgdesc="brain-dead simple config-ini parsing"
url="https://github.com/pytest-dev/iniconfig"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
pkgname=py3-installer
pkgver=0.7.0
pkgrel=1
pkgrel=2
pkgdesc="low-level library for installing from a Python wheel distribution"
url="https://github.com/pypa/installer"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-jinja2
_pkgname=Jinja2
pkgver=3.1.3
pkgrel=0
pkgrel=1
pkgdesc="A small but fast and easy to use stand-alone python template engine"
url="https://palletsprojects.com/p/jinja/"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-lxc
pkgver=5.0.0
pkgrel=3
pkgrel=4
pkgdesc="Python3 bindings for LXC"
options="!check" # No testsuite
url="https://linuxcontainers.org"

View file

@ -3,7 +3,7 @@
pkgname=py3-mako
_pkgname=Mako
pkgver=1.3.2
pkgrel=0
pkgrel=1
pkgdesc="Python3 fast templating language"
url="https://www.makotemplates.org/"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-markdown
_pkgname=Markdown
pkgver=3.5.2
pkgrel=0
pkgrel=1
pkgdesc="Python3 implementation of Markdown"
url="https://python-markdown.github.io/"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-markupsafe
_pkgname=MarkupSafe
pkgver=2.1.5
pkgrel=0
pkgrel=1
pkgdesc="Implements a XML/HTML/XHTML Markup safe string"
url="https://github.com/pallets/markupsafe"
arch="all"

View file

@ -3,7 +3,7 @@
pkgname=py3-meld3
_pkgname=meld3
pkgver=2.0.1
pkgrel=7
pkgrel=8
pkgdesc="An HTML/XML templating engine"
url="https://github.com/supervisor/meld3"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-mimeparse
_pkgname=python-mimeparse
pkgver=1.6.0
pkgrel=9
pkgrel=10
pkgdesc="Basic functions for parsing mime-types and matching media-ranges"
url="https://github.com/falconry/python-mimeparse"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-mock
_pkgname=mock
pkgver=5.1.0
pkgrel=1
pkgrel=2
pkgdesc="Python3 Mocking and Patching Library for Testing"
url="https://github.com/testing-cabal/mock"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-more-itertools
_pkgname=more-itertools
pkgver=10.2.0
pkgrel=0
pkgrel=1
pkgdesc="More routines for operating on iterables, beyond itertools"
url="https://github.com/more-itertools/more-itertools"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-olefile
pkgver=0.46
pkgrel=9
pkgrel=10
pkgdesc="Python module to read/write MS OLE2 files"
url="https://www.decalage.info/olefile"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=py3-ordered-set
pkgver=4.1.0
pkgrel=5
pkgrel=6
pkgdesc="MutableSet that remembers its order"
url="https://github.com/rspeer/ordered-set"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-packaging
_pkgname=packaging
pkgver=24.0
pkgrel=0
pkgrel=1
pkgdesc="Core utilities for Python3 packages"
options="!check" # Requires py3-pytest which requires py3-setuptools
url="https://pypi.org/project/packaging"

View file

@ -3,7 +3,7 @@
pkgname=py3-parsing
_pkgname=pyparsing
pkgver=3.1.2
pkgrel=0
pkgrel=1
pkgdesc="Object-oriented approach to text processing"
url="https://github.com/pyparsing/pyparsing"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-pathspec
_pyname=pathspec
pkgver=0.12.1
pkgrel=1
pkgrel=2
pkgdesc="Utility library for gitignore style pattern matching of file paths"
url="https://github.com/cpburnz/python-path-specification"
license="MPL-2.0"

View file

@ -3,7 +3,7 @@
pkgname=py3-pbr
_pkgname=pbr
pkgver=5.11.1
pkgrel=4
pkgrel=5
pkgdesc="Python3 Build Reasonableness"
url="https://pypi.org/project/pbr"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-pexpect
_pkgname=pexpect
pkgver=4.9
pkgrel=0
pkgrel=1
pkgdesc="Make Python a better tool for controlling and automating other programs"
url="https://pexpect.readthedocs.io/en/stable/"
arch="noarch"

View file

@ -4,7 +4,7 @@
pkgname=py3-pluggy
_pkgname=pluggy
pkgver=1.4.0
pkgrel=0
pkgrel=1
pkgdesc="Plugin management and hook calling for Python"
# Needs py3-pytest for checkdepends, which require py3-pluggy
# in depends, so disable here to break a circular dependency

View file

@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-pretend
pkgver=1.0.9
pkgrel=6
pkgrel=7
pkgdesc="Library for stubbing in Python"
url="https://github.com/alex/pretend"
license="BSD-3-Clause"

View file

@ -3,7 +3,7 @@
pkgname=py3-ptyprocess
_pkgname=ptyprocess
pkgver=0.7.0
pkgrel=5
pkgrel=6
pkgdesc="Run a subprocess in a pseudo terminal"
url="https://github.com/pexpect/ptyprocess"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-py
pkgver=1.11.0
pkgrel=2
pkgrel=3
pkgdesc="Python3 library with cross-python path, ini-parsing, io, code, log facilities"
url="https://py.readthedocs.io"
arch="noarch"

View file

@ -2,7 +2,7 @@
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py3-pygments
pkgver=2.17.2
pkgrel=0
pkgrel=1
pkgdesc="Syntax highlighting package written in Python"
url="https://pygments.org/"
arch="noarch"

View file

@ -3,7 +3,7 @@
pkgname=py3-pytest-timeout
_pyname=pytest-timeout
pkgver=2.3.1
pkgrel=0
pkgrel=1
pkgdesc="py.test plugin to abort hanging tests"
url="https://github.com/pytest-dev/pytest-timeout/"
arch="noarch"

Some files were not shown because too many files have changed in this diff Show more