From 7f01c900c15c53f3cbea9b106e4218d4fe342f0f Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Thu, 26 Dec 2024 23:20:06 +0100 Subject: Release dev-python/etoolkit-2.1.0 --- dev-python/etoolkit/etoolkit-2.1.0.ebuild | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dev-python/etoolkit/etoolkit-2.1.0.ebuild (limited to 'dev-python/etoolkit/etoolkit-2.1.0.ebuild') diff --git a/dev-python/etoolkit/etoolkit-2.1.0.ebuild b/dev-python/etoolkit/etoolkit-2.1.0.ebuild new file mode 100644 index 0000000..c89a1f0 --- /dev/null +++ b/dev-python/etoolkit/etoolkit-2.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..13} ) + +inherit distutils-r1 verify-sig + +DESCRIPTION="A simple toolkit for setting environment variables in a flexible way" +HOMEPAGE="https://github.com/blackm0re/etoolkit" +MY_PN="etoolkit" +MY_P="${MY_PN}-${PV}" + +SRC_URI=" + https://github.com/blackm0re/etoolkit/releases/download/${PV}/${MY_P}.tar.gz + verify-sig? ( https://github.com/blackm0re/etoolkit/releases/download/${PV}/${MY_P}.tar.gz.asc ) +" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +SLOT="0" + +KEYWORDS="amd64 arm64" + +RDEPEND=" + >=dev-python/cryptography-3.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-simeonsimeonov ) +" + +RESTRICT="mirror" + +distutils_enable_tests pytest + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/simeonsimeonov.asc + +python_test() { + epytest -s +} + +python_install_all() { + distutils-r1_python_install_all +} -- cgit v1.3