summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-19 20:54:05 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-19 21:28:07 +0300
commitdaf0f4c6acc1e8b60f3d9ac9b642a4179ded3120 (patch)
treeaebf229c4a8121c501eacb69fedda1eb97ddb10d /dev-python/pydiffx
parentdev-python/pydyf: add 0.3.0 (diff)
downloadgentoo-daf0f4c6acc1e8b60f3d9ac9b642a4179ded3120.tar.gz
gentoo-daf0f4c6acc1e8b60f3d9ac9b642a4179ded3120.tar.bz2
gentoo-daf0f4c6acc1e8b60f3d9ac9b642a4179ded3120.zip
dev-python/pydiffx: add 1.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pydiffx')
-rw-r--r--dev-python/pydiffx/Manifest1
-rw-r--r--dev-python/pydiffx/pydiffx-1.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pydiffx/Manifest b/dev-python/pydiffx/Manifest
index 623c2c5b1c61..c6160e1a2fe9 100644
--- a/dev-python/pydiffx/Manifest
+++ b/dev-python/pydiffx/Manifest
@@ -1 +1,2 @@
DIST diffx-pydiffx-release-1.0.1.tar.gz 82838 BLAKE2B 80ac477ff6b72dd089f134afc988251b20f7675e05c429e12238800145ed70f57acca835ddfdd77a2b22e53767b77d741537aad02f93bdefcee06a44965c7904 SHA512 dcb6b9dad321c5bec940d13dcf64853587c4e7636d34ea3ac4bc2b54df8915e1ac9804932034c069fcfba5f10f05972cc7dc46ba0d37c2e08c684bcbb2c2409e
+DIST diffx-pydiffx-release-1.1.gh.tar.gz 83721 BLAKE2B fb38b40f4385e00bd8ac45111ac6308b8a5ba7148e74c020c9e7c6b5480466b2301e580f93c98d761087f443339394c124eee061edafd454f0d71839103a6caf SHA512 596d9d70134cadcbdb8fbdd10fe22f8922276d1a822c60430e765b70b0fba9cd16578c94743aef4afaae7ab8409cc2e171028a154cd1231ad6c54dbe229b93e3
diff --git a/dev-python/pydiffx/pydiffx-1.1.ebuild b/dev-python/pydiffx/pydiffx-1.1.ebuild
new file mode 100644
index 000000000000..0aea04e296cc
--- /dev/null
+++ b/dev-python/pydiffx/pydiffx-1.1.ebuild
@@ -0,0 +1,43 @@
+# 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}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}/python
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/kgb[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ # remove .dev tag that breaks revdeps
+ sed -e '/tag_build/d' -i setup.cfg || die
+ distutils-r1_src_prepare
+}