dev-python/oscrypto:

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-12-02 02:22:30 +01:00
parent 50009b2cff
commit c65e34e766
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
inherit distutils-r1
DESCRIPTION="TLS sockets, key generation, encryption, decryption, signing, verification"
HOMEPAGE="
https://github.com/wbond/oscrypto
https://pypi.org/project/oscrypto/
"
SRC_URI="https://github.com/wbond/oscrypto/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
#tests requires network
RESTRICT="test"
RDEPEND=">=dev-python/asn1crypto-1.0.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
python_test() {
"${EPYTHON}" run.py tests || die
}
python_install_all() {
distutils-r1_python_install_all
dodoc -r docs/*
}