Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-cython/
Date: Tue, 28 Apr 2020 07:44:28
Message-Id: 1588022655.52d227888c37fa91e2f3c90db8305f46a2dd7ee9.andrewammerlaan@gentoo
1 commit: 52d227888c37fa91e2f3c90db8305f46a2dd7ee9
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Mon Apr 27 21:02:37 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon Apr 27 21:24:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52d22788
7
8 dev-python/pytest-cython: dependency cleanup
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 dev-python/pytest-cython/metadata.xml | 11 +++++++++++
14 ...ython-0.1.0.ebuild => pytest-cython-0.1.0-r1.ebuild} | 17 ++++++++++-------
15 2 files changed, 21 insertions(+), 7 deletions(-)
16
17 diff --git a/dev-python/pytest-cython/metadata.xml b/dev-python/pytest-cython/metadata.xml
18 index d4c3950..0562381 100644
19 --- a/dev-python/pytest-cython/metadata.xml
20 +++ b/dev-python/pytest-cython/metadata.xml
21 @@ -1,7 +1,18 @@
22 <?xml version="1.0" encoding="UTF-8"?>
23 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 <pkgmetadata>
25 + <maintainer type="person">
26 + <email>lssndrbarbieri@×××××.com</email>
27 + <name>Alessandro Barbieri</name>
28 + </maintainer>
29 <upstream>
30 + <bugs-to>https://github.com/lgpage/pytest-cython/issues</bugs-to>
31 + <changelog>https://raw.githubusercontent.com/lgpage/pytest-cython/master/CHANGELOG.rst</changelog>
32 + <doc lang="en">https://readthedocs.org/projects/pytest-cython/</doc>
33 + <maintainer>
34 + <email>page.lg@×××××.com</email>
35 + <name>Logan Page</name>
36 + </maintainer>
37 <remote-id type="pypi">pytest-cython</remote-id>
38 <remote-id type="github">lgpage/pytest-cython</remote-id>
39 </upstream>
40
41 diff --git a/dev-python/pytest-cython/pytest-cython-0.1.0.ebuild b/dev-python/pytest-cython/pytest-cython-0.1.0-r1.ebuild
42 similarity index 78%
43 rename from dev-python/pytest-cython/pytest-cython-0.1.0.ebuild
44 rename to dev-python/pytest-cython/pytest-cython-0.1.0-r1.ebuild
45 index df96a72..4ce9e89 100644
46 --- a/dev-python/pytest-cython/pytest-cython-0.1.0.ebuild
47 +++ b/dev-python/pytest-cython/pytest-cython-0.1.0-r1.ebuild
48 @@ -4,9 +4,9 @@
49 EAPI="7"
50
51 PYTHON_COMPAT=( python3_{6,7} )
52 +DISTUTILS_USE_SETUPTOOLS=rdepend
53
54 inherit distutils-r1
55 -DISTUTILS_USE_SETUPTOOLS=rdepend
56
57 DESCRIPTION="Plugin for testing Cython extension modules"
58 HOMEPAGE="https://github.com/lgpage/pytest-cython"
59 @@ -15,18 +15,21 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
60 SLOT="0"
61 LICENSE="MIT"
62 KEYWORDS="~amd64"
63 -#IUSE="test"
64
65 -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
66 -#DEPEND="
67 -# ${RDEPEND}
68 +RDEPEND="
69 + dev-python/cython[${PYTHON_USEDEP}]
70 + dev-python/pytest[${PYTHON_USEDEP}]
71 +"
72 +DEPEND="
73 + ${RDEPEND}
74 +"
75 +#those deps aren't really required I think
76 # test? (
77 # dev-python/check-manifest[${PYTHON_USEDEP}]
78 # dev-python/docutils[${PYTHON_USEDEP}]
79 # dev-python/pygments[${PYTHON_USEDEP}]
80 # dev-python/readme_renderer[${PYTHON_USEDEP}]
81 # )
82 -#"
83
84 -#distutils_enable_tests pytest
85 +distutils_enable_tests pytest
86 distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme