Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-isort/
Date: Tue, 28 Apr 2020 17:30:28
Message-Id: 1588090872.70202c215739ea810f46fabbbc5a185950afed13.andrewammerlaan@gentoo
1 commit: 70202c215739ea810f46fabbbc5a185950afed13
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Tue Apr 28 16:21:12 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Tue Apr 28 16:21:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70202c21
7
8 dev-python/pytest-isort: Plugin to check import ordering using isort
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 dev-python/pytest-isort/Manifest | 1 +
14 dev-python/pytest-isort/metadata.xml | 13 ++++++++++++
15 dev-python/pytest-isort/pytest-isort-0.3.1.ebuild | 25 +++++++++++++++++++++++
16 3 files changed, 39 insertions(+)
17
18 diff --git a/dev-python/pytest-isort/Manifest b/dev-python/pytest-isort/Manifest
19 new file mode 100644
20 index 0000000..50f41ac
21 --- /dev/null
22 +++ b/dev-python/pytest-isort/Manifest
23 @@ -0,0 +1 @@
24 +DIST pytest-isort-0.3.1.tar.gz 6429 BLAKE2B cf68cfe061be097c576c9cb7ad0a808729aa03f031128d2d1064bc960c7aa27e0d94fc18c238d95ac2074f056ecb8fb33064f6f0311756c73ce8379d1b8317f9 SHA512 2fd39108a6acacf18ce68bb537d2adeb4ff7cd8ea4c9611e5312edea5a0bc4841111ffb544318aa7b3bebe38e9f4744f07a45b2ebcbf872f79003b249ee115ca
25
26 diff --git a/dev-python/pytest-isort/metadata.xml b/dev-python/pytest-isort/metadata.xml
27 new file mode 100644
28 index 0000000..3add1c9
29 --- /dev/null
30 +++ b/dev-python/pytest-isort/metadata.xml
31 @@ -0,0 +1,13 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +
35 +<pkgmetadata>
36 + <maintainer type="person">
37 + <email>andrewammerlaan@××××××.net</email>
38 + <name>Andrew Ammerlaan</name>
39 + </maintainer>
40 + <upstream>
41 + <remote-id type="github">moccu/pytest-isort</remote-id>
42 + <remote-id type="pypi">pytest-isort</remote-id>
43 + </upstream>
44 +</pkgmetadata>
45
46 diff --git a/dev-python/pytest-isort/pytest-isort-0.3.1.ebuild b/dev-python/pytest-isort/pytest-isort-0.3.1.ebuild
47 new file mode 100644
48 index 0000000..0092d51
49 --- /dev/null
50 +++ b/dev-python/pytest-isort/pytest-isort-0.3.1.ebuild
51 @@ -0,0 +1,25 @@
52 +# Copyright 1999-2020 Gentoo Authors
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=7
56 +
57 +PYTHON_COMPAT=( python3_{6,7,8} )
58 +
59 +DISTUTILS_USE_SETUPTOOLS=rdepend
60 +
61 +inherit distutils-r1
62 +
63 +DESCRIPTION="Plugin to check import ordering using isort"
64 +HOMEPAGE="https://github.com/moccu/pytest-isort"
65 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
66 +
67 +LICENSE="BSD"
68 +KEYWORDS="~amd64 ~x86"
69 +SLOT="0"
70 +
71 +distutils_enable_tests pytest
72 +
73 +RDEPEND="
74 + >=dev-python/pytest-3.5[${PYTHON_USEDEP}]
75 + >=dev-python/isort-4.0[${PYTHON_USEDEP}]
76 +"