commit:     2853509b84654276ab9f23b67763b70cdc3c4fe9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 20 09:12:44 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 20 09:13:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2853509b

dev-python/pydiffx: New package, v1.0.1

Requested by graaff, for dev-util/rbtools.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pydiffx/Manifest             |  1 +
 dev-python/pydiffx/metadata.xml         | 13 ++++++++++++
 dev-python/pydiffx/pydiffx-1.0.1.ebuild | 37 +++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-python/pydiffx/Manifest b/dev-python/pydiffx/Manifest
new file mode 100644
index 000000000000..623c2c5b1c61
--- /dev/null
+++ b/dev-python/pydiffx/Manifest
@@ -0,0 +1 @@
+DIST diffx-pydiffx-release-1.0.1.tar.gz 82838 BLAKE2B 
80ac477ff6b72dd089f134afc988251b20f7675e05c429e12238800145ed70f57acca835ddfdd77a2b22e53767b77d741537aad02f93bdefcee06a44965c7904
 SHA512 
dcb6b9dad321c5bec940d13dcf64853587c4e7636d34ea3ac4bc2b54df8915e1ac9804932034c069fcfba5f10f05972cc7dc46ba0d37c2e08c684bcbb2c2409e

diff --git a/dev-python/pydiffx/metadata.xml b/dev-python/pydiffx/metadata.xml
new file mode 100644
index 000000000000..f0d405500367
--- /dev/null
+++ b/dev-python/pydiffx/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Python</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="github">beanbaginc/diffx</remote-id>
+               <remote-id type="pypi">pydiffx</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/pydiffx/pydiffx-1.0.1.ebuild 
b/dev-python/pydiffx/pydiffx-1.0.1.ebuild
new file mode 100644
index 000000000000..baa4b006060e
--- /dev/null
+++ b/dev-python/pydiffx/pydiffx-1.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+MY_P=diffx-pydiffx-release-${PV}
+DESCRIPTION="Python module for reading and writing DiffX files"
+HOMEPAGE="
+       https://diffx.org/pydiffx/
+       https://github.com/beanbaginc/diffx/
+       https://pypi.org/project/pydiffx/
+"
+SRC_URI="
+       https://github.com/beanbaginc/diffx/archive/pydiffx/release-${PV}.tar.gz
+               -> ${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}/python
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/kgb[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests unittest

Reply via email to