* update python-traitlets to 5.14.3-2
This commit is contained in:
parent
d6c6ddac96
commit
5a8837f8b5
@ -4,8 +4,8 @@
|
||||
|
||||
_pyname=traitlets
|
||||
pkgname=python-$_pyname
|
||||
pkgver=5.14.2
|
||||
pkgrel=1
|
||||
pkgver=5.14.3
|
||||
pkgrel=2
|
||||
pkgdesc='A configuration system for Python applications'
|
||||
arch=(any)
|
||||
url='https://traitlets.readthedocs.io/en/stable'
|
||||
@ -13,28 +13,29 @@ license=(BSD-3-Clause)
|
||||
depends=(python
|
||||
python-argcomplete
|
||||
python-typing_extensions)
|
||||
makedepends=(python-build
|
||||
makedepends=(git
|
||||
python-build
|
||||
python-hatchling
|
||||
python-installer)
|
||||
checkdepends=(python-pytest-mock
|
||||
python-pytest-mypy-testing)
|
||||
source=(https://pypi.python.org/packages/source/t/traitlets/traitlets-$pkgver.tar.gz)
|
||||
sha256sums=('8cdd83c040dab7d1dee822678e5f5d100b514f7b72b01615b26fc5718916fdf9')
|
||||
source=(git+https://github.com/ipython/traitlets#tag=v$pkgver)
|
||||
sha256sums=('84a712e6293b4bfde7a609f7bee3bca22c8b120766ea9d5f6fe7171b86cc3d48')
|
||||
|
||||
build() {
|
||||
cd $_pyname-$pkgver
|
||||
cd $_pyname
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $_pyname-$pkgver
|
||||
cd $_pyname
|
||||
python -m venv --system-site-packages test-env
|
||||
test-env/bin/python -m installer dist/*.whl
|
||||
test-env/bin/python -m pytest -v -k 'not mypy_dict_typing'
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pyname-$pkgver
|
||||
cd $_pyname
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user