20 lines
447 B
Bash
20 lines
447 B
Bash
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python3_{8,9} )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="OTP module"
|
|
HOMEPAGE="https://github.com/WhyNotHugo/totp-cli https://pypi.org/project/totp/"
|
|
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
RDEPEND="dev-python/onetimepass[${PYTHON_USEDEP}]"
|
|
|
|
python_test() {
|
|
"${EPYTHON}" test/test.py || die "Tests fail with ${EPYTHON}"
|
|
}
|