blob: 1d52e12787760a3629cfbc3297fa8c617b6c5e1e (
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
27
28
29
30
|
# Contributor: Julien Nicoulaud <julien DOT nicoulaud AT gmail DOT com>
# Maintainer: Y Kirylau <actionless DOT loveless AT gmail MF com>
_pypiname=PyGObject-stubs
_pkgname=pygobject-stubs
pkgname="python-${_pkgname}"
pkgver=2.9.0
pkgrel=1
pkgdesc="PEP 561 Typing Stubs for PyGObject."
arch=('any')
url='https://github.com/pygobject/pygobject-stubs'
license=('LGPL')
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
source=("https://files.pythonhosted.org/packages/source/P/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
sha512sums=('6aa80f7ae9e8d9cccbf0567f88433ee1840acf892dfe0be654030042888d5c02df5d71087324918bfc809a67e2bfc58ea4ab9b506ea34ce7109830a884de6d40')
build() {
cd ${_pypiname}-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd ${_pypiname}-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|