commit:     659867b70765776d0ba2b87e7d1ba224d72efe42
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu May 20 14:19:36 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu May 20 15:02:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659867b7

dev-python/dictdiffer: add new dep of sphobjinv

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/dictdiffer/Manifest                |  1 +
 dev-python/dictdiffer/dictdiffer-0.8.1.ebuild | 45 +++++++++++++++++++++++++++
 dev-python/dictdiffer/metadata.xml            | 14 +++++++++
 3 files changed, 60 insertions(+)

diff --git a/dev-python/dictdiffer/Manifest b/dev-python/dictdiffer/Manifest
new file mode 100644
index 00000000000..1b275b52ba2
--- /dev/null
+++ b/dev-python/dictdiffer/Manifest
@@ -0,0 +1 @@
+DIST dictdiffer-0.8.1.tar.gz 28555 BLAKE2B 
0a6d330134c368e11e07b23d7fe592e72b64b02ede99eb2d52c2d7452b4d2505e7e3afa75ba76c30cbbd663d9cc4c073d8f236200fdfa2866c8beadd097d63b7
 SHA512 
e221bb0e25a35380519bf775a63fc0d692112dab15a46c8878ef2c9a6780932c8550a4486c4eab7803619a79c2f794a590a5c9ae0fbbccac04b5b11feaf38bbb

diff --git a/dev-python/dictdiffer/dictdiffer-0.8.1.ebuild 
b/dev-python/dictdiffer/dictdiffer-0.8.1.ebuild
new file mode 100644
index 00000000000..fb46f2e49d0
--- /dev/null
+++ b/dev-python/dictdiffer/dictdiffer-0.8.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Dictdiffer is a library that helps you to diff and patch 
dictionaries"
+HOMEPAGE="
+       https://github.com/inveniosoftware/dictdiffer/
+       https://pypi.org/project/dictdiffer/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+SLOT="0"
+
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/isort[${PYTHON_USEDEP}]
+               dev-python/mock[${PYTHON_USEDEP}]
+       )
+"
+
+RDEPEND="
+       dev-python/numpy[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+# Requires self to be already installed
+#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+python_prepare_all() {
+       # remove dep on pytest-runner
+       sed -i -e '/pytest-runner/d' setup.py || die
+
+       # remove dep on pytest-pep8 and pytest-cov
+       sed -i -e '/addopts/d' pytest.ini || die
+
+       distutils-r1_python_prepare_all
+}

diff --git a/dev-python/dictdiffer/metadata.xml 
b/dev-python/dictdiffer/metadata.xml
new file mode 100644
index 00000000000..86e09fd12fa
--- /dev/null
+++ b/dev-python/dictdiffer/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Andrew Ammerlaan</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">inveniosoftware/dictdiffer</remote-id>
+               <remote-id type="pypi">dictdiffer</remote-id>
+       </upstream>
+       <stabilize-allarches/>
+</pkgmetadata>

Reply via email to