diff options
-rw-r--r-- | app-portage/metagen/Manifest | 1 | ||||
-rw-r--r-- | app-portage/metagen/metadata.xml | 11 | ||||
-rw-r--r-- | app-portage/metagen/metagen-0.7.1.ebuild | 30 |
3 files changed, 37 insertions, 5 deletions
diff --git a/app-portage/metagen/Manifest b/app-portage/metagen/Manifest index 9a05ec9711c4..e87579150e72 100644 --- a/app-portage/metagen/Manifest +++ b/app-portage/metagen/Manifest @@ -4,3 +4,4 @@ DIST metagen-0.6.4.2.tar.bz2 6837 BLAKE2B a9595045fea006e53fd23e3b96da0acd884b6f DIST metagen-0.6.5.tar.bz2 6973 BLAKE2B 2cac99056bde1e6420ef3bb54e6655b17fb43b27dc0024cd3eb2b5c09dcb05b5db318dc4f52c3389d562275e46c901fab863ab50bd0555a6409a8fe5c0bd8de7 SHA512 6a95ce78c7b8ead89a28ea927d9e36cf806a1d363cc703c86c553a74499304081ac360d3fba390d5cc54de08572e8305ab1896d73eceff35166de32760162fe0 DIST metagen-0.6.6.tar.bz2 6341 BLAKE2B e45e06570cbe6c690b4fdfef036282c5828ec1c86b1773c35000f19c557df7784e777a59e20f1c27fc5ae0edf5169a6d1ebcfc2d08ffa1cc4ab77265041550ac SHA512 0accac41957a555a35261c72053fb93ade62eb449d9ee4a2b1683afddb853d7bfb6394dc06c90643044cba1b573932663f1c7b559bf400ec15fce0c3f8c231ca DIST metagen-0.7.0.tar.bz2 6367 BLAKE2B 939fff83d9b6af7600ab7a89293d12fdcc79fb5ca47c5285989af31a6d0ea2ba539f7bb56489f50d6b8272afcf956b6e5a71b98a952ba829de60dde5766c820b SHA512 a41b8d0fb401b7fd8e2a3899cbe2ba95e42acae9dc274923b25a2933e12587838c6d599045c16387d895df0a5823ebf7b4b71ca383a75cb714959baa8355a77e +DIST metagen-0.7.1.tar.gz 8276 BLAKE2B 7445e9729e8f7eab7d808ad95c3ee775bfb90c9264feabbc31d77d65a9eda7b61f9d7dded8c54e1b5cad5a5577cb0ef31b8d5fafd747804b957c8890ad0a7fea SHA512 7532c6a82fac10bc775b990605a8b5d23dab14e1d8a7f166c37640ffb6bebdfff57885e129a727e78ffb926b164f716f5171ea333d640030316271d0b354af88 diff --git a/app-portage/metagen/metadata.xml b/app-portage/metagen/metadata.xml index eb3702fd181f..79273a3a1c6e 100644 --- a/app-portage/metagen/metadata.xml +++ b/app-portage/metagen/metadata.xml @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata + SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> <pkgmetadata> -<maintainer type="person"> - <email>sping@gentoo.org</email> -</maintainer> -<longdescription>metagen creates metadata.xml files for ebuilds</longdescription> + <maintainer type="person"> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> </pkgmetadata> diff --git a/app-portage/metagen/metagen-0.7.1.ebuild b/app-portage/metagen/metagen-0.7.1.ebuild new file mode 100644 index 000000000000..dff9c50a5517 --- /dev/null +++ b/app-portage/metagen/metagen-0.7.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python{2_7,3_{6,7,8}} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="metadata.xml generator for ebuilds" +HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux" + +IUSE="" +DEPEND="dev-python/lxml[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +python_install_all() { + distutils-r1_python_install_all + doman docs/metagen.1 +} + +python_test() { + "${PYTHON}" -c "from metagen import metagenerator; metagenerator.do_tests()" || die +} |