commit:     6a7d758d603b00961e2dd51e1e32553a17df1b84
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 31 18:00:08 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Fri Jan 31 18:01:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a7d758d

app-portage/metagen: 0.7.2 + de-warn PkgMetadataXmlIndentation

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-portage/metagen/Manifest             |  1 +
 app-portage/metagen/metadata.xml         |  3 +--
 app-portage/metagen/metagen-0.7.2.ebuild | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/app-portage/metagen/Manifest b/app-portage/metagen/Manifest
index e87579150e7..1b2af5426b9 100644
--- a/app-portage/metagen/Manifest
+++ b/app-portage/metagen/Manifest
@@ -5,3 +5,4 @@ DIST metagen-0.6.5.tar.bz2 6973 BLAKE2B 
2cac99056bde1e6420ef3bb54e6655b17fb43b27
 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
+DIST metagen-0.7.2.tar.gz 8391 BLAKE2B 
3ec53ff7fa12ea816c88bcbd4e45a3cc66527e6a507f01bc8934abc6bb6ae142e6c6620f82af7c6775b9001d6549832d6fab42c1b44c966f72a40ec0a0f66b2a
 SHA512 
8a78d47ce8228df73a36d4c0f346d75250fbf8568ca6c8cc9ff9313b61c43ba514cf6dc13b36ea90f1ea5b194337748224ff81449d56527fbfc6b7a91e408054

diff --git a/app-portage/metagen/metadata.xml b/app-portage/metagen/metadata.xml
index 79273a3a1c6..ab886b7f038 100644
--- a/app-portage/metagen/metadata.xml
+++ b/app-portage/metagen/metadata.xml
@@ -1,6 +1,5 @@
 <?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>sp...@gentoo.org</email>

diff --git a/app-portage/metagen/metagen-0.7.2.ebuild 
b/app-portage/metagen/metagen-0.7.2.ebuild
new file mode 100644
index 00000000000..dff9c50a551
--- /dev/null
+++ b/app-portage/metagen/metagen-0.7.2.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
+}

Reply via email to