diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-02-25 18:57:11 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-26 14:25:51 +0000 |
commit | 2843972445e868869a8ca938f9cf8b81785a5228 (patch) | |
tree | 26ead1a7ccfa2dd452031b0b06250ed9fcd4bd9b /app-misc | |
parent | dev-python/enrich: Extented rich library functionality (diff) | |
download | gentoo-2843972445e868869a8ca938f9cf8b81785a5228.tar.gz gentoo-2843972445e868869a8ca938f9cf8b81785a5228.tar.bz2 gentoo-2843972445e868869a8ca938f9cf8b81785a5228.zip |
app-misc/gcalcli: Port to python 3.{8,9}
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/gcalcli/gcalcli-4.2.0.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/app-misc/gcalcli/gcalcli-4.2.0.ebuild b/app-misc/gcalcli/gcalcli-4.2.0.ebuild index 4d9494ca6015..f1c13585884a 100644 --- a/app-misc/gcalcli/gcalcli-4.2.0.ebuild +++ b/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 |