blob: dd83e1d0ca159bc22567ab245b0409d7c0ebe8a2 (
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: Aseem Athale <athaleaseem@gmail.com>
_base=firebase-admin-python
pkgname=python-firebase-admin
pkgver=7.2.0
pkgrel=1
pkgdesc="The Firebase Admin Python SDK enables server-side (backend) Python developers to integrate Firebase into their services and applications."
arch=('any')
url="https://github.com/firebase/firebase-admin-python"
license=('Apache')
depends=('python')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
depends=('python-cachecontrol' 'python-google-api-core' 'python-google-cloud-firestore' 'python-google-cloud-storage' 'python-pyjwt')
source=("$pkgname-$pkgver.tar.gz"::${url}/archive/refs/tags/v${pkgver}.tar.gz)
b2sums=('e398fc7f4cc59f5446729e084562021d55f285181b2877969c3e3f655fe22c9d342142c71cb8d4263683336760b97a5f2764eabd431e2dc2efa7c0d028f6d3b1')
build() {
cd "${_base}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_base}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|