From 730ba73aea24d852812b71258a8041ecc5ece2b3 Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Mon, 21 Oct 2024 12:59:08 +0300 Subject: [PATCH] dev-python/survey: add 5.4.2 Signed-off-by: Viorel Munteanu --- dev-python/survey/Manifest | 1 + dev-python/survey/survey-5.4.2.ebuild | 35 +++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 dev-python/survey/survey-5.4.2.ebuild diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest index e525232374..b876e97d6d 100644 --- a/dev-python/survey/Manifest +++ b/dev-python/survey/Manifest @@ -1,2 +1,3 @@ DIST survey-5.3.1.gh.tar.gz 1564902 BLAKE2B de8bafd2fc5a683ca0364f9e1540e177bf2f10344406563ff3ef6723abd2c415517e72ffacccae51e1d69912b966bf678c2abc62b22545f1c5871d4f3459d121 SHA512 383d7339e93760294095881b6ebf3fd00d687210865303aa2c17a51a390f8087b8666364e0ba7b7657e009803665cf02e64f280c8a09a535ce1fa1ebeaafe963 DIST survey-5.4.1.gh.tar.gz 1565370 BLAKE2B 44437bc3b8ef1d37d1df4f802b7d0c25f8a1dda78f34f0b74603d7edf5af25ab2f2a2d503ab3dde1ea8ca94fed387d166b869427ffd9196f399089a160b66fb4 SHA512 9645531ef4e13f56df6a49a857e94bf82077c88ae817e24db1662505bc33c267d5f984733c07e3ff0d6943258b0a7a0b6014a0f72200053f8bef4dcaf7ce590e +DIST survey-5.4.2.gh.tar.gz 1565387 BLAKE2B f2e8542bb43e029ffc59335461f65d5216128273d01ff3237cf828bb5be2aac613b9872a0504186ab30b11d42438e76c16e758960ea39e686b95bfa89faa642d SHA512 3d3bf0911e1ef49814bd040bf01d3ae7024cecb5d0e20e46dcbaf6e1f8896d4cb9eeb9ed1dae7ff3431acfb706a334d6c2afa89d4f1cd9b82661a0defe53803c diff --git a/dev-python/survey/survey-5.4.2.ebuild b/dev-python/survey/survey-5.4.2.ebuild new file mode 100644 index 0000000000..5d68e2cb2b --- /dev/null +++ b/dev-python/survey/survey-5.4.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +inherit distutils-r1 + +DESCRIPTION="A simple library for creating beautiful interactive prompts" +HOMEPAGE=" + https://github.com/Exahilosys/survey + https://pypi.org/project/survey/ +" +MY_PV=${PV/_/-} +SRC_URI="https://github.com/Exahilosys/survey/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-paramlinks \ + dev-python/sphinx-rtd-theme + +src_configure() { + distutils-r1_src_configure + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} +}