summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/gcalcli/Manifest2
-rw-r--r--app-misc/gcalcli/gcalcli-3.3.2.ebuild30
-rw-r--r--app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild32
3 files changed, 33 insertions, 31 deletions
diff --git a/app-misc/gcalcli/Manifest b/app-misc/gcalcli/Manifest
index 38478a8..a801c85 100644
--- a/app-misc/gcalcli/Manifest
+++ b/app-misc/gcalcli/Manifest
@@ -1 +1 @@
-DIST gcalcli-3.3.2.tar.gz 1674569 SHA256 69c31b5bee1390b4187a48b85b57ba95e40db231489d3deec8c3d387305d2ff3 SHA512 725290de1c7c768ad48e77bcc74e65b2676aab2fe5d40bdf59e63e1552d96dbe849fe99680b1f33c8adebcf2ee4a1ad898879820e20d8b2050679348820f4ba0 WHIRLPOOL 86acaf08d36af331524e514c6bfc37e6591ec570dd5c25c0bca6b111aa901636082cc961b70fcadbc32616e72f6c09bbc8460aa97f15a146fa341850fa416d15
+DIST gcalcli-4.0.0_alpha3.tar.gz 1675261 SHA256 d295a5c577fd4d202eb59317169e239c07d03c8ab261211ef39549bdcf98e150 SHA512 215860f50d2b32b94124537b3d8dbaebd7af5b9c907d565a58eab5357efa8a8c8bc6c20264811337ddbc33ae75029bf59c782e1dbb317667084f11da8c41ea18 WHIRLPOOL 3fb9817ca408b2513b5bbcaa8ea343132e8e834ac3365cd1a4020c9dc9840f125e59b49b9067f27187b6b7210d4bb4227a79efe80ae1a98e7aad3bfc1177defa
diff --git a/app-misc/gcalcli/gcalcli-3.3.2.ebuild b/app-misc/gcalcli/gcalcli-3.3.2.ebuild
deleted file mode 100644
index 4a50535..0000000
--- a/app-misc/gcalcli/gcalcli-3.3.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-# google-api-python-client only supports these
-PYTHON_COMPAT=( python2_7 pypy )
-
-inherit python-r1
-
-DESCRIPTION="Google Calendar Command Line Interface"
-HOMEPAGE="https://github.com/insanum/gcalcli"
-SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- dev-python/python-dateutil[${PYTHON_USEDEP}]
- dev-python/google-api-python-client[${PYTHON_USEDEP}]
- dev-python/gdata[${PYTHON_USEDEP}]
- dev-python/vobject[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}"
-
-src_install() {
- dodoc -r ChangeLog README.md docs
- python_foreach_impl python_doscript ${PN}
-}
diff --git a/app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild b/app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild
new file mode 100644
index 0000000..9ab9d70
--- /dev/null
+++ b/app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+# google-api-python-client only supports these
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
+
+inherit distutils-r1
+
+DESCRIPTION="Google Calendar Command Line Interface"
+HOMEPAGE="https://github.com/insanum/gcalcli"
+SRC_URI="https://github.com/insanum/gcalcli/archive/v${PV/_alpha/a}.tar.gz -> ${P}.tar.gz"
+S=$WORKDIR/$PN-${PV/_alpha/a}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/google-api-python-client-1.4[${PYTHON_USEDEP}]
+ dev-python/httplib2[${PYTHON_USEDEP}]
+ dev-python/oauth2client[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/vobject[${PYTHON_USEDEP}]
+ dev-python/parsedatetime[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+# vobject parsedatetime are optional
+
+DOCS=(ChangeLog README.md docs/)