g-sorcery-0.2.3.ebuild
Download (1 KB)
# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9,10,11} ) inherit distutils-r1 prefix DESCRIPTION="framework for ebuild generators" HOMEPAGE="https://gitweb.gentoo.org/proj/g-sorcery.git" SRC_URI="https://gitweb.gentoo.org/proj/g-sorcery.git/snapshot/${P}.tar.gz" LICENSE="GPL-2" # v2 only SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="bson git test" RESTRICT="!test? ( test )" RDEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] ) git? ( dev-vcs/git ) sys-apps/portage[${PYTHON_USEDEP}]" BDEPEND="${RDEPEND}" #PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]" src_prepare() { hprefixify setup.py default } python_test() { PYTHONPATH="." "${PYTHON}" scripts/run_tests.py || die } python_install_all() { distutils-r1_python_install_all doman docs/*.8 docinto html dodoc docs/developer_instructions.html diropts -m0777 keepdir /var/lib/g-sorcery } | ||