Skip to content

Commit

Permalink
app-misc/gcalcli: Port to python 3.{8,9}
Browse files Browse the repository at this point in the history
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
jsmolic authored and thesamesam committed Feb 26, 2021
1 parent f183c41 commit 2843972
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions app-misc/gcalcli/gcalcli-4.2.0.ebuild
@@ -1,33 +1,30 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
# parsedatetime doesn't support pypy
PYTHON_COMPAT=( python3_7 )

PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1

MY_PV="4.2.0"

DESCRIPTION="Google Calendar Command Line Interface"
HOMEPAGE="https://github.com/insanum/gcalcli"
SRC_URI="https://github.com/insanum/gcalcli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/gcalcli-${MY_PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="${PYTHON_DEPS}
RDEPEND="
>=dev-python/google-api-python-client-1.5.3[${PYTHON_USEDEP}]
dev-python/parsedatetime[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/python-gflags[${PYTHON_USEDEP}]
dev-python/vobject[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

S="${WORKDIR}/gcalcli-${MY_PV}"
distutils_enable_tests pytest

src_install() {
dodoc -r ChangeLog README.md docs
Expand Down

0 comments on commit 2843972

Please sign in to comment.