1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{6,7} )
13 DESCRIPTION="Python bindings for dev-libs/icu"
14 HOMEPAGE="https://github.com/ovalhub/pyicu"
15 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
22 RESTRICT="!test? ( test )"
24 RDEPEND="${PYTHON_DEPS}
27 test? ( dev-python/pytest
30 S="${WORKDIR}/${MY_P}"
32 DOCS=(CHANGES CREDITS README.md)
34 # This will no longer be necessary in the next release
35 PATCHES=( "${FILESDIR}"/${PN}-2.3.1-testSurrogatePairs_workaround.patch )