commit:     96d23ef75e7af0a801f8059aef84cc73c104b3cd
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Thu Jan 19 23:23:17 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Thu Jan 19 23:23:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96d23ef7

dev-python/pytest-isort: add 3.1.0

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/pytest-isort/Manifest                  |  1 +
 dev-python/pytest-isort/metadata.xml              |  5 ++++-
 dev-python/pytest-isort/pytest-isort-3.1.0.ebuild | 27 +++++++++++++++++++++++
 3 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-isort/Manifest b/dev-python/pytest-isort/Manifest
index 61690190d..accdff63f 100644
--- a/dev-python/pytest-isort/Manifest
+++ b/dev-python/pytest-isort/Manifest
@@ -1 +1,2 @@
 DIST pytest-isort-1.3.0.tar.gz 7321 BLAKE2B 
b65bf2a4e0e8133ed0c724b22f7ae4fa61341c34e01a1de3229b37144be21dc15c44842e05ddd427addf1028d5eac496e2b84646fec8e21fe4fc05544a4e30ea
 SHA512 
a26c5dd9428b85d1387239245c437fded84ece8148ab016de9e41be3dff72627d0e7a47176d9fa5768b366655fe7affd4f665c3d2cd6fb2f2a2e15334e1fff63
+DIST pytest-isort-3.1.0.gh.tar.gz 15585 BLAKE2B 
c23c34de0e5f4aec245fadc73ea77d90b29d9f0d94b34cb814a2cd12f0f28cfc3314340dc0d63063a4e1a6fe9c0341931fbf17c9b06b699b1ddb42eeb4498d7e
 SHA512 
a01799b832783301818aba5d441cdb9167a367e2c434df9790e4b2d839a9cdab03683736f43339a07ef4444ca0bddfb1b6cd503db170b6544f8c14617e7398df

diff --git a/dev-python/pytest-isort/metadata.xml 
b/dev-python/pytest-isort/metadata.xml
index 23b46bec7..ecc8d75f8 100644
--- a/dev-python/pytest-isort/metadata.xml
+++ b/dev-python/pytest-isort/metadata.xml
@@ -2,7 +2,10 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 
 <pkgmetadata>
-       <!-- maintainer-needed -->
+       <maintainer type="person">
+               <email>jul...@jroy.ca</email>
+               <description>Julien Roy</description>
+       </maintainer>
        <upstream>
                <remote-id type="github">moccu/pytest-isort</remote-id>
                <remote-id type="pypi">pytest-isort</remote-id>

diff --git a/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild 
b/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
new file mode 100644
index 000000000..5d7cd3a78
--- /dev/null
+++ b/dev-python/pytest-isort/pytest-isort-3.1.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{9..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Plugin to check import ordering using isort"
+HOMEPAGE="https://github.com/stephrdev/pytest-isort";
+SRC_URI="https://github.com/stephrdev/pytest-isort/archive/${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+distutils_enable_tests pytest
+# I don't know what's going on, so I took the easy route. 😝
+#EPYTEST_DESELECT=( test_isort.py::TestIsortItem::test_init )
+
+RDEPEND="
+       dev-python/pytest[${PYTHON_USEDEP}]
+       dev-python/isort[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"

Reply via email to