diff options
Diffstat (limited to 'app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild')
-rw-r--r-- | app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild b/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild new file mode 100644 index 000000000000..0837fefd4932 --- /dev/null +++ b/app-portage/g-sorcery/g-sorcery-0.2.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6}) + +inherit distutils-r1 prefix + +DESCRIPTION="framework for ebuild generators" +HOMEPAGE="https://github.com/jauhien/g-sorcery" +SRC_URI="https://github.com/jauhien/g-sorcery/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="bson git" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] ) + git? ( dev-vcs/git ) + sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +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 +} + +python_install_all() { + distutils-r1_python_install_all + + doman docs/*.8 + dohtml docs/developer_instructions.html + diropts -m0777 + dodir /var/lib/g-sorcery +} |