2020-01-05 20:54:22 +03:00
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
2016-11-07 09:21:26 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2020-01-23 08:48:28 +03:00
|
|
|
EAPI=7
|
2016-11-07 09:21:26 +03:00
|
|
|
|
2020-02-06 12:59:13 +03:00
|
|
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
2020-01-23 08:48:28 +03:00
|
|
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
2016-11-07 09:21:26 +03:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Pure-Python RSA implementation"
|
2018-04-27 20:48:59 +03:00
|
|
|
HOMEPAGE="https://stuvel.eu/rsa https://pypi.org/project/rsa/"
|
2016-11-07 09:21:26 +03:00
|
|
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
2017-06-20 11:00:28 +03:00
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
2016-11-07 09:21:26 +03:00
|
|
|
IUSE="test"
|
2019-12-11 07:27:31 +03:00
|
|
|
RESTRICT="!test? ( test )"
|
2016-11-07 09:21:26 +03:00
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
>=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}]
|
|
|
|
dev-python/traceback2[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
test? (
|
|
|
|
dev-python/nose[${PYTHON_USEDEP}]
|
|
|
|
dev-python/unittest2[${PYTHON_USEDEP}]
|
|
|
|
)
|
|
|
|
"
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
nosetests --verbose || die
|
|
|
|
}
|