Diff prettytable-0.7.2-r1 with a prettytable-2.1.0

/usr/portage/dev-python/prettytable/prettytable-2.1.0.ebuild 2021-04-05 20:09:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
PYTHON_COMPAT=( python3_{7..9} )
6
PYTHON_COMPAT=( python3_{7..9} pypy3 )
7 7

  
8 8
inherit distutils-r1
9 9

  
10 10
DESCRIPTION="Easily displaying tabular data in a visually appealing ASCII table format"
11
HOMEPAGE="https://code.google.com/p/prettytable/"
12
SRC_URI="mirror://pypi/P/PrettyTable/${P}.tar.bz2"
11
HOMEPAGE="
12
	https://github.com/jazzband/prettytable/
13
	https://pypi.org/project/prettytable/"
14
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13 15

  
14 16
LICENSE="BSD"
15 17
SLOT="0"
16 18
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc64 sparc x86 ~amd64-linux ~x86-linux"
17
IUSE="test"
18
RESTRICT="!test? ( test )"
19 19

  
20
python_test() {
21
	"${PYTHON}" prettytable_test.py || die "tests failed under ${EPYTHON}"
22
}
20
RDEPEND="
21
	dev-python/wcwidth[${PYTHON_USEDEP}]
22
"
23
BDEPEND="
24
	dev-python/setuptools_scm[${PYTHON_USEDEP}]
25
	test? (
26
		$(python_gen_impl_dep sqlite)
27
	)"
28

  
29
distutils_enable_tests --install pytest
Thank you!