blob: 51a1e86f748b6b51f3172b16c9b24a9c9bd530cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Martin Diehl <aur@martin-diehl.net>
# Contributor: Achmad Fathoni<fathoni.id(at)gmail.com>
pkgname=python-types-pyyaml
pkgver=6.0.12.20241230
pkgrel=1
pkgdesc='Typing stubs for PyYAML'
arch=(any)
url='https://pypi.org/project/types-PyYAML'
license=('Apache-2.0')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
_name=${pkgname#python-}
__name=${_name//-/_}
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${__name}/${__name}-$pkgver.tar.gz")
sha512sums=('f17466dbc0ce078048d908998265e962f6a640be6882f82cbed66579373bb08ab936028c16189610cf8df46d802d2e89eb3ee850765fc7b8f5c2296b34dfb2eb')
build() {
cd ${__name}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${__name}-${pkgver}
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|