diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /app-portage/metagen/metagen-0.6.6-r1.ebuild | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'app-portage/metagen/metagen-0.6.6-r1.ebuild')
-rw-r--r-- | app-portage/metagen/metagen-0.6.6-r1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-portage/metagen/metagen-0.6.6-r1.ebuild b/app-portage/metagen/metagen-0.6.6-r1.ebuild new file mode 100644 index 000000000000..4a7336fac2c0 --- /dev/null +++ b/app-portage/metagen/metagen-0.6.6-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="metadata.xml generator for ebuilds" +HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git" +SRC_URI="https://cgit.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux" + +IUSE="" +DEPEND=">=dev-python/jaxml-3.01[${PYTHON_USEDEP}] + || ( + sys-apps/portage[${PYTHON_USEDEP}] + sys-apps/portage-mgorny[${PYTHON_USEDEP}] + )" +RDEPEND="${DEPEND}" + +python_install() { + distutils-r1_python_install + python_newscript metagen/main.py metagen +} + +python_install_all() { + distutils-r1_python_install_all + doman docs/metagen.1 +} + +python_test() { + "${PYTHON}" -c "from metagen import metagenerator; metagenerator.do_tests()" || die +} |