| Name |
python-typing_extensions |
| Description |
Backported and Experimental Type Hints for Python 3.8+ |
| Version |
4.15.0-3 |
| Package Base |
python-typing_extensions |
| Homepage |
https://github.com/python/typing_extensions |
| Maintainers |
['Antonio Rojas <arojas@archlinux.org>'] |
| Contributors |
['Daniel M. Capella <polyzen@archlinux.org>', 'Maxime Gauduin <alucryd@archlinux.org>', 'Michael Yeatts <mwyeatts@gmail.com>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/python-typing_extensions |
| Sources |
['python-typing_extensions::git+https://github.com/python/typing_extensions.git#tag=4.15.0'] |
| Dependencies |
['python'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['git', 'python-build', 'python-flit-core', 'python-installer'] |
| Provides |
[] |
| Builddate |
26-12-2025 16:46:02 |
| Architecture |
any |
| Distro-Version |
|
| Licenses |
['Python-2.0.1'] |
| Hash |
03ecfb2645c17f799963976366b24bb3ae6d975854f911d12770d26f9bee2273 |
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Daniel M. Capella <polyzen@archlinux.org>
# Contributor: Michael Yeatts <mwyeatts@gmail.com>
pkgname=python-typing_extensions
pkgver=4.15.0
pkgrel=3
pkgdesc='Backported and Experimental Type Hints for Python 3.8+'
arch=(any)
url=https://github.com/python/typing_extensions
license=(Python-2.0.1)
depends=(python)
makedepends=(
git
python-build
python-flit-core
python-installer
)
checkdepends=(python-tests)
source=("$pkgname::git+$url.git#tag=$pkgver")
sha512sums=('471fd5003f8230c8e1b70515de6394f2273253eab577cece43012f81178ad2b08d6eaf90ead473b477349dc4dcbc3260e83dbf9aba54dfc5645a231a1e820654')
b2sums=('17f1071cd2fc5276c203ea14bf0de468d6238d59e5960b710d8a60cb3dec251f3b837ae7551f4373877aaba20a307d1d5333fd9650ea3743aee085e3a4adec4d')
prepare() {
cd $pkgname
git cherry-pick -n 16cc1566a6a4b8e729e8b91e1a4e6a31526823a0 # Fix tests on Python 3.14
}
build() {
cd "$pkgname"
python -m build --wheel --skip-dependency-check --no-isolation
}
check() {
cd "$pkgname"
PYTHONPATH="$PWD/src" python -m unittest discover src
}
package() {
cd "$pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}