summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@kotobank.ch>2021-05-30 18:33:36 +0300
committerMichał Górny <mgorny@gentoo.org>2021-05-30 18:53:50 +0200
commit003d0ff284dc362abf8fd313763b2c74a21d0523 (patch)
tree7e425109ef9fb152ce04b050b7d4d7e274232592
parentdev-python/lz4: Bump to python 3.10 (diff)
downloadgentoo-003d0ff284dc362abf8fd313763b2c74a21d0523.tar.gz
gentoo-003d0ff284dc362abf8fd313763b2c74a21d0523.tar.bz2
gentoo-003d0ff284dc362abf8fd313763b2c74a21d0523.zip
dev-python/tzlocal: Bump to python 3.10
Replace setup.py test run with unittest, because setup.py test is deprecated Signed-off-by: Ekaterina Vaartis <vaartis@kotobank.ch> Closes: https://github.com/gentoo/gentoo/pull/21053 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/tzlocal/tzlocal-2.1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/tzlocal/tzlocal-2.1.ebuild b/dev-python/tzlocal/tzlocal-2.1.ebuild
index ca1517fce0e5..417e905d44f3 100644
--- a/dev-python/tzlocal/tzlocal-2.1.ebuild
+++ b/dev-python/tzlocal/tzlocal-2.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
@@ -19,4 +19,4 @@ IUSE=""
RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]"
DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
-distutils_enable_tests setup.py
+distutils_enable_tests unittest