1 |
commit: 5a19cd95fce16638d9d6582901482c4500218667 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 16 16:02:05 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 16 16:03:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a19cd95 |
7 |
|
8 |
dev-python/scikit-build: add 0.14.1 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
dev-python/scikit-build/Manifest | 1 + |
13 |
dev-python/scikit-build/scikit-build-0.14.1.ebuild | 62 ++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/scikit-build/Manifest b/dev-python/scikit-build/Manifest |
17 |
index f65a3e93331a..d8533d767eab 100644 |
18 |
--- a/dev-python/scikit-build/Manifest |
19 |
+++ b/dev-python/scikit-build/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST scikit-build-0.12.0.tar.gz 138053 BLAKE2B 5007bd070cee14056cbc9cc24a022a39c920ce7fa794a79dcdb707f185529e1ed2442a201593f6df8d2dd9b4ab7a9a1ed209b0bc08f3feae748edd06894f8661 SHA512 76be92d8ff96dc230e38dc36a58021399dd8c57b6883dc032fbcd8f01ce42c879c6d557e7a46d48aa9b8bc724270f409f3760824d5810654b53a1aca25ec1cf9 |
22 |
+DIST scikit-build-0.14.1.tar.gz 266776 BLAKE2B cb674412ef000fa961b85b32bf7759430cc5ff1b175e29017219ae3b941bfefee5760742cf17549fe7868fa0fc80f72e027aa683cd07bec53c1578e27b1ea0a7 SHA512 c9c3caaab969e83739cb3be718fc7190ef25372fbbf689ea84f9b9725bfc8329640c26038d875ecf3ccdbab0637ef77d6a30c05dcdaaecf441f631c8601d3b63 |
23 |
|
24 |
diff --git a/dev-python/scikit-build/scikit-build-0.14.1.ebuild b/dev-python/scikit-build/scikit-build-0.14.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..fc7bcd982b01 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/scikit-build/scikit-build-0.14.1.ebuild |
29 |
@@ -0,0 +1,62 @@ |
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="https://github.com/scikit-build/scikit-build" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+SLOT="0" |
44 |
+LICENSE="MIT" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/distro[${PYTHON_USEDEP}] |
49 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
50 |
+ dev-python/wheel[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ test? ( |
54 |
+ dev-python/cython[${PYTHON_USEDEP}] |
55 |
+ dev-python/path-py[${PYTHON_USEDEP}] |
56 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
58 |
+ dev-python/requests[${PYTHON_USEDEP}] |
59 |
+ dev-python/six[${PYTHON_USEDEP}] |
60 |
+ dev-python/virtualenv[${PYTHON_USEDEP}] |
61 |
+ )" |
62 |
+ |
63 |
+distutils_enable_sphinx docs \ |
64 |
+ dev-python/sphinx_rtd_theme \ |
65 |
+ dev-python/sphinx-issues |
66 |
+distutils_enable_tests pytest |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ # not packaged |
70 |
+ sed -i -e '/cmakedomain/d' docs/conf.py || die |
71 |
+ # no pytest-cov |
72 |
+ sed -i -e '/addopts =/d' setup.cfg || die |
73 |
+ distutils-r1_src_prepare |
74 |
+} |
75 |
+ |
76 |
+python_test() { |
77 |
+ local deselect=( |
78 |
+ # sandbox violations |
79 |
+ tests/test_hello_cpp.py::test_hello_develop |
80 |
+ tests/test_issue274_support_default_package_dir.py |
81 |
+ tests/test_issue274_support_one_package_without_package_dir.py |
82 |
+ tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py |
83 |
+ tests/test_pep518.py |
84 |
+ # This fails because of additional item setup.py in sources |
85 |
+ tests/test_include_exclude_data.py::test_hello_sdist |
86 |
+ tests/test_include_exclude_data.py::test_hello_sdist_with_base |
87 |
+ tests/test_issue401_sdist_with_symlinks.py::test_sdist_with_symlinks |
88 |
+ tests/test_manifest_in.py::test_manifest_in_sdist |
89 |
+ ) |
90 |
+ epytest ${deselect[@]/#/--deselect } |
91 |
+} |