diff options
author | Quan Guo | 2018-08-11 15:25:07 +0800 |
---|---|---|
committer | Quan Guo | 2018-08-11 15:25:07 +0800 |
commit | ae7c4d6d3f17b1620834240a798c2c10c6129780 (patch) | |
tree | a215f83e54a062cd243ac0b4228c261ac464c1db | |
parent | 7d1a2c6f64a11118f847b364b4063d53dfc1bb81 (diff) | |
download | aur-gcalcli-git.tar.gz |
Move to python3
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 18 insertions, 22 deletions
@@ -1,18 +1,18 @@ # Generated by mksrcinfo v8 -# Tue Jun 28 19:05:03 UTC 2016 +# Sat Aug 11 07:24:52 UTC 2018 pkgbase = gcalcli-git - pkgdesc = Google Calendar Command Line Interface, modfied to work with the package: python2-oauth2client from [community] repository. - pkgver = 3.3.2.r261.g4a55b6f + pkgdesc = Google Calendar Command Line Interface, modfied to work with the package: python-oauth2client from [community] repository. + pkgver = 3.4.0.r311.g27aa937 pkgrel = 1 url = https://github.com/insanum/gcalcli arch = any license = MIT - depends = python2-google-api-python-client - depends = python2-dateutil - depends = python2-gflags - depends = python2-oauth2client - optdepends = python2-vobject: for ics/vcal importing - optdepends = python2-parsedatetime: for fuzzy dates/times like "now", "today", "eod tomorrow", etc. + depends = python-google-api-python-client + depends = python-dateutil + depends = python-gflags + depends = python-oauth2client + optdepends = python-vobject: for ics/vcal importing + optdepends = python-parsedatetime: for fuzzy dates/times like "now", "today", "eod tomorrow", etc. conflicts = gcalcli source = git+https://github.com/insanum/gcalcli md5sums = SKIP @@ -4,20 +4,20 @@ # Contributor: insanum # Contributor: Thomas Zervogiannis -#modified to work with python2-oauth2client from [community] repository +#modified to work with python-oauth2client from [community] repository pkgname=gcalcli-git -pkgver=3.3.2.r261.g4a55b6f +pkgver=3.4.0.r311.g27aa937 pkgrel=1 pkgdesc='Google Calendar Command Line Interface, modfied to work with -the package: python2-oauth2client from [community] repository.' +the package: python-oauth2client from [community] repository.' arch=('any') url=https://github.com/insanum/gcalcli license=('MIT') -depends=('python2-google-api-python-client' 'python2-dateutil' 'python2-gflags' -'python2-oauth2client') -optdepends=('python2-vobject: for ics/vcal importing' - 'python2-parsedatetime: for fuzzy dates/times like "now", "today", +depends=('python-google-api-python-client' 'python-dateutil' 'python-gflags' +'python-oauth2client') +optdepends=('python-vobject: for ics/vcal importing' + 'python-parsedatetime: for fuzzy dates/times like "now", "today", "eod tomorrow", etc.') source=('git+https://github.com/insanum/gcalcli') md5sums=('SKIP') @@ -30,14 +30,10 @@ pkgver() { echo "$(git describe --abbrev=0 --tags | cut -f 2 -d '-' | sed 's/v//').r$(git rev-list --count HEAD).$(git log -1 --format='g%h')" } -prepare() { - cd $_gitname - sed -i -e 's/import\ run/import\ run_flow/' gcalcli -} - package() { cd $_gitname - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } # vim:set ts=2 sw=2 et: + |