1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/py3-pychromecast/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

34 lines
948 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Magnus Sandin <magnus.sandin@gmail.com>
pkgname=py3-pychromecast
pkgver=13.0.4
pkgrel=0
pkgdesc="Python module to talk to Google Chromecast"
url="https://github.com/home-assistant-libs/pychromecast"
arch="noarch"
license="MIT"
depends="
py3-casttube
py3-protobuf
py3-zeroconf
python3
"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/P/PyChromecast/PyChromecast-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/PyChromecast-$pkgver"
provides="py3-chromecast=$pkgver-r$pkgrel" # Backwards compatibility
replaces="py3-chromecast" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
2f9bd925e452448a387a04babc0d71a35fc83edd30142cdd129479b5b20cf7aa9691a8d46f45edf5f12fd6f3052564c2956dd241eaf1a1c468b8399b065286ec PyChromecast-13.0.4.tar.gz
"