From f4ac66577ca96615619f9e8b917e009b77963951 Mon Sep 17 00:00:00 2001 From: blshkv Date: Fri, 22 Jan 2021 08:22:50 +0800 Subject: [PATCH] endesive: new tool, pdf sign/verify --- app-text/endesive/Manifest | 1 + app-text/endesive/endesive-2.0.2.ebuild | 32 ++++++++++++++++++++++++ dev-python/PyKCS11/Manifest | 1 + dev-python/PyKCS11/PyKCS11-1.5.10.ebuild | 31 +++++++++++++++++++++++ dev-python/skel_python.ebuild | 4 +-- 5 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 app-text/endesive/Manifest create mode 100644 app-text/endesive/endesive-2.0.2.ebuild create mode 100644 dev-python/PyKCS11/Manifest create mode 100644 dev-python/PyKCS11/PyKCS11-1.5.10.ebuild diff --git a/app-text/endesive/Manifest b/app-text/endesive/Manifest new file mode 100644 index 000000000..6904ab26e --- /dev/null +++ b/app-text/endesive/Manifest @@ -0,0 +1 @@ +DIST endesive-2.0.2.tar.gz 312263 BLAKE2B ee55def852042e57c1ff6ca700cacb658bdb3c869dad0ac15be0c1a2e9242721b5f3d636c3ef0b77c449c5ca2aaed06346f6b3fce962280ad9b33c13a1ad84a8 SHA512 944da309a5a2c222cda63ddc6f00ac853d31af8fe227b4bfff26f1b1ae671dc72bbc78859d9d1fabe8b869a37c8251b6a2efa9b5132cab3d25811ba8de189ce1 diff --git a/app-text/endesive/endesive-2.0.2.ebuild b/app-text/endesive/endesive-2.0.2.ebuild new file mode 100644 index 000000000..3df32c43b --- /dev/null +++ b/app-text/endesive/endesive-2.0.2.ebuild @@ -0,0 +1,32 @@ +# 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="" +HOMEPAGE="" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="test" + +RDEPEND=" + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/asn1crypto[${PYTHON_USEDEP}] + dev-python/oscrypto[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/PyKCS11[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/dev-python/PyKCS11/Manifest b/dev-python/PyKCS11/Manifest new file mode 100644 index 000000000..5d1e3c78e --- /dev/null +++ b/dev-python/PyKCS11/Manifest @@ -0,0 +1 @@ +DIST PyKCS11-1.5.10.tar.gz 77074 BLAKE2B 785e436a474f5c0cee5cbe666e88c3e46fd3969ca25908267cab379c24fb74cc557c0d670905d0d96a7e3eeddf92cdb5dc62281f31f22b1035dee43f93c7c550 SHA512 5ad4d4575f9eb3a93a817bf7c1adf704fdb6ed4c780e3bb135d909e97c8f9e29abb6ef8b59a5135bae495ba7e3da2e2fa7df82780f3f419e07be00397aee5d24 diff --git a/dev-python/PyKCS11/PyKCS11-1.5.10.ebuild b/dev-python/PyKCS11/PyKCS11-1.5.10.ebuild new file mode 100644 index 000000000..51776d4ce --- /dev/null +++ b/dev-python/PyKCS11/PyKCS11-1.5.10.ebuild @@ -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 arm64 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 +} diff --git a/dev-python/skel_python.ebuild b/dev-python/skel_python.ebuild index b54f37b04..0e2959f11 100644 --- a/dev-python/skel_python.ebuild +++ b/dev-python/skel_python.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..8} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1