1 |
commit: b10b5a33d11af184d2e2fe1be3d9e8f3ceb4fa64 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Sun Feb 26 23:01:59 2023 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 26 23:01:59 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b10b5a33 |
7 |
|
8 |
dev-python/pytest-cython: add 0.2.1, drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/842717 |
11 |
Closes: https://bugs.gentoo.org/897556 |
12 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
13 |
|
14 |
dev-python/pytest-cython/Manifest | 3 +- |
15 |
.../pytest-cython/pytest-cython-0.1.1.ebuild | 33 ------------------ |
16 |
.../pytest-cython/pytest-cython-0.2.0.ebuild | 25 -------------- |
17 |
.../pytest-cython/pytest-cython-0.2.1.ebuild | 40 ++++++++++++++++++++++ |
18 |
4 files changed, 41 insertions(+), 60 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/pytest-cython/Manifest b/dev-python/pytest-cython/Manifest |
21 |
index 646c449b7..e4663bfb6 100644 |
22 |
--- a/dev-python/pytest-cython/Manifest |
23 |
+++ b/dev-python/pytest-cython/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST pytest-cython-0.1.1.tar.gz 817776 BLAKE2B d9b812cefc45153a1ce7abb0b1be2e7fc329b88d89ed48529f62a38c402d74bb164ed6b928f291586f0064820dc52156eacdf161da3a0d65d10f5a15681a17e4 SHA512 353a6c3b67df0608b24f24e04ba5d3fa48065d3960834e32bf44f2dfcd6248cb4c86de528c15dbfd20e36811bfb0ae04670f6441afb74bcb7bd1d7af71060463 |
26 |
-DIST pytest-cython-0.2.0.tar.gz 16201 BLAKE2B 7e32bdb0eb7b83d7d6444b8f102c25b64057e37d8f8d69bd579880f800151cee874c8e94c16b2aa12a82931666ff41112569ccd2ab225dafa95b87f89d44ddaa SHA512 0ab793c116f4b5b1dc20214d7151e71dc9b58473a19983105e9e06502568af962344853091f0f6bdeb70d6d044ba6a3add98148d4bd81eceb8e143050d288f79 |
27 |
+DIST pytest-cython-0.2.1.tar.gz 16083 BLAKE2B 79140d313a745e47660588e4bec32777debb7b878fd085c1a4e0785b4f0a85e03ad53fafaf43ce93cdd42d02f59000dc6196c62ce803b3c5d736719ca9a43b05 SHA512 6dbceaef0220e4ccd18409a78c1901ccb647aaa1d3763863cd8cba3580c5005969cae67824f25e03b57ee4364a86e5cdff95b87e657f8501de72ba3c7f59c164 |
28 |
|
29 |
diff --git a/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 69c69fa72..000000000 |
32 |
--- a/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,33 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI="8" |
39 |
- |
40 |
-PYTHON_COMPAT=( pypy3 python3_{8..10} pypy3 ) |
41 |
- |
42 |
-inherit distutils-r1 |
43 |
- |
44 |
-DESCRIPTION="Plugin for testing Cython extension modules" |
45 |
-HOMEPAGE="https://github.com/lgpage/pytest-cython" |
46 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
-SLOT="0" |
48 |
-LICENSE="MIT" |
49 |
-KEYWORDS="~amd64" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- dev-python/cython[${PYTHON_USEDEP}] |
53 |
- dev-python/pytest[${PYTHON_USEDEP}] |
54 |
-" |
55 |
-DEPEND="${RDEPEND}" |
56 |
- |
57 |
-distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
58 |
-distutils_enable_tests pytest |
59 |
- |
60 |
-python_test() { |
61 |
- epytest -vv \ |
62 |
- --deselect tests/test_pytest_cython.py::test_wrap_c_ext_module \ |
63 |
- --deselect tests/test_pytest_cython.py::test_cython_ext_module \ |
64 |
- --deselect tests/test_pytest_cython.py::test_wrap_cpp_ext_module \ |
65 |
- --deselect tests/test_pytest_cython.py::test_pure_py_module \ |
66 |
- || die |
67 |
-} |
68 |
|
69 |
diff --git a/dev-python/pytest-cython/pytest-cython-0.2.0.ebuild b/dev-python/pytest-cython/pytest-cython-0.2.0.ebuild |
70 |
deleted file mode 100644 |
71 |
index 261f4d13a..000000000 |
72 |
--- a/dev-python/pytest-cython/pytest-cython-0.2.0.ebuild |
73 |
+++ /dev/null |
74 |
@@ -1,25 +0,0 @@ |
75 |
-# Copyright 1999-2022 Gentoo Authors |
76 |
-# Distributed under the terms of the GNU General Public License v2 |
77 |
- |
78 |
-EAPI=8 |
79 |
- |
80 |
-PYTHON_COMPAT=( pypy3 python3_{8..10} pypy3 ) |
81 |
- |
82 |
-inherit distutils-r1 |
83 |
- |
84 |
-DESCRIPTION="Plugin for testing Cython extension modules" |
85 |
-HOMEPAGE="https://github.com/lgpage/pytest-cython" |
86 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
87 |
- |
88 |
-SLOT="0" |
89 |
-LICENSE="MIT" |
90 |
-KEYWORDS="~amd64" |
91 |
- |
92 |
-RDEPEND=" |
93 |
- dev-python/cython[${PYTHON_USEDEP}] |
94 |
- >=dev-python/pytest-4.6.0[${PYTHON_USEDEP}] |
95 |
-" |
96 |
-DEPEND="${RDEPEND}" |
97 |
- |
98 |
-distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
99 |
-distutils_enable_tests pytest |
100 |
|
101 |
diff --git a/dev-python/pytest-cython/pytest-cython-0.2.1.ebuild b/dev-python/pytest-cython/pytest-cython-0.2.1.ebuild |
102 |
new file mode 100644 |
103 |
index 000000000..bb30b872f |
104 |
--- /dev/null |
105 |
+++ b/dev-python/pytest-cython/pytest-cython-0.2.1.ebuild |
106 |
@@ -0,0 +1,40 @@ |
107 |
+# Copyright 1999-2023 Gentoo Authors |
108 |
+# Distributed under the terms of the GNU General Public License v2 |
109 |
+ |
110 |
+EAPI=8 |
111 |
+ |
112 |
+PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
113 |
+DISTUTILS_USE_PEP517=setuptools |
114 |
+PYPI_NO_NORMALIZE=1 |
115 |
+inherit distutils-r1 pypi |
116 |
+ |
117 |
+DESCRIPTION="Plugin for testing Cython extension modules" |
118 |
+HOMEPAGE=" |
119 |
+ https://pypi.org/project/pytest-cython/ |
120 |
+ https://github.com/lgpage/pytest-cython |
121 |
+" |
122 |
+ |
123 |
+SLOT="0" |
124 |
+LICENSE="MIT" |
125 |
+KEYWORDS="~amd64" |
126 |
+ |
127 |
+RDEPEND=" |
128 |
+ dev-python/py[${PYTHON_USEDEP}] |
129 |
+ >=dev-python/pytest-4.6.0[${PYTHON_USEDEP}] |
130 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
131 |
+" |
132 |
+BDEPEND=" |
133 |
+ test? ( |
134 |
+ dev-python/cython[${PYTHON_USEDEP}] |
135 |
+ ) |
136 |
+" |
137 |
+ |
138 |
+distutils_enable_tests pytest |
139 |
+ |
140 |
+distutils_enable_sphinx docs \ |
141 |
+ dev-python/myst_parser \ |
142 |
+ dev-python/sphinx-py3doc-enhanced-theme |
143 |
+ |
144 |
+python_test() { |
145 |
+ epytest tests |
146 |
+} |