1 |
commit: 23977e932ec697c08b0ea2f91ac80f1a4c163209 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jul 4 23:53:47 2021 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Mon Jul 5 00:43:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23977e93 |
7 |
|
8 |
dev-python/pytest-cython: ebuild maintenance |
9 |
|
10 |
Closes: https://bugs.gentoo.org/800374 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
13 |
|
14 |
dev-python/pytest-cython/Manifest | 1 - |
15 |
.../pytest-cython/pytest-cython-0.1.0-r2.ebuild | 34 ---------------------- |
16 |
.../pytest-cython/pytest-cython-0.1.1.ebuild | 10 ++----- |
17 |
3 files changed, 2 insertions(+), 43 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/pytest-cython/Manifest b/dev-python/pytest-cython/Manifest |
20 |
index 38d733099..f5da597e9 100644 |
21 |
--- a/dev-python/pytest-cython/Manifest |
22 |
+++ b/dev-python/pytest-cython/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST pytest-cython-0.1.0.tar.gz 19109 BLAKE2B 75895992402f36010385e0851cce4532825d374cc9d5af1b45d4dc938070da1f9e8c9901601ac10e3fa9a76fd4f0affd3f0dac6d8857eea88c73cbc1686ce613 SHA512 65d8d25f95f2419ae76902cad8f0f4c9b810dbbba80621d301f53d2128dfeb11c4d74e2ac4f1e39f63aadfc1404e9000c0668efbab4793d307f0b90345023771 |
25 |
DIST pytest-cython-0.1.1.tar.gz 817776 BLAKE2B d9b812cefc45153a1ce7abb0b1be2e7fc329b88d89ed48529f62a38c402d74bb164ed6b928f291586f0064820dc52156eacdf161da3a0d65d10f5a15681a17e4 SHA512 353a6c3b67df0608b24f24e04ba5d3fa48065d3960834e32bf44f2dfcd6248cb4c86de528c15dbfd20e36811bfb0ae04670f6441afb74bcb7bd1d7af71060463 |
26 |
|
27 |
diff --git a/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild |
28 |
deleted file mode 100644 |
29 |
index e9a14cf5d..000000000 |
30 |
--- a/dev-python/pytest-cython/pytest-cython-0.1.0-r2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,34 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="7" |
37 |
- |
38 |
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) |
39 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
- |
41 |
-inherit distutils-r1 |
42 |
- |
43 |
-DESCRIPTION="Plugin for testing Cython extension modules" |
44 |
-HOMEPAGE="https://github.com/lgpage/pytest-cython" |
45 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
-SLOT="0" |
47 |
-LICENSE="MIT" |
48 |
-KEYWORDS="~amd64" |
49 |
-IUSE="test" |
50 |
- |
51 |
-#IDK how to run this: python tests/example-project/setup.py clean build_ext --inplace --use-cython |
52 |
-RESTRICT="test" |
53 |
-RDEPEND=" |
54 |
- dev-python/cython[${PYTHON_USEDEP}] |
55 |
- dev-python/pytest[${PYTHON_USEDEP}] |
56 |
-" |
57 |
-DEPEND=" |
58 |
- ${RDEPEND} |
59 |
-" |
60 |
- |
61 |
-src_prepare() { |
62 |
- sed -i 's|\[pytest\]|\[tool:pytest\]|' setup.cfg || die |
63 |
- default |
64 |
-} |
65 |
- |
66 |
-distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
67 |
|
68 |
diff --git a/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild |
69 |
index 1d8fc289c..69c69fa72 100644 |
70 |
--- a/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild |
71 |
+++ b/dev-python/pytest-cython/pytest-cython-0.1.1.ebuild |
72 |
@@ -1,10 +1,9 @@ |
73 |
# Copyright 1999-2021 Gentoo Authors |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
|
76 |
-EAPI="7" |
77 |
+EAPI="8" |
78 |
|
79 |
-PYTHON_COMPAT=( pypy3 python3_{8,9} ) |
80 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
81 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} pypy3 ) |
82 |
|
83 |
inherit distutils-r1 |
84 |
|
85 |
@@ -24,11 +23,6 @@ DEPEND="${RDEPEND}" |
86 |
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme |
87 |
distutils_enable_tests pytest |
88 |
|
89 |
-src_prepare() { |
90 |
- sed -i 's|\[pytest\]|\[tool:pytest\]|' setup.cfg || die |
91 |
- default |
92 |
-} |
93 |
- |
94 |
python_test() { |
95 |
epytest -vv \ |
96 |
--deselect tests/test_pytest_cython.py::test_wrap_c_ext_module \ |