Added totp python module.

This commit is contained in:
László Valkó 2021-07-02 13:35:50 +02:00
parent e57063cbcb
commit eb6d5a99b7
3 changed files with 29 additions and 0 deletions

3
dev-python/totp/Manifest Normal file
View file

@ -0,0 +1,3 @@
DIST totp-1.3.0.tar.gz 7507 BLAKE2B 7d50ea611ed1a6bb571438bd9442136dc2ceb7e85d2756ced6ea711aa9084f21b0311ca30ba69c60c05c708e4d24b8515e284c1e409b0cc80ced6f5b55ff0718 SHA512 c465078356c858403d19a12d497e861eae28bda55bb895ecbf66d4bf933bf3ffbd96aa81ce1d6c1813134a2f61624faaf577c1384cbd6b35dc41201376c7e7a3
EBUILD totp-1.3.0.ebuild 396 BLAKE2B e9ed44fc93af4fae83be49557f26c6ff7b4359af8b0c04075b911d2d800f72f7d935a29e6ba74a04bea6ceeceedb1286aab1bd7e64d1392691b6587430994d6f SHA512 2d0a51f6f1f840a71b997b354d2aa1b92b275e837ab37a82cf5c81636822078c0435c512224b60a1918b544cdb236ac2495441af88ff531d81f1995bdefdd605
MISC metadata.xml 265 BLAKE2B a591e693e3aba386101689db1b845e78c4ff8857d505b883bfb7b35fd24a668c1cb14fa2095df87a97c2e06a5d3fb5abd6c90893acd40ffab66a449b997c786b SHA512 78faefae13df7c4357dc7173e114e8314bb0bd1d678ca24d66590a45769e2a0a4b40a020dd45380980561cd4512cac7567a025bf1579ae7da6fd09901aa75f4c

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">WhyNotHugo/totp-cli</remote-id>
<remote-id type="pypi">totp</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,18 @@
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}]"
python_test() {
"${EPYTHON}" test/test.py || die "Tests fail with ${EPYTHON}"
}