Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-build/
Date: Sun, 30 Oct 2022 06:40:02
Message-Id: 1667111937.4323f8470fb97c0c0cfcd5c3611993162608fd0e.mgorny@gentoo
1 commit: 4323f8470fb97c0c0cfcd5c3611993162608fd0e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 06:04:40 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 06:38:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4323f847
7
8 dev-python/scikit-build: Bump to 0.16.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/scikit-build/Manifest | 1 +
13 dev-python/scikit-build/scikit-build-0.16.1.ebuild | 72 ++++++++++++++++++++++
14 2 files changed, 73 insertions(+)
15
16 diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest
17 index 68d0041c10b9..2ed864ad69f7 100644
18 --- a/dev-python/scikit-build/Manifest
19 +++ b/dev-python/scikit-build/Manifest
20 @@ -1 +1,2 @@
21 DIST scikit-build-0.15.0.tar.gz 268691 BLAKE2B f4cb51ee2367bd4ba6f6c1cada15e1e6be731998a914b28edcf703c5a92c409b78b17dddf04a29b24d40f249ffa06eb9d05d36dc30c0e62ee001519c3ca03f58 SHA512 4d9b1d06d48708ff4f2f5fa8c8f264c7ca85946d5842a1254930d9449d6b6386c17392473c3c85147f6573f7256c94c927962cb56fa23a90a5b442de8de8d727
22 +DIST scikit-build-0.16.1.tar.gz 269763 BLAKE2B b5c70c16a68dc8bae67f273c8ecb423d36fb5379e0dbbc55efffe33ab216162db687fc48004aed84b636ad6b99a79be4cef4838509a18b3a6a81375e1cfd544d SHA512 13b23014939b34096849ecdcd7ffcba0638efa19fbcc3c7348fbcf77a4943236b1009ed1ec07e68acd00b10fdd3d3e809e8a131efe0de17f43bcf794b35755e1
23
24 diff --git a/dev-python/scikit-build/scikit-build-0.16.1.ebuild b/dev-python/scikit-build/scikit-build-0.16.1.ebuild
25 new file mode 100644
26 index 000000000000..38933b364960
27 --- /dev/null
28 +++ b/dev-python/scikit-build/scikit-build-0.16.1.ebuild
29 @@ -0,0 +1,72 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +DISTUTILS_USE_PEP517=setuptools
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions"
40 +HOMEPAGE="
41 + https://github.com/scikit-build/scikit-build/
42 + https://pypi.org/project/scikit-build/
43 +"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +SLOT="0"
47 +LICENSE="MIT"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
49 +
50 +RDEPEND="
51 + dev-python/distro[${PYTHON_USEDEP}]
52 + dev-python/packaging[${PYTHON_USEDEP}]
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + dev-python/wheel[${PYTHON_USEDEP}]
55 +"
56 +
57 +BDEPEND="
58 + test? (
59 + dev-python/cython[${PYTHON_USEDEP}]
60 + dev-python/path[${PYTHON_USEDEP}]
61 + dev-python/pytest-mock[${PYTHON_USEDEP}]
62 + dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
63 + dev-python/requests[${PYTHON_USEDEP}]
64 + dev-python/six[${PYTHON_USEDEP}]
65 + dev-python/virtualenv[${PYTHON_USEDEP}]
66 + )
67 +"
68 +
69 +distutils_enable_sphinx docs \
70 + dev-python/sphinx_rtd_theme \
71 + dev-python/sphinx-issues
72 +distutils_enable_tests pytest
73 +
74 +src_prepare() {
75 + # not packaged
76 + sed -i -e '/cmakedomain/d' docs/conf.py || die
77 + # no pytest-cov
78 + sed -i -e '/addopts =/d' setup.cfg || die
79 + distutils-r1_src_prepare
80 +}
81 +
82 +python_test() {
83 + local EPYTEST_DESELECT=(
84 + # sandbox violations
85 + tests/test_hello_cpp.py::test_hello_develop
86 + tests/test_issue274_support_default_package_dir.py
87 + tests/test_issue274_support_one_package_without_package_dir.py
88 + tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py
89 + tests/test_pep518.py
90 + # This fails because of additional item setup.py in sources
91 + tests/test_include_exclude_data.py::test_hello_sdist
92 + tests/test_include_exclude_data.py::test_hello_sdist_with_base
93 + tests/test_issue401_sdist_with_symlinks.py::test_sdist_with_symlinks
94 + tests/test_manifest_in.py::test_manifest_in_sdist
95 + # Wants internet to install things with pip
96 + tests/test_numpy.py::test_pep518_findpython
97 + # TODO
98 + "tests/test_command_line.py::test_hide_listing[True-bdist_wheel]"
99 + )
100 + epytest
101 +}