Skip to content

Commit

Permalink
dev-python/tzlocal: Bump to python 3.10
Browse files Browse the repository at this point in the history
Replace setup.py test run with unittest, because setup.py test is deprecated

Signed-off-by: Ekaterina Vaartis <[email protected]>
Closes: gentoo#21053
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
vaartis authored and mgorny committed May 30, 2021
1 parent d65d798 commit 003d0ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-python/tzlocal/tzlocal-2.1.ebuild
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

0 comments on commit 003d0ff

Please sign in to comment.