Package Details: python-pychromecast 7.5.1-1

Git Clone URL: https://aur.archlinux.org/python-pychromecast.git (read-only, click to copy)
Package Base: python-pychromecast
Description: Library for Python 3 to communicate with the Google Chromecast
Upstream URL: https://github.com/home-assistant-libs/pychromecast
Licenses: MIT
Conflicts: python-pychromecast6
Submitter: polyzen
Maintainer: nobodywasishere
Last Packager: nobodywasishere
Votes: 25
Popularity: 0.131039
First Submitted: 2017-06-23 06:56
Last Updated: 2020-11-06 00:36

Latest Comments

« First ‹ Previous 1 2

Anonymous comment on 2017-09-08 17:24

Replace: $pkgbase-$pkgver ---> $_pkgname-$pkgver

rhabbachi commented on 2017-09-07 11:15

Github repo to make it easier to test the proposed fix https://github.com/rhabbachi/python-pychromecast.aur

rhabbachi commented on 2017-09-07 11:04

Applying the following diff fixed the issue for me (strip the enclosing "```").

```
diff --git a/PKGBUILD b/PKGBUILD
index 8e90eaa..7e05948 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,14 +16,15 @@ source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('72442b2a3d9742587a9f7b11b3f502a8929c07b34332dc5197b75a0da0cd8f96fb896c044454fb77c8deaaebc00891070a7c5d27568696d69252c7e4139627fb')

build() {
- cd $pkgbase-$pkgver
+ tar xf $pkgbase-$pkgver.tar.gz
+ cd $_pkgname-$pkgver
python setup.py build
python2 setup.py build
}

package_python2-pychromecast() {
depends=('python2' 'python2-protobuf' 'python2-requests' 'python2-zeroconf')
- cd $pkgbase-$pkgver
+ cd $_pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -d "$pkgdir/usr/share/$pkgname/examples"
@@ -32,7 +33,7 @@ package_python2-pychromecast() {

package_python-pychromecast() {
depends=('python' 'python-protobuf' 'python-requests' 'python-zeroconf')
- cd $pkgbase-$pkgver
+ cd $_pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -d "$pkgdir/usr/share/$pkgname/examples"
```

darkbasic commented on 2017-09-06 08:55

PKGBUILD: line 19: cd: python-pychromecast-0.8.2: No such file or directory