dev-python/etoolkit - 2.1.0-r1 (sgs)

Search

Package Information

Description:
A simple toolkit for setting environment variables in a flexible way
Homepage:
https://github.com/blackm0re/etoolkit
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
2.1.0-r1 8 amd64 arm64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..14} )

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
}

Dependencies

RDEPEND

	>=dev-python/cryptography-3.2.0[${PYTHON_USEDEP}]

BDEPEND

	verify-sig? ( sec-keys/openpgp-keys-simeonsimeonov )