typing-extensions
This commit is contained in:
parent
5120320045
commit
3c24fef1a1
1 changed files with 11 additions and 18 deletions
|
@ -1,35 +1,28 @@
|
||||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||||
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
# Maintainer: psykose <alice@ayaya.dev>
|
||||||
pkgname=py3-typing-extensions
|
pkgname=py3-typing-extensions
|
||||||
pkgver=4.12.2
|
pkgver=4.5.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Backported and Experimental Type Hints for Python 3.5+"
|
pkgdesc="Backported and Experimental Type Hints for Python 3.5+"
|
||||||
url="https://github.com/python/typing_extensions"
|
url="https://github.com/python/typing/blob/master/typing_extensions/README.rst"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="Python-2.0"
|
license="Python-2.0"
|
||||||
makedepends="py3-gpep517 py3-flit-core"
|
depends="python3"
|
||||||
checkdepends="python3-tests"
|
makedepends="py3-build py3-flit-core py3-installer py3-wheel"
|
||||||
subpackages="$pkgname-pyc"
|
checkdepends="py3-tox python3-tests"
|
||||||
source="https://github.com/python/typing_extensions/archive/$pkgver/typing_extensions-$pkgver.tar.gz"
|
source="https://github.com/python/typing/archive/$pkgver/typing-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/typing_extensions-$pkgver"
|
builddir="$srcdir/typing-$pkgver/typing_extensions"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
gpep517 build-wheel \
|
python3 -m build --no-isolation --wheel
|
||||||
--wheel-dir .dist \
|
|
||||||
--output-fd 3 3>&1 >&2
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
tox --sitepackages -e py310
|
||||||
gpep517 install-wheel --destdir .testenv --prefix '' .dist/*.whl
|
|
||||||
.testenv/bin/python3 src/test_typing_extensions.py
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 -m installer -d "$pkgdir" \
|
python3 -m installer -d "$pkgdir" \
|
||||||
.dist/typing_extensions-$pkgver-py3-none-any.whl
|
dist/typing_extensions-$pkgver-py3-none-any.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
|
||||||
925f5936faeec2a799b42e555900fa7121fb3841f80dfbbdc931abe76b1ea6e600c5fe9b1f91dfb43ae049d60bc7ed9f12e2c25be6f9bcc7b32bbbbdda3055d6 typing_extensions-4.12.2.tar.gz
|
|
||||||
"
|
|
||||||
|
|
Loading…
Reference in a new issue