diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-21 12:47:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-08-21 12:47:23 +0000 |
| commit | fc62d93f5da84d70736ceb421bd8718918ba6ba4 (patch) | |
| tree | b619038875780541a83d6298f15e91618fb8fbbe /dev-python | |
| parent | 6f55c03b8c6cdb63603935b101c4ec3352ac5a23 (diff) | |
| download | baldeagleos-repo-fc62d93f5da84d70736ceb421bd8718918ba6ba4.tar.gz baldeagleos-repo-fc62d93f5da84d70736ceb421bd8718918ba6ba4.tar.xz baldeagleos-repo-fc62d93f5da84d70736ceb421bd8718918ba6ba4.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/cleo/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cleo/cleo-0.8.1.ebuild | 25 | ||||
| -rw-r--r-- | dev-python/clikit/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/clikit/clikit-0.6.2.ebuild | 37 | ||||
| -rw-r--r-- | dev-python/pastel/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pastel/pastel-0.2.1.ebuild | 18 | ||||
| -rw-r--r-- | dev-python/pylev/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pylev/pylev-1.4.0.ebuild | 17 | ||||
| -rw-r--r-- | dev-python/pyopencl/pyopencl-2022.1.6.ebuild | 25 | ||||
| -rw-r--r-- | dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild (renamed from dev-python/pytest-markdown/pytest-markdown-1.0.2.ebuild) | 4 |
10 files changed, 18 insertions, 112 deletions
diff --git a/dev-python/cleo/Manifest b/dev-python/cleo/Manifest index a3b3f64d5a29..abc6df6aa6af 100644 --- a/dev-python/cleo/Manifest +++ b/dev-python/cleo/Manifest @@ -1,2 +1 @@ DIST cleo-0.8.1.gh.tar.gz 96220 BLAKE2B 57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c SHA512 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c -DIST cleo-0.8.1.tar.gz 96220 BLAKE2B 57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c SHA512 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c diff --git a/dev-python/cleo/cleo-0.8.1.ebuild b/dev-python/cleo/cleo-0.8.1.ebuild deleted file mode 100644 index 521a3d4adc7b..000000000000 --- a/dev-python/cleo/cleo-0.8.1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python tool for building testable command-line interfaces" -HOMEPAGE="https://github.com/sdispater/cleo" -SRC_URI="https://github.com/sdispater/cleo/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" - -BDEPEND=" - test? ( - dev-python/clikit[${PYTHON_USEDEP}] - dev-python/crashtest[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest diff --git a/dev-python/clikit/Manifest b/dev-python/clikit/Manifest index 13e4aff894f5..29a764b333df 100644 --- a/dev-python/clikit/Manifest +++ b/dev-python/clikit/Manifest @@ -1,2 +1 @@ DIST clikit-0.6.2.gh.tar.gz 72115 BLAKE2B b72f245128c698375f97139cf245bdc8c017e3e2d142f6e3183a42620b23a024531e5b14f05163c6defa9ee54c52c19a64932c62484f2ec8da5c75ea1b7d3d27 SHA512 6f6e436b2161349ce03c705df594e564dbc594b03370dfd62e3b1c8f2accbbc12a1cda881ca392a096435ee243e4f772589ce6f6dfbd3af63d1656d49c3fcb04 -DIST clikit-0.6.2.tar.gz 72115 BLAKE2B b72f245128c698375f97139cf245bdc8c017e3e2d142f6e3183a42620b23a024531e5b14f05163c6defa9ee54c52c19a64932c62484f2ec8da5c75ea1b7d3d27 SHA512 6f6e436b2161349ce03c705df594e564dbc594b03370dfd62e3b1c8f2accbbc12a1cda881ca392a096435ee243e4f772589ce6f6dfbd3af63d1656d49c3fcb04 diff --git a/dev-python/clikit/clikit-0.6.2.ebuild b/dev-python/clikit/clikit-0.6.2.ebuild deleted file mode 100644 index fb63ec83b64a..000000000000 --- a/dev-python/clikit/clikit-0.6.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Group of utilities to build beautiful and testable command line interfaces" -HOMEPAGE="https://github.com/sdispater/clikit" -SRC_URI="https://github.com/sdispater/clikit/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND=" - dev-python/pastel[${PYTHON_USEDEP}] - dev-python/pylev[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND=" - test? ( - dev-python/crashtest[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local EPYTEST_DESELECT=( - # skip failing test - tests/utils/test_terminal.py - ) - epytest -} diff --git a/dev-python/pastel/Manifest b/dev-python/pastel/Manifest index 5760732e413f..daea3c0ecca5 100644 --- a/dev-python/pastel/Manifest +++ b/dev-python/pastel/Manifest @@ -1,2 +1 @@ DIST pastel-0.2.1.gh.tar.gz 125760 BLAKE2B f9b3c29444bb6bd0e710cd80d4e48cdc9099ad6512cd99b0224559b87504f5b61cfcb90165f97b101b8ff5e9f8b7e230878c5cf50ae2b0555447f5be28977cb0 SHA512 585834d035fe208313a77e0c824f6b67630a85697d4aef802800911cb1da72bfd6c9ba47fe5502359bdf244a98b8f6dea300a788ff1cfd56a8bc19eb7b7dcc16 -DIST pastel-0.2.1.tar.gz 125760 BLAKE2B f9b3c29444bb6bd0e710cd80d4e48cdc9099ad6512cd99b0224559b87504f5b61cfcb90165f97b101b8ff5e9f8b7e230878c5cf50ae2b0555447f5be28977cb0 SHA512 585834d035fe208313a77e0c824f6b67630a85697d4aef802800911cb1da72bfd6c9ba47fe5502359bdf244a98b8f6dea300a788ff1cfd56a8bc19eb7b7dcc16 diff --git a/dev-python/pastel/pastel-0.2.1.ebuild b/dev-python/pastel/pastel-0.2.1.ebuild deleted file mode 100644 index 8eeacaa4da93..000000000000 --- a/dev-python/pastel/pastel-0.2.1.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Bring colors to your terminal" -HOMEPAGE="https://github.com/sdispater/pastel" -SRC_URI="https://github.com/sdispater/pastel/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" - -distutils_enable_tests pytest diff --git a/dev-python/pylev/Manifest b/dev-python/pylev/Manifest index fba4b3fc7099..0e4150b04e1e 100644 --- a/dev-python/pylev/Manifest +++ b/dev-python/pylev/Manifest @@ -1,2 +1 @@ DIST pylev-1.4.0.gh.tar.gz 4895 BLAKE2B d49e153d308165dcdc06bad94013afa4ccc6d2a6ecff943a2718a8f9ab71bbacb9c0cf8b604dbf0c77322a8d0cbeba5ffaed13531a31210507f144f716f8e740 SHA512 3999adf04b159499a199b1aa66e2540904c689c50a407bf7e0cc0affe834ea289006d2fc73f65e4fcd486c755c580e9657dc5c67290dccb4704bebc6a4348de3 -DIST pylev-1.4.0.tar.gz 4895 BLAKE2B d49e153d308165dcdc06bad94013afa4ccc6d2a6ecff943a2718a8f9ab71bbacb9c0cf8b604dbf0c77322a8d0cbeba5ffaed13531a31210507f144f716f8e740 SHA512 3999adf04b159499a199b1aa66e2540904c689c50a407bf7e0cc0affe834ea289006d2fc73f65e4fcd486c755c580e9657dc5c67290dccb4704bebc6a4348de3 diff --git a/dev-python/pylev/pylev-1.4.0.ebuild b/dev-python/pylev/pylev-1.4.0.ebuild deleted file mode 100644 index 5d4e135b03d1..000000000000 --- a/dev-python/pylev/pylev-1.4.0.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -inherit distutils-r1 - -DESCRIPTION="Python Levenshtein implementation" -HOMEPAGE="https://github.com/toastdriven/pylev" -SRC_URI="https://github.com/toastdriven/pylev/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" - -distutils_enable_tests unittest diff --git a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild index 09a3c36e409c..1417bad9873e 100644 --- a/dev-python/pyopencl/pyopencl-2022.1.6.ebuild +++ b/dev-python/pyopencl/pyopencl-2022.1.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 multiprocessing DESCRIPTION="Python wrapper for OpenCL" HOMEPAGE="https://mathema.tician.de/software/pyopencl/ @@ -29,15 +29,10 @@ RDEPEND="${COMMON} >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]" BDEPEND="dev-python/numpy[${PYTHON_USEDEP}] >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}] - <dev-python/pybind11-2.10.0[${PYTHON_USEDEP}]" + <dev-python/pybind11-2.10.0[${PYTHON_USEDEP}] + test? ( dev-libs/pocl )" -# The test suite fails if there are no OpenCL platforms available, and -# even if there is one (which requires the presence of both an OpenCL -# runtime *and* hardware supported by it - simply emerging any runtime -# is not enough) the vast majority of tests end up skipped because by -# default the portage user hasn't got sufficient privileges to talk -# to the GPU. -RESTRICT="test" +distutils_enable_tests pytest python_configure_all() { local myconf=() @@ -49,6 +44,18 @@ python_configure_all() { "${myconf[@]}" } +python_test() { + # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present + local -x PYOPENCL_TEST="portable:pthread" + # Set the number of threads to match MAKEOPTS + local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) + # Change to the 'test' directory so that python does not try to import pyopencl from the source directory + # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) + pushd test >/dev/null || die + epytest + popd >/dev/null || die +} + python_install_all() { if use examples; then dodoc -r examples diff --git a/dev-python/pytest-markdown/pytest-markdown-1.0.2.ebuild b/dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild index c8eaa32f963f..34d341b1efe0 100644 --- a/dev-python/pytest-markdown/pytest-markdown-1.0.2.ebuild +++ b/dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild @@ -4,14 +4,14 @@ EAPI=8 PYTHON_COMPAT=( python3_{7,8,9,10} ) -DISTUTILS_USE_SETUPTOOLS="pyproject.toml" +DISTUTILS_USE_PEP517="poetry" inherit distutils-r1 MY_PN="${PN/-/_}" MY_P="${MY_PN}-${PV}" -DESCRIPTION="Write unit tests in Python to test actual state of your servers" +DESCRIPTION="Run tests in your markdown" HOMEPAGE="https://github.com/Jc2k/pytest-markdown" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
