blob: 4eaccb876a23b8fb94e4bdb8225fce83630bb005 (
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
|
# Maintainer: Aseem Athale <athaleaseem@gmail.com>
# Contributor: Grey Christoforo <first name [at] last name [dot] net>
pkgname=python-google-cloud-firestore
pkgver=2.20.2
pkgrel=1
pkgdesc="Google's Firestore Python client library"
arch=('any')
url=https://github.com/googleapis/python-firestore
license=('Apache-2.0')
depends=('python')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
source=("$pkgname-$pkgver.tar.gz"::${url}/archive/v${pkgver}.tar.gz)
b2sums=('ec9056b1f5dcc6caba96bcd71779f4dfd547d25c0361ceeb6f85f6a5ea7d4edb1acd35bffde69887dc1fd551c1539e6eda77308c2d257fa1ade97204f1413fea')
build() {
cd "python-firestore-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "python-firestore-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:ts=2:sw=2:et:
|