diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest index e1ee26492c..9aabed9e04 100644 --- a/dev-python/survey/Manifest +++ b/dev-python/survey/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/survey/survey-5.1.0_alpha.ebuild b/dev-python/survey/survey-5.1.0_alpha.ebuild new file mode 100644 index 0000000000..7d01432b75 --- /dev/null +++ b/dev-python/survey/survey-5.1.0_alpha.ebuild @@ -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} +}