Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 626372

Summary: app-misc/gcalcli-4.0.0_alpha3 version bump
Product: Gentoo Linux Reporter: eroen <erikdenstore+gbugs>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: erkiferenc, jstein, ultrabug
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=613850
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 626390    
Attachments: gcalcli-4.0.0_alpha3.ebuild

Description eroen 2017-07-27 15:56:34 UTC
Created attachment 486976 [details]
gcalcli-4.0.0_alpha3.ebuild

gcalcli development seems to have stagnated, and the most recent tag "v4.0.0a3" (seemingly one commit ahead of "4.0-endtime" branch head) was made 2017-02-21. In contrast to the actual releases (bug 585794), this alpha works out of the box with current dev-python/oauth2client (4.0.0).

This bump obsoletes bug 609774, as the deprecated python-gflags module is no longer used.

dev-python/parsedatetime does not have pypy support currently, so I dropped it.


--- a/app-misc/gcalcli/gcalcli-3.3.2.ebuild
+++ b/app-misc/gcalcli/gcalcli-4.0.0_alpha3.ebuild
@@ -1,30 +1,30 @@
 # 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 )
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
 
-inherit python-r1
+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}.tar.gz -> ${P}.tar.gz"
+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[${PYTHON_USEDEP}]
-	dev-python/gdata[${PYTHON_USEDEP}]
-	dev-python/vobject[${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
 
-src_install() {
-	dodoc -r ChangeLog README.md docs
-	python_foreach_impl python_doscript ${PN}
-}
+DOCS=(ChangeLog README.md docs/)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-25 13:05:40 UTC
*** Bug 698524 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-25 13:07:04 UTC
commit 8e36163534e38a7b6a4880bbbc1da1bb19a2479d
Author: Robin H. Johnson <robbat2@gentoo.org>
Date:   Tue Aug 15 16:30:25 2017 -0700

    app-misc/gcalcli: fixup deps, add last major stable release before 4-alpha

    Package-Manager: Portage-2.3.6, Repoman-2.3.3

commit 423b983047da9e16e5c8551facf89611852adb4d
Author: Ultrabug <ultrabug@gentoo.org>
Date:   Mon Jul 31 22:54:54 2017 +0200

    app-misc/gcalcli: version bump wrt upstream gcalcli/issues/204

    Package-Manager: Portage-2.3.6, Repoman-2.3.3