summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2022-06-16 09:23:07 -0700
committerPatrick McLean <chutzpah@gentoo.org>2022-06-16 09:30:12 -0700
commitb8ef5ef0bb5e9622038146f1e063989c1cffa96a (patch)
treef5af59178e1bafab91c0bb9f2ccff2317c69dc7a /dev-python/yaxmldiff
parentdev-lang/python: drop versions (diff)
downloadgentoo-b8ef5ef0bb5e9622038146f1e063989c1cffa96a.tar.gz
gentoo-b8ef5ef0bb5e9622038146f1e063989c1cffa96a.tar.bz2
gentoo-b8ef5ef0bb5e9622038146f1e063989c1cffa96a.zip
dev-python/yaxmldiff: new package, add 0.1.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/yaxmldiff')
-rw-r--r--dev-python/yaxmldiff/Manifest1
-rw-r--r--dev-python/yaxmldiff/metadata.xml11
-rw-r--r--dev-python/yaxmldiff/yaxmldiff-0.1.0.ebuild34
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/yaxmldiff/Manifest b/dev-python/yaxmldiff/Manifest
new file mode 100644
index 000000000000..bd082e210f10
--- /dev/null
+++ b/dev-python/yaxmldiff/Manifest
@@ -0,0 +1 @@
+DIST yaxmldiff-0.1.0.gh.tar.gz 8938 BLAKE2B 9fd9b9ede1d5c28c7d5a47967748de411dbc56b0191c4bcb7f2ee6270093523172497d470c6b99e87ccf50c8a70310500b103ecc3d28a49046f09c70055564b0 SHA512 3b853edd13a95f92d82f563d784d30df4f2876d0a9bf89ad67b3e53228a908fe32407386c221725b30668ac2b98be98623a2fb6da8e268380ee586b49e5ae78e
diff --git a/dev-python/yaxmldiff/metadata.xml b/dev-python/yaxmldiff/metadata.xml
new file mode 100644
index 000000000000..a0414b1c10be
--- /dev/null
+++ b/dev-python/yaxmldiff/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chutzpah@gentoo.org</email>
+ <name>Patrick McLean</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">yaxmldiff</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/yaxmldiff/yaxmldiff-0.1.0.ebuild b/dev-python/yaxmldiff/yaxmldiff-0.1.0.ebuild
new file mode 100644
index 000000000000..36841a23fede
--- /dev/null
+++ b/dev-python/yaxmldiff/yaxmldiff-0.1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+inherit distutils-r1
+
+DESCRIPTION="Yet Another XML Differ"
+HOMEPAGE="
+ https://pypi.org/project/yaxmldiff/
+ https://github.com/latk/yaxmldiff.py
+"
+SRC_URI="https://github.com/latk/${PN}.py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}.py-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
+
+# no tests currently
+RESTRICT="test"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -i '/license_file/ d' setup.cfg || die
+ distutils-r1_python_prepare_all
+}