Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-check/
Date: Thu, 23 Sep 2021 17:22:09
Message-Id: 1632417717.da0dcf14c8cd9e3fc553c790b936cb7f1b5ec854.arthurzam@gentoo
1 commit: da0dcf14c8cd9e3fc553c790b936cb7f1b5ec854
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 23 17:18:27 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 23 17:21:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da0dcf14
7
8 dev-python/pytest-check: new NIH test dep for dev-python/sphobjinv
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pytest-check/Manifest | 1 +
13 dev-python/pytest-check/metadata.xml | 13 ++++++++++
14 dev-python/pytest-check/pytest-check-1.0.4.ebuild | 29 +++++++++++++++++++++++
15 3 files changed, 43 insertions(+)
16
17 diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest
18 new file mode 100644
19 index 00000000000..7cb85a73456
20 --- /dev/null
21 +++ b/dev-python/pytest-check/Manifest
22 @@ -0,0 +1 @@
23 +DIST pytest-check-1.0.4.gh.tar.gz 7738 BLAKE2B 179575dfd4f9e50715fd5a664039fe882b0e14c9369afb6f7aca65e9ab276147b2a0b7fe580d2a249721152d891c12cedfa06ae7e26027c6b7d3b34da17d4a53 SHA512 ca71295fc5a831df295c8ce40c6a57cde9a1b98ca25354a3954fc44c9094096ea0c9c6a49139659d4c9aa4e3d3d81d80893edb657bfd3f4d988c75864e843447
24
25 diff --git a/dev-python/pytest-check/metadata.xml b/dev-python/pytest-check/metadata.xml
26 new file mode 100644
27 index 00000000000..af6127a0bf2
28 --- /dev/null
29 +++ b/dev-python/pytest-check/metadata.xml
30 @@ -0,0 +1,13 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>arthurzam@g.o</email>
36 + <name>Arthur Zamarin</name>
37 + </maintainer>
38 + <stabilize-allarches/>
39 + <upstream>
40 + <remote-id type="github">okken/pytest-check</remote-id>
41 + <remote-id type="pypi">pytest_check</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/pytest-check/pytest-check-1.0.4.ebuild b/dev-python/pytest-check/pytest-check-1.0.4.ebuild
46 new file mode 100644
47 index 00000000000..08ebac53b79
48 --- /dev/null
49 +++ b/dev-python/pytest-check/pytest-check-1.0.4.ebuild
50 @@ -0,0 +1,29 @@
51 +# Copyright 2021 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=8
55 +
56 +PYTHON_COMPAT=( python3_{8..10} )
57 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="pytest plugin that allows multiple failures per test"
61 +HOMEPAGE="https://github.com/okken/pytest-check https://pypi.org/project/pytest_check/"
62 +SRC_URI="
63 + https://github.com/okken/pytest-check/archive/${PV}.tar.gz
64 + -> ${P}.gh.tar.gz
65 +"
66 +
67 +LICENSE="MIT"
68 +SLOT="0"
69 +KEYWORDS="~amd64 ~x86"
70 +
71 +RDEPEND=">=dev-python/pytest-6[${PYTHON_USEDEP}]"
72 +BDEPEND="dev-python/flit_core[${PYTHON_USEDEP}]"
73 +
74 +distutils_enable_tests --install pytest
75 +
76 +src_prepare() {
77 + default
78 + mv src/pytest_check pytest_check
79 +}