From 544cc3f236459d489d2b097b8d377d52d75dd9f3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 21 Oct 2023 14:48:02 +0100 Subject: dev-python/typer : revision bump, tests pass with dev-python/click-8.1.x --- dev-python/click/Manifest | 1 - dev-python/click/click-8.0.4.ebuild | 38 ---------------------------------- dev-python/typer/typer-0.9.0-r1.ebuild | 32 ++++++++++++++++++++++++++++ dev-python/typer/typer-0.9.0.ebuild | 33 ----------------------------- 4 files changed, 32 insertions(+), 72 deletions(-) delete mode 100644 dev-python/click/Manifest delete mode 100644 dev-python/click/click-8.0.4.ebuild create mode 100644 dev-python/typer/typer-0.9.0-r1.ebuild delete mode 100644 dev-python/typer/typer-0.9.0.ebuild (limited to 'dev-python') diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest deleted file mode 100644 index c1c0e1da..00000000 --- a/dev-python/click/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST click-8.0.4.gh.tar.gz 332977 BLAKE2B 71366fa8436fb6997675ecb84d98f43b40a646466f0f9f7a51f145bd6a41950836df30a545e50ab6166f3643766c994f5a636b9a2b6e0a700eec04d377aced25 SHA512 2a572863814ef4f79ee408d4aa8df30a15b958986c4615e13bdeab30b4847679330e1b3baeeeff1aa80464a08418400c7a1ff22f29db4fc8d8042ab7b1ba475c diff --git a/dev-python/click/click-8.0.4.ebuild b/dev-python/click/click-8.0.4.ebuild deleted file mode 100644 index db277075..00000000 --- a/dev-python/click/click-8.0.4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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 - -DESCRIPTION="A Python package for creating beautiful command line interfaces" -HOMEPAGE=" - https://palletsprojects.com/p/click/ - https://github.com/pallets/click/ - https://pypi.org/project/click/ -" -SRC_URI=" - https://github.com/pallets/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="examples" - -distutils_enable_sphinx docs \ - '>=dev-python/docutils-0.14' \ - dev-python/pallets-sphinx-themes \ - dev-python/sphinxcontrib-log-cabinet \ - dev-python/sphinx-issues \ - dev-python/sphinx-tabs -distutils_enable_tests pytest - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/typer/typer-0.9.0-r1.ebuild b/dev-python/typer/typer-0.9.0-r1.ebuild new file mode 100644 index 00000000..76a4bb7f --- /dev/null +++ b/dev-python/typer/typer-0.9.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2016-2023 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=flit + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints" +HOMEPAGE="https://typer.tiangolo.com/" +SRC_URI="https://github.com/tiangolo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all +} diff --git a/dev-python/typer/typer-0.9.0.ebuild b/dev-python/typer/typer-0.9.0.ebuild deleted file mode 100644 index e3a2383f..00000000 --- a/dev-python/typer/typer-0.9.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 2016-2023 Redcore Linux Project -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -DISTUTILS_USE_PEP517=flit - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints" -HOMEPAGE="https://typer.tiangolo.com/" -SRC_URI="https://github.com/tiangolo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="" - -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] -" -RDEPEND=" - =dev-python/click-8.0.0[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_install_all() { - distutils-r1_python_install_all -} -- cgit v1.2.3