blob: 18788a5a73ded3b8afe04674fb28d84e924d0e83 (
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.0
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)
sha256sums=('899753270deade6e8009243c1ea566d8ffffa2bf93f04f588c2af6b1fa90e9c6')
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:
|