diff options
-rw-r--r-- | dev-python/pyotp/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyotp/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pyotp/pyotp-2.2.6.ebuild | 22 |
3 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pyotp/Manifest b/dev-python/pyotp/Manifest new file mode 100644 index 000000000000..a6f46cb48b25 --- /dev/null +++ b/dev-python/pyotp/Manifest @@ -0,0 +1 @@ +DIST pyotp-2.2.6.tar.gz 10602 BLAKE2B 801f48646ff15a039b9295948ed292c3c432f8b0b629d249554259802335b7430a2c82f8c3bee1f54df71b0972ec293d69a2005c35cac120a51cec1a3548b2c1 SHA512 4f962704411ceebff967cf13af5ec5b815da0f82af665a086c4e5d53acc735453d638c65aa2afa40fe546e92d04a9250f6964cb22270a67c9609f8486eb5ba90 diff --git a/dev-python/pyotp/metadata.xml b/dev-python/pyotp/metadata.xml new file mode 100644 index 000000000000..e7214b7e32c5 --- /dev/null +++ b/dev-python/pyotp/metadata.xml @@ -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> diff --git a/dev-python/pyotp/pyotp-2.2.6.ebuild b/dev-python/pyotp/pyotp-2.2.6.ebuild new file mode 100644 index 000000000000..e6c97cdb6651 --- /dev/null +++ b/dev-python/pyotp/pyotp-2.2.6.ebuild @@ -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}" +} |