1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/py3-pyrebase/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
1 KiB
Text

# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
pkgname=py3-pyrebase
_pkgname=Pyrebase
pkgver=3.0.27
pkgrel=2
pkgdesc="simple python wrapper for the Firebase API"
options="!check" # no test suite
url="https://github.com/thisbejim/Pyrebase"
arch="noarch"
license="MIT"
depends="python3 py3-pycryptodome py3-requests py3-six py3-oauth2client
py3-parsing py3-requests-toolbelt py3-python-jwt"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz
drop-requirements.patch
"
builddir="$srcdir"/$_pkgname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
49368b656e49eb74d2e690f916eb3a80f0670f5dfcbca0d9972fd7be993df2901a1fe03c70ef738a721a90ea23a49c5361c4fefe80d6f012af609da104506805 Pyrebase-3.0.27.tar.gz
36fe10f58564995b09d8eced1a2e1b6db7e6c6ad24f3d8f34bbe31edeb331166b1ea11daf93d61c25886f7d5997cf3d4759502e989915aa5b5dceb010e1edd4c drop-requirements.patch
"