diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-15 17:55:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-04-15 17:55:03 +0000 |
| commit | 82d0e3dbca8c1d493c7edba213093b8a8ba724a5 (patch) | |
| tree | 10f55a8dc992111905be201411c5d3c7261c2bb4 /dev-python | |
| parent | 1ce9be8133675961ff02e0a7f55191240307a286 (diff) | |
| download | baldeagleos-repo-82d0e3dbca8c1d493c7edba213093b8a8ba724a5.tar.gz baldeagleos-repo-82d0e3dbca8c1d493c7edba213093b8a8ba724a5.tar.xz baldeagleos-repo-82d0e3dbca8c1d493c7edba213093b8a8ba724a5.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/celery/celery-5.3.6.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/pdm-backend/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pdm-backend/pdm-backend-2.2.0.ebuild | 69 | ||||
| -rw-r--r-- | dev-python/poetry-core/poetry-core-1.9.0.ebuild | 8 | ||||
| -rw-r--r-- | dev-python/pycpio/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pycpio/pycpio-0.9.2.ebuild | 18 | ||||
| -rw-r--r-- | dev-python/pygccxml/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pygccxml/files/pygccxml-2.5.0-which.patch | 68 | ||||
| -rw-r--r-- | dev-python/pygccxml/metadata.xml | 3 | ||||
| -rw-r--r-- | dev-python/pygccxml/pygccxml-2.5.0.ebuild | 49 | ||||
| -rw-r--r-- | dev-python/pyproject-metadata/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyproject-metadata/pyproject-metadata-0.8.0_rc1.ebuild | 32 | ||||
| -rw-r--r-- | dev-python/pytest-celery/pytest-celery-0.1.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/setuptools/setuptools-69.5.1.ebuild | 3 | ||||
| -rw-r--r-- | dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/validator-collection/validator-collection-1.5.0.ebuild | 2 |
16 files changed, 253 insertions, 9 deletions
diff --git a/dev-python/celery/celery-5.3.6.ebuild b/dev-python/celery/celery-5.3.6.ebuild index 156eecbbe9b2..f59fe2033f62 100644 --- a/dev-python/celery/celery-5.3.6.ebuild +++ b/dev-python/celery/celery-5.3.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest index ee7d6238dd12..5bcdd73ed2a5 100644 --- a/dev-python/pdm-backend/Manifest +++ b/dev-python/pdm-backend/Manifest @@ -1 +1,2 @@ DIST pdm-backend-2.1.8.gh.tar.gz 134738 BLAKE2B 5baf6db7193f27de5aa89e41852c714de7d2aa7fd9f75de9b1f1ebd455052bc9d9d47d95dbbed3436e9e9dae79c9a1d0ec54d71a4437036869de38aa035f0642 SHA512 975dad24d128a01b5484f62aece3b209eb3dddf3800c75e422ed1dd0d4cbe15ce60a155d6ed0cec4104eef47cad822e56a2379c877e3f5c8c719dfa86d8800c7 +DIST pdm-backend-2.2.0.gh.tar.gz 135965 BLAKE2B 7e4bfd68fb882caf91c0d7fe4164de9cb37b31ca158b25398a9c129edae42ad8a8ee811fd6819bda861b1412a44ea6c88b2b806b92b2a7bfaf531e947461be58 SHA512 8126b15852c25c27a70f6c39f9067b8617226648578f270c08f8030c2a9c181eb1a9162e17dc9d57a90268c2aad3f02120eb47bc8df674de1060e9de30a05e12 diff --git a/dev-python/pdm-backend/pdm-backend-2.2.0.ebuild b/dev-python/pdm-backend/pdm-backend-2.2.0.ebuild new file mode 100644 index 000000000000..889e24da051d --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.2.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-backend/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# see src/pdm/backend/_vendor/vendor.txt +RDEPEND=" + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.8.0_rc1[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r src/pdm/backend/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.backend\._vendor\.:from :' \ + -e 's:from pdm\.backend\._vendor ::' \ + -e 's:import pdm\.backend\._vendor\.:import :' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_compile() { + # this must not be set during src_test() + local -x PDM_BUILD_SCM_VERSION=${PV} + distutils-r1_src_compile +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} diff --git a/dev-python/poetry-core/poetry-core-1.9.0.ebuild b/dev-python/poetry-core/poetry-core-1.9.0.ebuild index 20e1023585ab..b6cb5af14392 100644 --- a/dev-python/poetry-core/poetry-core-1.9.0.ebuild +++ b/dev-python/poetry-core/poetry-core-1.9.0.ebuild @@ -27,11 +27,11 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv # (note that some are indirect deps) RDEPEND=" >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] - dev-python/lark[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/lark-1.1.3[${PYTHON_USEDEP}] + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.9 3.10) + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) " BDEPEND=" ${RDEPEND} diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 9dfe263e0dfd..bcb0935b5d40 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1,3 +1,4 @@ DIST pycpio-0.8.0.tar.gz 17988 BLAKE2B 101aa0d533e1a1b00eda7f6286a5f4c9b97248625adeeeece3377a6ef6510a6bc3f2a4e24c70a6b967e135270c3bae91419d20a2952464f22f8596cc2fefacf7 SHA512 d1c8519e1dc6e2663e55a2e9f6e8d90670cca5f47a58a8838f1ed9ec1bb7fb002db98b04b8d083475fc61b52f05e6a5a9d21435f06a6f627550b292d2eeea846 DIST pycpio-0.8.2.tar.gz 17985 BLAKE2B 3e7e5e2ccc289c85d1a818e66a848c462225a7ec529c874d4e450e33141e8785bfd23ba5b3d24fb1c593c78188230def9fa0759d857c773dfc6941b421e66469 SHA512 1eb0e2213792c9d5c28e4377c7cb6acef4f2679830584c6efd9687912ae89268bfe265c79f42a3f786b74993ebc90290c8786353848f481a5e25fb26a43a2b81 DIST pycpio-0.9.1.tar.gz 17815 BLAKE2B 6eed15c3ed6cc8a5d84767672b2762608efc352ac012ef6679a8b86df67e49af606f1e7ea6ecf67d51f7d9737f6a14d15bc7d14df0063e6f512bc1b72ba8f7a6 SHA512 0189f7d3b9c3eb2fdc2c2d10f0253243535d54fbc5d93efe82e9864ab70cb069f46a131edc5db5b1e1940b66d03a1a9b8d60f29a8ab5315e628d3402bcdfdb1e +DIST pycpio-0.9.2.tar.gz 17820 BLAKE2B 738f32ab54f77f8de2cbf38b22f0eaa5321d5a26ac4c46ce05372708d93f8b8e9cd2c20b49ba74d7acf6ad0f1f1d81b35624c46be2c7b30c00b1f6df945be99d SHA512 9e4e1e798307cd7ed30bf189dc7cd647472628d39e26d26893cded62b8178659749926459ef60d99493a191dad8298a46b3ea4a5b47d7fc600fa259f05bb1f7f diff --git a/dev-python/pycpio/pycpio-0.9.2.ebuild b/dev-python/pycpio/pycpio-0.9.2.ebuild new file mode 100644 index 000000000000..4b483e85980d --- /dev/null +++ b/dev-python/pycpio/pycpio-0.9.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +inherit distutils-r1 + +DESCRIPTION="Python CPIO library" +HOMEPAGE="https://github.com/desultory/pycpio" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=">=dev-python/zenlib-1.7.2[${PYTHON_USEDEP}]" diff --git a/dev-python/pygccxml/Manifest b/dev-python/pygccxml/Manifest index 01e9b3c3f3e8..2b29408d2234 100644 --- a/dev-python/pygccxml/Manifest +++ b/dev-python/pygccxml/Manifest @@ -1 +1,2 @@ DIST pygccxml-2.4.0.gh.tar.gz 3165189 BLAKE2B 855b0b6313be29e7719abe4cc6e654904657c11bfd7310d647227ce9d7760821eeb348dcd9892afbcc3d467db96daaf3010e92803fe28962db9a255cf81eae46 SHA512 48bf4887344c68d0a93a3908cc0a744f3d6a74dce92be88527e85cf7ba1a46f88560730dce0b858f31523cada836aad40461de935c5c2a041de0fa2ae5e38c30 +DIST pygccxml-2.5.0.gh.tar.gz 3163862 BLAKE2B 2a61474acab7e7a21b21bc7131a9b9aae2a318d3b761c9a3865055146331891e5fb2041a9136bd8816e60a4dc76a39a22d5f5632f22336341667eee537521a42 SHA512 499be7383ac9817c5620f7f0b2e6fdb9a6f5d934cc54a2ef9864877a2a7d896997ab5bc2e8b0c3c87df1ac7e4a384d3c8cbcc87f9496125502c97766df57b003 diff --git a/dev-python/pygccxml/files/pygccxml-2.5.0-which.patch b/dev-python/pygccxml/files/pygccxml-2.5.0-which.patch new file mode 100644 index 000000000000..52ac56ed48f0 --- /dev/null +++ b/dev-python/pygccxml/files/pygccxml-2.5.0-which.patch @@ -0,0 +1,68 @@ +From 08f53536a0e76bab000df2837af4a13f06bbd4a7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Mon, 15 Apr 2024 15:50:39 +0200 +Subject: [PATCH] Use `shutil.which()` to get compiler path + +Remove the `__get_first_compiler_in_path()` function that used +`which(1)` / `where` program to get the compiler path, with built-in +`shutil.which()`. This fixes pygccxml on systems where `which(1)` +is no longer present (it is not a standard POSIX tool, and Linux +distributions are working towards making it optional). +--- + src/pygccxml/parser/config.py | 28 +++++++--------------------- + 1 file changed, 7 insertions(+), 21 deletions(-) + +diff --git a/src/pygccxml/parser/config.py b/src/pygccxml/parser/config.py +index 1032b54e..4fe4a6a0 100644 +--- a/src/pygccxml/parser/config.py ++++ b/src/pygccxml/parser/config.py +@@ -11,6 +11,7 @@ + import os + import copy + import platform ++import shutil + import subprocess + import warnings + # In py3, ConfigParser was renamed to the more-standard configparser. +@@ -451,35 +452,20 @@ def create_compiler_path(xml_generator, compiler_path): + if xml_generator == 'castxml' and compiler_path is None: + if platform.system() == 'Windows': + # Look for msvc +- compiler_path = __get_first_compiler_in_path('where', 'cl') ++ compiler_path = shutil.which('cl') + # No msvc found; look for mingw +- if compiler_path == '': +- compiler_path = __get_first_compiler_in_path('where', 'mingw') ++ if compiler_path is None: ++ compiler_path = shutil.which('mingw') + else: + # OS X or Linux + # Look for clang first, then gcc +- compiler_path = __get_first_compiler_in_path('which', 'clang++') ++ compiler_path = shutil.which('clang++') + # No clang found; use gcc +- if compiler_path == '': +- compiler_path = __get_first_compiler_in_path('which', 'c++') +- +- if compiler_path == "": +- compiler_path = None ++ if compiler_path is None: ++ compiler_path = shutil.which('c++') + + return compiler_path + + +-def __get_first_compiler_in_path(command, compiler_name): +- p = subprocess.Popen( +- [command, compiler_name], +- stdout=subprocess.PIPE, +- stderr=subprocess.PIPE) +- path = p.stdout.read().decode("utf-8").rstrip().split("\r\n")[0].rstrip() +- p.wait() +- p.stdout.close() +- p.stderr.close() +- return path +- +- + if __name__ == '__main__': + print(load_xml_generator_configuration('xml_generator.cfg').__dict__) diff --git a/dev-python/pygccxml/metadata.xml b/dev-python/pygccxml/metadata.xml index c11af44d3757..82592f6156cb 100644 --- a/dev-python/pygccxml/metadata.xml +++ b/dev-python/pygccxml/metadata.xml @@ -8,6 +8,9 @@ <maintainer type="project"> <email>radio@gentoo.org</email> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pygccxml/pygccxml-2.5.0.ebuild b/dev-python/pygccxml/pygccxml-2.5.0.ebuild new file mode 100644 index 000000000000..1654b12b5a09 --- /dev/null +++ b/dev-python/pygccxml/pygccxml-2.5.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 + +DESCRIPTION="A specialized XML reader to navigate C++ declarations" +HOMEPAGE=" + https://github.com/CastXML/pygccxml/ + https://pypi.org/project/pygccxml/ +" +SRC_URI=" + https://github.com/CastXML/pygccxml/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" + +DEPEND=" + ${PYTHON_DEPS} + dev-libs/castxml +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-rtd-theme + +EPYTEST_DESELECT=( + # TODO; too new LLVM? upstream tests against LLVM 13 + unittests/test_overrides.py::Test::test +) + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}/${PN}-2.4.0-doc.patch" + # https://github.com/CastXML/pygccxml/pull/179 + "${FILESDIR}/${P}-which.patch" + ) + + distutils-r1_python_prepare_all +} diff --git a/dev-python/pyproject-metadata/Manifest b/dev-python/pyproject-metadata/Manifest index 4610bee06828..15eebe5b4dc9 100644 --- a/dev-python/pyproject-metadata/Manifest +++ b/dev-python/pyproject-metadata/Manifest @@ -1 +1,2 @@ DIST pyproject-metadata-0.7.1.gh.tar.gz 14138 BLAKE2B 901e0b0b07d035ee220cfdba840a2b05ec1b1dfa3184ab614621c462b049bdbe484aa2d9abc42a54964c163d360028a00ff1db2c502504d11fb6d2837bd60552 SHA512 a4cb97b6646b765016f047f8d3da388ab758dbf8acf5a8ee6ccb017c764a90c069e04effbef21f878be7f4b01a5090f24252372300ce7e3a0410a6eea5d98b66 +DIST pyproject_metadata-0.8.0rc1.tar.gz 14781 BLAKE2B 38489f2b927ac3e65221be56b76dc8742c366776e26edddb29b7dd3e916d6ff342a6e48ac32a1718aecd81b1661cde8dac2c3f474d0de7780b77808c4927ef23 SHA512 d7280eb3537a6a497f09b75edd1c1fe2be8f1d8e0f7289c880e6b73020e73f1b7a8999e9787d88373dbe553d3b5fca054f06a1fac3651c25100bf83b367ec390 diff --git a/dev-python/pyproject-metadata/pyproject-metadata-0.8.0_rc1.ebuild b/dev-python/pyproject-metadata/pyproject-metadata-0.8.0_rc1.ebuild new file mode 100644 index 000000000000..9a56920ce2c2 --- /dev/null +++ b/dev-python/pyproject-metadata/pyproject-metadata-0.8.0_rc1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="PEP 621 metadata parsing" +HOMEPAGE=" + https://github.com/pypa/pyproject-metadata/ + https://pypi.org/project/pyproject-metadata/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + +RDEPEND=" + >=dev-python/packaging-19[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.10) + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild b/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild index 0cd9ef26c4cc..4f765eceb931 100644 --- a/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild +++ b/dev-python/pytest-celery/pytest-celery-0.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/setuptools/setuptools-69.5.1.ebuild b/dev-python/setuptools/setuptools-69.5.1.ebuild index 61af0b9f444a..48473e48e55b 100644 --- a/dev-python/setuptools/setuptools-69.5.1.ebuild +++ b/dev-python/setuptools/setuptools-69.5.1.ebuild @@ -25,11 +25,12 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~ IUSE="test" RESTRICT="!test? ( test )" +# check */_vendor/vendored.txt RDEPEND=" >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-23.2[${PYTHON_USEDEP}] + >=dev-python/packaging-24[${PYTHON_USEDEP}] >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] diff --git a/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild b/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild index d88b8e773d21..2cc23462c856 100644 --- a/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.21.0-r1.ebuild @@ -40,7 +40,7 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" # setuptools is needed for distutils import DEPEND=">=dev-libs/tree-sitter-0.22.1:=" diff --git a/dev-python/validator-collection/validator-collection-1.5.0.ebuild b/dev-python/validator-collection/validator-collection-1.5.0.ebuild index 1009c69b7ada..1ef07e386203 100644 --- a/dev-python/validator-collection/validator-collection-1.5.0.ebuild +++ b/dev-python/validator-collection/validator-collection-1.5.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 |
