dev-python/survey: add 5.1.0_alpha

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu 2023-11-29 09:51:54 +02:00
parent 9184ce0b23
commit 3c9c05f744
No known key found for this signature in database
GPG Key ID: 0CE5A97D9310DAB0
2 changed files with 33 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST survey-4.5.4.tar.gz 831109 BLAKE2B 00065211437f4c6c820aca5c511395625da7be9415218d6261005aff946b19a3e65cc31189a6aef755ed88ce81f309ac2eabe23ea7f1e2f359007b4fe9172f96 SHA512 045989ca95e3fa9a840ad8d37a040f46bf3f22a858dd7b826fecf88d4e53b6b14e285ef3bf266add496da2d5ffd58971c2456b4375362e24c1a071fc910a03f4 DIST survey-4.5.4.tar.gz 831109 BLAKE2B 00065211437f4c6c820aca5c511395625da7be9415218d6261005aff946b19a3e65cc31189a6aef755ed88ce81f309ac2eabe23ea7f1e2f359007b4fe9172f96 SHA512 045989ca95e3fa9a840ad8d37a040f46bf3f22a858dd7b826fecf88d4e53b6b14e285ef3bf266add496da2d5ffd58971c2456b4375362e24c1a071fc910a03f4
DIST survey-5.1.0_alpha.gh.tar.gz 1564669 BLAKE2B 60a98bdf5bb04c5996f45b61b2a88c95a8cc1ba4bee8dedc560acc5d41bcd14540636991042d13b5450f21160e28fd34f69ab06c86f22543e09cfb4bf2b09b69 SHA512 df1edc0db49119fc0eb832d9744834005ebcecad1eb42275b19f917ff90b4a5b7087a596cffdfa11748b8a0ec3b1ab1f3e3251259bbeff0ce238e3069ad4adc1

View File

@ -0,0 +1,32 @@
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
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"
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}
}