diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest index 9aabed9e04..7a828476be 100644 --- a/dev-python/survey/Manifest +++ b/dev-python/survey/Manifest @@ -1,2 +1,3 @@ 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 +DIST survey-5.2.0.gh.tar.gz 1564637 BLAKE2B 7e08c24515ce45ddd3630bbb6d182ec5d27bf80fbd54d6b64c6d9a24da0ab6bc54f74ebad74156622736790b6c45810f949d760ec4a4e32e399f297ff3a64722 SHA512 1d822e0597d96a5054547fc41b2a0d480dfe4939945a6fe3206a066b61ae0448c9ff898c251a271f281c97d54d456389df60cb09a9521d5d94a1e1407af4beb7 diff --git a/dev-python/survey/survey-5.2.0.ebuild b/dev-python/survey/survey-5.2.0.ebuild new file mode 100644 index 0000000000..def53569b6 --- /dev/null +++ b/dev-python/survey/survey-5.2.0.ebuild @@ -0,0 +1,33 @@ +# 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..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" +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} +}