From d80e14aac829588425edd1f46cb175ce558efe42 Mon Sep 17 00:00:00 2001 From: Kim Sindalsen Date: Fri, 10 May 2024 19:09:53 +0200 Subject: [PATCH] Added python3_12 compat Signed-off-by: Kim Sindalsen --- app-crypt/PBinCLI/PBinCLI-0.3.5-r1.ebuild | 23 +++++++++++++++++++ dev-python/sjcl/sjcl-0.2.1-r1.ebuild | 28 +++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 app-crypt/PBinCLI/PBinCLI-0.3.5-r1.ebuild create mode 100644 dev-python/sjcl/sjcl-0.2.1-r1.ebuild diff --git a/app-crypt/PBinCLI/PBinCLI-0.3.5-r1.ebuild b/app-crypt/PBinCLI/PBinCLI-0.3.5-r1.ebuild new file mode 100644 index 0000000000..84a50ae139 --- /dev/null +++ b/app-crypt/PBinCLI/PBinCLI-0.3.5-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="PBinCLI is a command line client for PrivateBin written in Python 3" +HOMEPAGE="https://github.com/r4sas/PBinCLI" +SRC_URI="https://github.com/r4sas/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pycryptodome[${PYTHON_USEDEP}] + dev-python/sjcl[${PYTHON_USEDEP}] + dev-python/base58[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/dev-python/sjcl/sjcl-0.2.1-r1.ebuild b/dev-python/sjcl/sjcl-0.2.1-r1.ebuild new file mode 100644 index 0000000000..d6fd7fc161 --- /dev/null +++ b/dev-python/sjcl/sjcl-0.2.1-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_COMMIT="e8bdad312fa99c89c74f8651a1240afba8a9f3bd" + +DESCRIPTION="Decrypt and encrypt 'Stanford Javascript Crypto Library'-compatible messages" +HOMEPAGE="https://github.com/berlincode/sjcl" + +# pypi tarball doesn't contains the tests +SRC_URI="https://github.com/berlincode/sjcl/archive/${MY_COMMIT}.tar.gz -> ${PN}-${MY_COMMIT}.tar.gz" +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests setup.py + +RDEPEND=" + dev-python/pycryptodome[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}"