dev-python/scikit-build: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-09-18 22:08:01 +02:00
parent cb4ac9795d
commit 761660036b
4 changed files with 0 additions and 101 deletions

View File

@@ -1,2 +1 @@
DIST scikit-build-0.11.1.tar.gz 132025 BLAKE2B 0f818d8da896695ee0d6b046249e74cbd4ea643bec0515d6ac6ff4276d92430a1dbf81abb3b7c10890538c373225a45cc21b0906de891f1a5390226be914dacd SHA512 030c6cc727d39cbafd2865722de9c45ba2f13461461cf75019b9caf6afd0a776b4f598fa2ce102b5adbc770140ab1de2c33e2bbd3ef03c958ae8849e5fc26cb4
DIST scikit-build-0.12.0.tar.gz 138053 BLAKE2B 5007bd070cee14056cbc9cc24a022a39c920ce7fa794a79dcdb707f185529e1ed2442a201593f6df8d2dd9b4ab7a9a1ed209b0bc08f3feae748edd06894f8661 SHA512 76be92d8ff96dc230e38dc36a58021399dd8c57b6883dc032fbcd8f01ce42c879c6d557e7a46d48aa9b8bc724270f409f3760824d5810654b53a1aca25ec1cf9

View File

@@ -1,19 +0,0 @@
diff --git a/docs/conf.py b/docs/conf.py
index 094ed23..a58cb85 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -41,7 +41,6 @@ import skbuild
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
- 'cmake',
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx_issues'
@@ -291,4 +290,4 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
\ No newline at end of file
+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

View File

@@ -1,28 +0,0 @@
From c1677527af3f7afd48ebbe1b2338ac822f64c524 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sat, 19 Jun 2021 19:27:09 +0200
Subject: [PATCH] fix: fix regex in test_get_python_version for Python 3.10
Fix the regular expression in test_get_python_version to permit
the minor version to contain more than one digit. This fixes the test
on Python 3.10.
---
tests/test_cmaker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_cmaker.py b/tests/test_cmaker.py
index d63059c..52d0028 100644
--- a/tests/test_cmaker.py
+++ b/tests/test_cmaker.py
@@ -21,7 +21,7 @@ from . import _tmpdir, get_cmakecache_variables
def test_get_python_version():
- assert re.match(r'^[23](\.?)[0-9]$', CMaker.get_python_version())
+ assert re.match(r'^[23](\.?)\d+$', CMaker.get_python_version())
def test_get_python_include_dir():
--
2.32.0

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Improved build system generator for Python C/C++/Fortran/Cython extensions"
HOMEPAGE="https://github.com/scikit-build/scikit-build"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
RDEPEND="
dev-python/distro[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]"
DEPEND="
test? (
dev-python/cython[${PYTHON_USEDEP}]
dev-python/path-py[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
)"
PATCHES=(
"${FILESDIR}/${PN}-0.10.0-docs.patch"
"${FILESDIR}"/${P}-py310.patch
)
distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinx-issues
distutils_enable_tests pytest
python_test() {
local deselect=(
# sandbox violations
tests/test_hello_cpp.py::test_hello_develop
tests/test_issue274_support_default_package_dir.py
tests/test_issue274_support_one_package_without_package_dir.py
tests/test_issue334_configure_cmakelists_non_cp1252_encoding.py
)
epytest ${deselect[@]/#/--deselect }
}