Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626372 - app-misc/gcalcli-4.0.0_alpha3 version bump
Summary: app-misc/gcalcli-4.0.0_alpha3 version bump
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 626390
  Show dependency tree
 
Reported: 2017-07-27 15:56 UTC by eroen
Modified: 2017-08-16 06:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gcalcli-4.0.0_alpha3.ebuild (gcalcli-4.0.0_alpha3.ebuild,893 bytes, text/plain)
2017-07-27 15:56 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
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/)