1 |
commit: fda9b893c5c94ee7f2132e018475f5a9857a4f8f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 05:59:05 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 07:09:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fda9b893 |
7 |
|
8 |
dev-python/scikit-build: Bump to 0.16.3 |
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.3.ebuild | 71 ++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest |
17 |
index 1004ae72459f..bab9be5c9b39 100644 |
18 |
--- a/dev-python/scikit-build/Manifest |
19 |
+++ b/dev-python/scikit-build/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST scikit-build-0.16.2.tar.gz 269822 BLAKE2B 4fe7d8f3c3a993f1832d94896068b6bede1eededb4d85e3332137f516819d167102a1eb2fde6dfe4ad187d0483a4e962311a4ca56f3aa5a4eff0c96a187ca052 SHA512 ae8dfd74c638e5cda127b24070c4e491ec51a69b35eae476f5f74a54ba97419d69e984ae7dc132782c77472852358d9d984650db4e6984decad74aadceecfa05 |
22 |
+DIST scikit-build-0.16.3.tar.gz 270429 BLAKE2B 32930041e64750dc4ee7d496bf6541bcc3f75c5fbddadb95d3424eec2309381ac6cb67252936fa753b0996db44749d19662575f4f20f174f85c44256d91ec7b7 SHA512 8cec7b01b7a2b892c05a910806b0a3664f5a966165f1a87e9943067afc9b2a2e93657a7a68e47df6578d5d03f1ff0a0bd987e97cf4b0f442d79949f52247968c |
23 |
|
24 |
diff --git a/dev-python/scikit-build/scikit-build-0.16.3.ebuild b/dev-python/scikit-build/scikit-build-0.16.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..d3db86ec26ee |
27 |
--- /dev/null |
28 |
+++ b/dev-python/scikit-build/scikit-build-0.16.3.ebuild |
29 |
@@ -0,0 +1,71 @@ |
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/pytest-mock[${PYTHON_USEDEP}] |
61 |
+ dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
62 |
+ dev-python/requests[${PYTHON_USEDEP}] |
63 |
+ dev-python/six[${PYTHON_USEDEP}] |
64 |
+ dev-python/virtualenv[${PYTHON_USEDEP}] |
65 |
+ ) |
66 |
+" |
67 |
+ |
68 |
+distutils_enable_sphinx docs \ |
69 |
+ dev-python/sphinx_rtd_theme \ |
70 |
+ dev-python/sphinx-issues |
71 |
+distutils_enable_tests pytest |
72 |
+ |
73 |
+src_prepare() { |
74 |
+ # not packaged |
75 |
+ sed -i -e '/cmakedomain/d' docs/conf.py || die |
76 |
+ # no pytest-cov |
77 |
+ sed -i -e '/addopts =/d' setup.cfg || die |
78 |
+ distutils-r1_src_prepare |
79 |
+} |
80 |
+ |
81 |
+python_test() { |
82 |
+ local EPYTEST_DESELECT=( |
83 |
+ # sandbox violations |
84 |
+ tests/test_hello_cpp.py::test_hello_develop |
85 |
+ tests/test_issue274_support_default_package_dir.py |
86 |
+ tests/test_issue274_support_one_package_without_package_dir.py |
87 |
+ tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py |
88 |
+ tests/test_pep518.py |
89 |
+ # This fails because of additional item setup.py in sources |
90 |
+ tests/test_include_exclude_data.py::test_hello_sdist |
91 |
+ tests/test_include_exclude_data.py::test_hello_sdist_with_base |
92 |
+ tests/test_issue401_sdist_with_symlinks.py::test_sdist_with_symlinks |
93 |
+ tests/test_manifest_in.py::test_manifest_in_sdist |
94 |
+ # Wants internet to install things with pip |
95 |
+ tests/test_numpy.py::test_pep518_findpython |
96 |
+ # TODO |
97 |
+ "tests/test_command_line.py::test_hide_listing[True-bdist_wheel]" |
98 |
+ ) |
99 |
+ epytest |
100 |
+} |