Package Details: cliweather-git 1.0.r2.g55c51f8-1

Git Clone URL: https://aur.archlinux.org/cliweather-git.git (read-only)
Package Base: cliweather-git
Description: Simple CLI for Google's weather API
Upstream URL: https://github.com/AaronFoltz/cliweather
Licenses: WTFPL
Submitter: None
Maintainer: willemw
Last Packager: willemw
Votes: 8
Popularity: 0.019970
First Submitted: 2011-03-07 13:46
Last Updated: 2015-06-08 09:19

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Anonymous comment on 2012-03-16 03:29

You were right, it does not work with python 3. Thanks for bringing it to my attention. It should work now.

Anonymous comment on 2012-03-06 13:30

It works fine here with python 3. Are you sure you use it properly (ie with a city as an argument?). I cannot see if I am missing something here...

gtmanfred commented on 2012-03-06 01:08

change the first line of /usr/bin/weather to #!/usr/bin/env python2

needs a patch

Anonymous comment on 2012-03-01 09:35

Not working with python 3
Here's an updated PKGBUILD which works:


_gitname="cliweather"
pkgname=cliweather-git
pkgver=20120301
pkgrel=1
pkgdesc="Simple CLI for Google's weather API (Git version)"
url="https://github.com/AaronFoltz/$_gitname"
arch=('any')
license=('WTFPL')
depends=('python2')
makedepends=('git')
provides=('cliweather')
replaces=('cliweather')
conflicts=('cliweather')

_gitroot="git://github.com/AaronFoltz/$_gitname"

package() {
msg "Connection to $_gitname repository..."
if [ -d "$_gitname" ]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi

rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"

sed -i "1 s|python|python2|" ./weather

install -vDm755 "weather" "$pkgdir/usr/bin/weather"
}