summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-11 04:28:45 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-11 04:28:45 +0100
commit7e110ec617b903791c3d309845e11a8b27f441cc (patch)
treed9e8b4826e21ef9fa1fc2255d459f563d5581283 /dev-python
parentf2a91413828611d85d0496e98e1656e9b0e4528b (diff)
gentoo auto-resync : 11:07:2023 - 04:28:45
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Manifest.gzbin264789 -> 264781 bytes
-rw-r--r--dev-python/mkdocs-ansible/Manifest7
-rw-r--r--dev-python/mkdocs-ansible/files/mkdocs-ansible-0.1.6-prune_deps.patch20
-rw-r--r--dev-python/mkdocs-ansible/mkdocs-ansible-0.1.4.ebuild19
-rw-r--r--dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild19
-rw-r--r--dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6-r1.ebuild41
-rw-r--r--dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6.ebuild24
-rw-r--r--dev-python/pyopencl/Manifest2
-rw-r--r--dev-python/pyopencl/pyopencl-2023.1.1.ebuild72
-rw-r--r--dev-python/versioneer/Manifest2
-rw-r--r--dev-python/versioneer/versioneer-0.29.ebuild51
11 files changed, 190 insertions, 67 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz
index ed1e767a72c7..463cc5ac43a0 100644
--- a/dev-python/Manifest.gz
+++ b/dev-python/Manifest.gz
Binary files differ
diff --git a/dev-python/mkdocs-ansible/Manifest b/dev-python/mkdocs-ansible/Manifest
index 1bce4c863d4e..7f0b8b8bb1b6 100644
--- a/dev-python/mkdocs-ansible/Manifest
+++ b/dev-python/mkdocs-ansible/Manifest
@@ -1,7 +1,4 @@
-DIST mkdocs-ansible-0.1.4.tar.gz 27751 BLAKE2B 33bf7edeadda869dcc620b1625deffad326d7a6296f70360a6138581ec60af8524ab8ccd7571c597b9574092dbb10a4296539eea3c9b586c0cc30c297f2a25cf SHA512 e2e3380e226c618cdcf87449ab76478be537b19b1c1da8bd93aca8791f29c98441b630997c203af3739509714eb2d7d2e1a0d8f07ef71b1c79a67c9651ad4886
-DIST mkdocs-ansible-0.1.5.tar.gz 27864 BLAKE2B b34fac1cb5f1ae960776f60ebb7405c3e8bf6c00bee3df81bfb2c77db03f2b1d7486967a7366e1702c969772ab8dba219a44f7be809563af01c867a5839b1ac6 SHA512 4d177fa532676cee76e7c861c06e920b3446d99bdd5ce062e3cf9d1a555153df197375f822df745619e9140e61a3ec590e046614509f4ec7b97e8e58c49e432a
+AUX mkdocs-ansible-0.1.6-prune_deps.patch 479 BLAKE2B 12248f17e1b62f03bbe992c534596da3eb4412c7568dd2cd6eb19e1a0a26778495547a92efda1ec07f66c9a78eb66b288a99fc262c63867eb0c16065d2fabaf8 SHA512 1adbaa1c110c0d4fb1da6c60aacd14755e2490e325dcd63d0746cec260f79c995f82a656a4681f02085f80d708fb4b7e7e529aee1b67afa5c6584f13ea060151
DIST mkdocs-ansible-0.1.6.tar.gz 27829 BLAKE2B ee1248c2301d841876abfde43e0a883d553f7848b9be367634c4332ceccff4f9aa5e22b58c38f997ffc9c861ac36a0b9e40e4ca445aff7dc040f953f83f3fab8 SHA512 96235bc91d86e52781ae190ab6bc83fc086fa5fdd2ecb21a544549bd49d94b0ea99e56956442884930a6d20c975970942ca3bc0c62cee23b17a3884989420672
-EBUILD mkdocs-ansible-0.1.4.ebuild 466 BLAKE2B 6ff72a9fddb0594f354b5141f36121b160c0153441cabbff0af8c4ece3b6a3bebffc2fd83d033fdf36383d3b36e8377d24819ac0140b951df4b35148afd1a668 SHA512 971c85feb0ee105cf1b5a4264856d6688250294ae1b1c7c0da8630c2857fee86f7dd59b3df3f8a51c2a7ec40d60b3450b74fe8194c703083469dfee1d04f7000
-EBUILD mkdocs-ansible-0.1.5.ebuild 466 BLAKE2B 6ff72a9fddb0594f354b5141f36121b160c0153441cabbff0af8c4ece3b6a3bebffc2fd83d033fdf36383d3b36e8377d24819ac0140b951df4b35148afd1a668 SHA512 971c85feb0ee105cf1b5a4264856d6688250294ae1b1c7c0da8630c2857fee86f7dd59b3df3f8a51c2a7ec40d60b3450b74fe8194c703083469dfee1d04f7000
-EBUILD mkdocs-ansible-0.1.6.ebuild 474 BLAKE2B 919a0ac31b9b96102af02ed18f84287516f57640eb6f9d51fbaf9f21a31f3ff3ccbe9c2c32775b3f7cac8a5dda15b16fbc1fbe0d5a6ff5e794dc6d299e954a87 SHA512 23a10514e411adc36eb5c104a9eca061385baffb5db85adf8d67913773b4bbf8520c9bb0ddc3a900481cd2f6b9d90deb6e4fa02475b3e9a9a50a324a1487606c
+EBUILD mkdocs-ansible-0.1.6-r1.ebuild 1255 BLAKE2B 5315f52af1831f9cd8d62463c9a008fd031fc81a09aa537442d6e07a6bb1e5158c7f3463a39ed4704525c6829340748f50df92ca535f518791eedfac3299409d SHA512 9ddbdb58891fb6f97021cd03a15fc87643e3ec64417e2912beff013248fb7d24656a0bb4ce4be2374552f8f6fdaa18dcdf0a6dc858d39fd08a7355345fbf7c65
MISC metadata.xml 409 BLAKE2B 7552f90e363cbe4b38bedae3630074db6b4b3fd75a13d3e34740470490b49f3cc553cb76d87bae5bfdf247b5e8ab57da2888ff12723bac72999c23484350485f SHA512 70fb7dfda89462823c26b7058a941d405015a46bd0445f0c75c5adeb659122d5d558b6e757ab20224725e8eaff5390bc3b0ce7e2bf7b56dd9982c04fc59a59e7
diff --git a/dev-python/mkdocs-ansible/files/mkdocs-ansible-0.1.6-prune_deps.patch b/dev-python/mkdocs-ansible/files/mkdocs-ansible-0.1.6-prune_deps.patch
new file mode 100644
index 000000000000..dd6b81b59a84
--- /dev/null
+++ b/dev-python/mkdocs-ansible/files/mkdocs-ansible-0.1.6-prune_deps.patch
@@ -0,0 +1,20 @@
+As of 0.1.6, no mention of pipdeptree anywhere in the actual code.
+
+--- a/.config/requirements.in
++++ b/.config/requirements.in
+@@ -11,5 +11,4 @@
+ mkdocstrings-python>=0.8.3
+ mkdocstrings>=0.21.2
+ pillow>=9.4.0
+-pipdeptree>=2.4.0
+ pymdown-extensions>=9.9.2
+--- a/.config/requirements.txt
++++ b/.config/requirements.txt
+@@ -39,7 +39,6 @@
+ mkdocstrings-python==1.1.0
+ packaging==23.1
+ pillow==9.5.0
+-pipdeptree==2.7.1
+ pycparser==2.21
+ pygments==2.15.1
+ pymdown-extensions==10.0.1
diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.4.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.4.ebuild
deleted file mode 100644
index d5f242d2a01f..000000000000
--- a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.4.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Ansible theme for MkDocs"
-HOMEPAGE="https://pypi.org/project/mkdocs-ansible/ https://github.com/ansible/mkdocs-ansible"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-
-RDEPEND="dev-python/mkdocs-material[${PYTHON_USEDEP}]"
diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild
deleted file mode 100644
index d5f242d2a01f..000000000000
--- a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.5.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Ansible theme for MkDocs"
-HOMEPAGE="https://pypi.org/project/mkdocs-ansible/ https://github.com/ansible/mkdocs-ansible"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-
-RDEPEND="dev-python/mkdocs-material[${PYTHON_USEDEP}]"
diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6-r1.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6-r1.ebuild
new file mode 100644
index 000000000000..f13655d4f5dc
--- /dev/null
+++ b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Ansible theme for MkDocs"
+HOMEPAGE="
+ https://github.com/ansible/mkdocs-ansible/
+ https://pypi.org/project/mkdocs-ansible/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="
+ >=dev-python/markdown-exec-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/markdown-include-0.8.1[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-gen-files-0.4.0[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-htmlproofer-plugin-0.10.2[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-material-extensions-1.1.1[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-material-9.0.13[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-minify-plugin-0.6.2[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-monorepo-plugin-1.0.4[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-python-0.8.3[${PYTHON_USEDEP}]
+ >=dev-python/mkdocstrings-0.21.2[${PYTHON_USEDEP}]
+ >=dev-python/pillow-9.4.0[${PYTHON_USEDEP}]
+ >=dev-python/pymdown-extensions-9.9.2[${PYTHON_USEDEP}]
+ >=media-gfx/cairosvg-2.6.0[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.1.6-prune_deps.patch
+)
diff --git a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6.ebuild b/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6.ebuild
deleted file mode 100644
index 34e33cbb072c..000000000000
--- a/dev-python/mkdocs-ansible/mkdocs-ansible-0.1.6.ebuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Ansible theme for MkDocs"
-HOMEPAGE="
- https://github.com/ansible/mkdocs-ansible/
- https://pypi.org/project/mkdocs-ansible/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-
-RDEPEND="
- dev-python/mkdocs-material[${PYTHON_USEDEP}]
-"
diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest
index 2c41b0811584..630eab36f93b 100644
--- a/dev-python/pyopencl/Manifest
+++ b/dev-python/pyopencl/Manifest
@@ -1,3 +1,5 @@
+DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985 SHA512 50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f
DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773 SHA512 3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244
+EBUILD pyopencl-2023.1.1.ebuild 2016 BLAKE2B c6e80026ca608c628cd52ff2ca042e7503d6dfefc9af9eaba9831eed0e1cba579088a9203a40184b5bfc95a73e87d9d15d545eca64ec7f3af69e3e1efc15e4a7 SHA512 9ae16d857277c60fd7e09fd9c30d0c664f08ed35681719d0e2fcdc8bd51ac8951068fe0999ac7855d755752dace1b0f3cab9924fd0d2d6f99c64315165d4c82e
EBUILD pyopencl-2023.1.ebuild 1999 BLAKE2B d64eb47dc442534e666b141e7d02bde62d80ead50d74cbde05dc32b28b143f20e1e6ceab3c199720ae07fa4e26272c034484ee8cd2962ba98dfc9f5db9cf4346 SHA512 d339449a1043befbf8eacbdb9f6874b16be9b54fcc17c0c1070ac4176fccdc04fb488dcef44555031d5aed30179bb3a74684240ec980dc66c67b7b63be1f34ac
MISC metadata.xml 373 BLAKE2B 0de89cb91a5dba1c34bacf04a95d4e2eb9e903bfb55e291f2ed20d579b9736a9a25f27620eed05d19c903c117e0dfbf410f408e9ff4008ce8c93f7b1b004141e SHA512 4ff5643089e5590d1ae4ef413a1ab0fa2772f71922a9da2c8b43ae375ba2e6e3d95ab90a13d51d22fdea49663c112c36352df609eceebd520fdc06590907b0e7
diff --git a/dev-python/pyopencl/pyopencl-2023.1.1.ebuild b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
new file mode 100644
index 000000000000..19df443f1f4b
--- /dev/null
+++ b/dev-python/pyopencl/pyopencl-2023.1.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Python wrapper for OpenCL"
+HOMEPAGE="
+ https://mathema.tician.de/software/pyopencl/
+ https://pypi.org/project/pyopencl/
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="examples opengl"
+
+# Running tests on GPUs requires both appropriate hardware and additional permissions
+# having been granted to the user running them. Testing on CPUs with dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug #872308.
+RESTRICT="test"
+
+COMMON=">=virtual/opencl-2"
+# libglvnd is only needed for the headers
+DEPEND="${COMMON}
+ opengl? ( media-libs/libglvnd )"
+RDEPEND="${COMMON}
+ >=dev-python/mako-0.3.6[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}]
+ >=dev-python/pytools-2021.2.7[${PYTHON_USEDEP}]"
+BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/pybind11-2.5.0[${PYTHON_USEDEP}]
+ test? ( dev-libs/pocl )"
+
+distutils_enable_tests pytest
+
+python_configure_all() {
+ local myconf=()
+ if use opengl; then
+ myconf+=(--cl-enable-gl)
+ fi
+
+ "${EPYTHON}" configure.py \
+ "${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
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest
index a7ee185cabad..03be4c879ad2 100644
--- a/dev-python/versioneer/Manifest
+++ b/dev-python/versioneer/Manifest
@@ -1,3 +1,5 @@
DIST python-versioneer-0.28.gh.tar.gz 77503 BLAKE2B a4d75ce8a7db057421e36fd75bfa9ec83a41191b999c2a81b3879290424005b521f7b6046debb847bf78eae459ef7247d903f971d2a0c4fce116ec0cd1f34833 SHA512 ef27f4588f1c76eb5da1e108f2eee635707b2427cd79a71880f8df217317329e5fb81b30b1e741f2439550dc73f9a816ebdf47af475862344d67ed2189f92a1e
+DIST python-versioneer-0.29.gh.tar.gz 78801 BLAKE2B e0af2887a8aaf5d4aee14d8370fa47d4ad9f0a5d385382de5b14f34fb1d6388daacaeab48677523b157ef685c8ad6e18b89bc8546ad8c991cde06e5c78da701c SHA512 10dce0923e2a48036117b64c8b746bb57db4b33f9f752ba950bf877319184451928d1eb37693ffb1a4f95afd774a4883cf265b8a82f35bd77b26c0967caa9ad6
EBUILD versioneer-0.28.ebuild 1238 BLAKE2B 52cca5e3c4526009a54b04a4c8e04aa38379b1d3c04336ee6b404a8ced3cbabfa2134341c60887e2959ac55ae1498bdc4b124e49298b5c56e595dbbccace1aaa SHA512 40432ad507eda946ea131a4eb8f9d7fdba5be10f485dd10aafbc5fbef73f762fd00804ebd310c4bc2d47fd92cc6138eda1db6d124e2c689cc980e5a0d8314c34
+EBUILD versioneer-0.29.ebuild 1238 BLAKE2B 1ff3aab1bd2b71f4b800b19c3135fe9b58c4dc01f42cd0eac159f6263615c454f9b194420fbe4e913ac3fc1c8445369d01874e5215f48e0bb42579cc8f49c62d SHA512 f8f62ec1fb932fe691bf10720c5980f538ae972d80674375293a27522ee5e399a5e172b0b6ff6b9f0e4a9b47ce05079bceb241479193b7babceecf8ae8fbd225
MISC metadata.xml 426 BLAKE2B 050a6c51f12ce466d0149041e103227c176f792326f859474c996a38f510544f09a594b6a70036b3cdad78013ff9982316c671e77be6ed2e7f0fa643bf89d320 SHA512 da99aef0b58491715dca230579ecba68bfe357909dd8bd122e790d7f0300e0b1d11cf224ea3a3c76763d593f45013cca6cfe27cc774c6eb90dd6da562a061c38
diff --git a/dev-python/versioneer/versioneer-0.29.ebuild b/dev-python/versioneer/versioneer-0.29.ebuild
new file mode 100644
index 000000000000..ed03e7b79ef0
--- /dev/null
+++ b/dev-python/versioneer/versioneer-0.29.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1
+
+MY_P=python-versioneer-${PV}
+DESCRIPTION="Easy VCS-based management of project version strings"
+HOMEPAGE="
+ https://pypi.org/project/versioneer/
+ https://github.com/python-versioneer/python-versioneer/
+"
+SRC_URI="
+ https://github.com/python-versioneer/python-versioneer/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+SLOT="0"
+LICENSE="Unlicense"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+BDEPEND="
+ test? (
+ dev-python/build[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-vcs/git
+ !!dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ esetup.py make_versioneer
+
+ git config --global user.email "you@example.com" || die
+ git config --global user.name "Your Name" || die
+ git config --global init.defaultBranch whatever || die
+
+ "${EPYTHON}" test/git/test_git.py -v || die
+}