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