mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-python/oscrypto: add 1.3.0, drop 1.2.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
35
dev-python/oscrypto/oscrypto-1.3.0.ebuild
Normal file
35
dev-python/oscrypto/oscrypto-1.3.0.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} 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"
|
||||
|
||||
RDEPEND=">=dev-python/asn1crypto-1.5.1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" run.py tests || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
dodoc -r docs/*
|
||||
}
|
||||
Reference in New Issue
Block a user