Python Azure

This commit is contained in:
Gerben Jan Dijkman
2021-07-08 23:55:07 +02:00
parent eccf7e3e78
commit 83357f9877
59 changed files with 827 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A complete PKCS#11 wrapper for Python"
HOMEPAGE="https://github.com/LudovicRousseau/PyKCS11"
SRC_URI="https://codeload.github.com/LudovicRousseau/${PN}/tar.gz/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="examples"
DEPEND="dev-lang/swig
dev-python/setuptools[${PYTHON_USEDEP}]"
DOCS=( README.md )
python_install_all() {
if use examples; then
insinto "/usr/share/doc/${PF}/"
doins -r samples
fi
distutils-r1_python_install_all
}