diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-11 06:26:34 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-11 06:26:34 +0000 |
| commit | d37d21ba31c71ad8738d32849a5d9d0dd4c20793 (patch) | |
| tree | bbaebd61af92bdf2d6e2825ceb2f9dbb36c7b465 /dev-python | |
| parent | cbad49af4cee2ad0df22314531acd2b077052602 (diff) | |
| download | baldeagleos-repo-d37d21ba31c71ad8738d32849a5d9d0dd4c20793.tar.gz baldeagleos-repo-d37d21ba31c71ad8738d32849a5d9d0dd4c20793.tar.xz baldeagleos-repo-d37d21ba31c71ad8738d32849a5d9d0dd4c20793.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
21 files changed, 249 insertions, 73 deletions
diff --git a/dev-python/annotated-types/annotated-types-0.5.0.ebuild b/dev-python/annotated-types/annotated-types-0.5.0.ebuild index f6828f74ba97..78026cf8169d 100644 --- a/dev-python/annotated-types/annotated-types-0.5.0.ebuild +++ b/dev-python/annotated-types/annotated-types-0.5.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~riscv ~x86" BDEPEND=" test? ( diff --git a/dev-python/desktop-notifier/Manifest b/dev-python/desktop-notifier/Manifest index e034c365f440..89a4a1ecaa15 100644 --- a/dev-python/desktop-notifier/Manifest +++ b/dev-python/desktop-notifier/Manifest @@ -1 +1 @@ -DIST desktop-notifier-3.5.4.tar.gz 29763 BLAKE2B 0fdac4d6a52a54720fef43050d9374c6c57c05f270d2ff8adcbf9e8df4b059c10e9820bbf3f00406b7698deaa0b5d353c1c78b937eab7107d24008939809c08f SHA512 bc7f5bd3048489e646f34b8397aa97988ca839424675369157094f84439f9616e4463aee79912f2a74c810b98d0ceed699920748e6af2ef2debd2cd25c039944 +DIST desktop-notifier-3.5.5.tar.gz 29785 BLAKE2B e2da1e2300cc36317da7ed079366488f94de829d55a4cded0f63f74f6f14563231128468a6234f060179e3af15677e6cbe8d1f270d271e96823a46d1009ff01b SHA512 b5cc42fda55719adf7afaae4addc24e5d21638e5b389f9c52c47d7b0daf2b1ed80c989a90d1f53e57edc320cac4af8d46d3dcdee30c499ed6717698af3f1b8e3 diff --git a/dev-python/desktop-notifier/desktop-notifier-3.5.4.ebuild b/dev-python/desktop-notifier/desktop-notifier-3.5.5.ebuild index fecfcc48d43b..49c7cf79e498 100644 --- a/dev-python/desktop-notifier/desktop-notifier-3.5.4.ebuild +++ b/dev-python/desktop-notifier/desktop-notifier-3.5.5.ebuild @@ -28,3 +28,5 @@ RDEPEND=" BDEPEND=" dev-python/build[${PYTHON_USEDEP}] " + +PATCHES=( "${FILESDIR}"/${P}-importlib-resources.patch ) diff --git a/dev-python/desktop-notifier/files/desktop-notifier-3.5.5-importlib-resources.patch b/dev-python/desktop-notifier/files/desktop-notifier-3.5.5-importlib-resources.patch new file mode 100644 index 000000000000..9780c19d89ee --- /dev/null +++ b/dev-python/desktop-notifier/files/desktop-notifier-3.5.5-importlib-resources.patch @@ -0,0 +1,15 @@ +dev-python/importlib-resources has been removed from Gentoo for python > 3.9 + +See also https://github.com/samschott/desktop-notifier/issues/92 + +--- a/src/desktop_notifier/base.py ++++ b/src/desktop_notifier/base.py +@@ -19,7 +19,7 @@ + Sequence, + ) + +-from importlib_resources import files, as_file ++from importlib.resources import files, as_file + + + logger = logging.getLogger(__name__) diff --git a/dev-python/django-extensions/Manifest b/dev-python/django-extensions/Manifest index c67e4bf14a2c..6c4ca8321bfe 100644 --- a/dev-python/django-extensions/Manifest +++ b/dev-python/django-extensions/Manifest @@ -1,3 +1,3 @@ -DIST django-extensions-3.2.1.tar.gz 624971 BLAKE2B ac5c0337b7ea4073b6d51fdf8d8d34ae6a6dd62d30d0abd253e9504eefd70a025e6e39b02cb229f021705ef4c797aa14a84c535d090faf59cc459f855ae91a2c SHA512 570989844035d688684b524abc8a20b6043b7cd76fd14dde6b2efe7e32b295f8f3a39a8ecceaae7c86233a5e56b6a8d33381b8f7aa18f153c2d79d4b007d3e34 -EBUILD django-extensions-3.2.1.ebuild 671 BLAKE2B 4e259b6aaa90caac4d032ea249e3cb7229f8e32d15c4aa36907668a55df7595ce3072dfa31274ebda5743c7ec9a78e717a8e77bd6481db135c18ad03a9c60a77 SHA512 7e4d82baa3a48db145bfe1f571c360cb3eaab32add361ccc7c9991a01082cfed5842b78d0ada770c3432517ac1f7ea9155939ac71fb2a5a8d507984ece5550e2 +DIST django-extensions-3.2.3.tar.gz 277216 BLAKE2B 11c19af65bf40301e7e8b28190983f61b4e8f8f8822e5d83376e04b0da8966168391aebf79cf282f78ed3f67a93270b853e321afba2c5220d01b2b6f0829015a SHA512 b4c575c200a9d0903db34038fd52877dfe2581d4b5c9f98ee0ef191bf4f2c615ba3cd11277a5b6621b4ccba4d3a27286fb3e08fac216d3ee48417583134e899f +EBUILD django-extensions-3.2.3.ebuild 712 BLAKE2B a164432c899e0df9d20ae61cf7018b81711f746397fc5fbd579b357379da7f0d71392662bfe067f525ab82e4c0a032481e7b378537c8571a236b629c5f220636 SHA512 2b83dbf212cbcb211b6286e96f47a23cdc75e53ab30ff1e5dc67addd5fb0097a218f7b578b8f57ca390cb16fa8d2e48ffba734d7a2490b0f967963480082b1fb MISC metadata.xml 494 BLAKE2B c1e2aa014376ffce1e587013b50fe6cf05e61cf02b847da3d3be0de45a56bd50c9ab0f6743c0ea0d6927ffaec16ba38bee6ccba912fe57551cb5d596955172b3 SHA512 a7131301c1d2abecf235a6963bcff0d545ec48b1a8d0d24a4ed80fa20a9f0499442da32ce304f8798698307f970666decb5a91a4407ac66cd5769c35a8ec2500 diff --git a/dev-python/django-extensions/django-extensions-3.2.1.ebuild b/dev-python/django-extensions/django-extensions-3.2.3.ebuild index 59af5e0ba631..667b7f3d3671 100644 --- a/dev-python/django-extensions/django-extensions-3.2.1.ebuild +++ b/dev-python/django-extensions/django-extensions-3.2.3.ebuild @@ -18,13 +18,16 @@ KEYWORDS="~amd64" DEPEND=" >=dev-python/django-3.2[${PYTHON_USEDEP}] + dev-python/pytest-django[${PYTHON_USEDEP}] + dev-python/shortuuid[${PYTHON_USEDEP}] " DOCS=( README.rst CHANGELOG.md ) # TODO: tests -#distutils_enable_tests unittest +#distutils_enable_tests pytest # -#python_test() { -# "${EPYTHON}" -m django test -v2 --settings=tests.testapp.settings || die "Tests fail with ${EPYTHON}" +#src_prepare() { +# sed -i -e 's/--nomigrations .*//' setup.cfg || die +# default #} diff --git a/dev-python/merge3/Manifest b/dev-python/merge3/Manifest new file mode 100644 index 000000000000..e94783501e3c --- /dev/null +++ b/dev-python/merge3/Manifest @@ -0,0 +1 @@ +DIST merge3-0.0.13.gh.tar.gz 15980 BLAKE2B c194573667f9e1f5ad60627a26f90f8c7ff28c160f5c0e9fe3e76e95cea8d0ce17d0d0241a2d20f3169d57ae35cada3dcabc25604331014180cea352e1f0e4cf SHA512 235f5f99c0156511ebe25a7a5568ac10ed26645a395cc464800b1417b1d7655c9de218afbe1c612409608e0d34fafa57ce44de362965d6bd381bf7e45742e9e0 diff --git a/dev-python/merge3/merge3-0.0.13.ebuild b/dev-python/merge3/merge3-0.0.13.ebuild new file mode 100644 index 000000000000..043bdce2dff8 --- /dev/null +++ b/dev-python/merge3/merge3-0.0.13.ebuild @@ -0,0 +1,22 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python implementation of 3-way merge" +HOMEPAGE=" + https://github.com/breezy-team/merge3 + https://pypi.org/project/merge3/ +" +SRC_URI="https://github.com/breezy-team/merge3/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests unittest diff --git a/dev-python/merge3/metadata.xml b/dev-python/merge3/metadata.xml new file mode 100644 index 000000000000..ea8988e8af6a --- /dev/null +++ b/dev-python/merge3/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/mkdocs-ansible/Manifest b/dev-python/mkdocs-ansible/Manifest index df6176d1cb8d..1a4462623a87 100644 --- a/dev-python/mkdocs-ansible/Manifest +++ b/dev-python/mkdocs-ansible/Manifest @@ -1,3 +1 @@ -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 DIST mkdocs-ansible-0.1.6.tar.gz 27829 BLAKE2B ee1248c2301d841876abfde43e0a883d553f7848b9be367634c4332ceccff4f9aa5e22b58c38f997ffc9c861ac36a0b9e40e4ca445aff7dc040f953f83f3fab8 SHA512 96235bc91d86e52781ae190ab6bc83fc086fa5fdd2ecb21a544549bd49d94b0ea99e56956442884930a6d20c975970942ca3bc0c62cee23b17a3884989420672 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 611b6698f322..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_{7,8,9,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 611b6698f322..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_{7,8,9,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..186dcd03e4b9 --- /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_{7,8,9,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 7b78bd0aa665..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_{7,8,9,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/pydantic-core/pydantic-core-2.1.2.ebuild b/dev-python/pydantic-core/pydantic-core-2.1.2.ebuild index 06b117d6058b..975c9a4e760e 100644 --- a/dev-python/pydantic-core/pydantic-core-2.1.2.ebuild +++ b/dev-python/pydantic-core/pydantic-core-2.1.2.ebuild @@ -98,7 +98,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~riscv ~x86" RDEPEND=" >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic/pydantic-2.0.2.ebuild b/dev-python/pydantic/pydantic-2.0.2.ebuild index f6fb1f5cbcb3..2eff481e014c 100644 --- a/dev-python/pydantic/pydantic-2.0.2.ebuild +++ b/dev-python/pydantic/pydantic-2.0.2.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~riscv ~x86" RDEPEND=" >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 38497f7ae21e..676bb4c02d92 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1 +1,2 @@ +DIST pyopencl-2023.1.1.tar.gz 472723 BLAKE2B 4960db0b9096ef624f0459f6711a6d1fc4561599f96c3b01c5efe3c183c8cc4284b63038b2a5e98d43c194a8e5ce3331886f675c0bc5f44073bc353675400985 SHA512 50c23132028bb2c35816b6c83c054eaf929d333fbb172230e0d696a5e6103ad6ee6ccbbbd0b5d3d2d3c5f02505340a885422097eccecb1bf51845658c7938c8f DIST pyopencl-2023.1.tar.gz 472581 BLAKE2B bfa25646b00b8d5c1a2fb7b98c18383e3013b9aa1573dc1bcbc1e056d3bd50d48fb35b7b74c4d87c079fe9334817ff325edd235bdd0de610373850c3ab057773 SHA512 3a6c61715338b31f9e9c3b9c8afe029e63d2689f9d52174c91cfe7383425643b3d08f5c125ab7e24ca776c86ff19d5adb7bfe56f1bd531ba443f99dcf9449244 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..9db88494533c --- /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_{7,8,9,10,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 6c9faf98bda6..09e0e3feaa6e 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/versioneer/versioneer-0.29.ebuild b/dev-python/versioneer/versioneer-0.29.ebuild new file mode 100644 index 000000000000..695e59c914eb --- /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_{7,8,9,10,11} 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 +} |
