commit: 2c617edb4d29e146c643e311e612defed8609075
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 26 16:00:34 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Feb 26 16:00:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c617edb
dev-python/survey: add 5.2.4
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
dev-python/survey/Manifest | 1 +
dev-python/survey/survey-5.2.4.ebuild | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/dev-python/survey/Manifest b/dev-python/survey/Manifest
index af56df7f04..dc6d583544 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.2.3.gh.tar.gz 1564807 BLAKE2B
530f023e1aac4adba07edc023ec7c18a775dd937bd627ce88ee27cac2f8f6e66f4c6bc22618c05e3ed56e17b501c84a2a6f6ee9c833bb7fa44c3ccec533ba515
SHA512
6dac211e031630631b7389da29747383bc2d508678ebbc99ae61482719733baf133ea10a20c6e0a80f2486dd72a1b3e17d221ce28e5ea22e4303b102350c8229
+DIST survey-5.2.4.gh.tar.gz 1564805 BLAKE2B
2a2147edc00905c85cabccbd5b868927f15002ec4231af6f7a4f62d042791e3c32828b07a9d689de86ed02e7a7e3737f725820ac50360895c2d214cc59db09ce
SHA512
3552f87d519b619524db7cdcd2aa4f510a6de348ca406ec6e1c286ed82c8652de53ed8ce3725d1c6b1f8439c2c8d517822fafe4438a1f02c56e28487c79f043e
diff --git a/dev-python/survey/survey-5.2.4.ebuild
b/dev-python/survey/survey-5.2.4.ebuild
new file mode 100644
index 0000000000..5d68e2cb2b
--- /dev/null
+++ b/dev-python/survey/survey-5.2.4.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}
+}