dev-python/pyotp: Introducing new package

Introducing the package into Gentoo repository.

Closes: https://bugs.gentoo.org/655082
Closes: https://github.com/gentoo/gentoo/pull/8282
Package-Manager: Portage-2.3.33, Repoman-2.3.9
This commit is contained in:
Oleksandr Trotsenko
2018-05-18 17:12:55 -05:00
committed by Michał Górny
parent 01189a1649
commit 0478e1a65c
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pyotp-2.2.6.tar.gz 10602 BLAKE2B 801f48646ff15a039b9295948ed292c3c432f8b0b629d249554259802335b7430a2c82f8c3bee1f54df71b0972ec293d69a2005c35cac120a51cec1a3548b2c1 SHA512 4f962704411ceebff967cf13af5ec5b815da0f82af665a086c4e5d53acc735453d638c65aa2afa40fe546e92d04a9250f6964cb22270a67c9609f8486eb5ba90

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>oleksandr.trotsenko@gmail.com</email>
<name>Oleksandr Trotsenko</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="PyOTP is a Python library for generating and verifying one-time passwords."
HOMEPAGE="https://github.com/pyotp/pyotp https://pypi.org/project/pyotp/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
"${EPYTHON}" -m unittest discover -v || die "Testing failed with ${EPYTHON}"
}