summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-12 06:46:51 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-12 07:05:20 +0200
commitc73082ef11e3856326418796565ad2826fc99fa2 (patch)
treee0a74918e4026f9ae386461c555b0f3c2c1066df /dev-python
parent6c42e12c0e2e8ee49874b9f03e792d390640f1f0 (diff)
downloadgentoo-c73082ef11e3856326418796565ad2826fc99fa2.tar.gz
gentoo-c73082ef11e3856326418796565ad2826fc99fa2.tar.bz2
gentoo-c73082ef11e3856326418796565ad2826fc99fa2.zip
dev-python/cons: Bump to 0.4.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cons/Manifest1
-rw-r--r--dev-python/cons/cons-0.4.7.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/cons/Manifest b/dev-python/cons/Manifest
index 7c99c719009c..3933786cca70 100644
--- a/dev-python/cons/Manifest
+++ b/dev-python/cons/Manifest
@@ -1 +1,2 @@
DIST cons-0.4.6.gh.tar.gz 40414 BLAKE2B 5d234ed77d44f0b892c3cc8fc4816a4cc1ca5cca36501adca8cbc84a48dff320c3ea45555aaa2203d1ed5072e74404e62184f000db393c155b008943990b7df3 SHA512 195a2e23a6ee37aba1cc34c0f26a2b55f86948c4a2eb5dab50b9b917bdee97bbb53562830c75184c8483260ba9bc9352d1430f99937aa29156cbf3ce2fb0254b
+DIST cons-0.4.7.gh.tar.gz 17476 BLAKE2B 5a2e5487f4ce12249d620a0cf396c30957edca7f4aff33e8ee9e5e52584365480155666f64738075acd415658b2f916183075374afdda9d7c2b8a8c72d8be388 SHA512 710711757a2a705c66c0cabae30f462c1dc1934f6b318af0a6298a2ed15c50310d7037c152f6edf6bb8082d5a72b29816a0b83d6750f1d661b7d7b1b19b55459
diff --git a/dev-python/cons/cons-0.4.7.ebuild b/dev-python/cons/cons-0.4.7.ebuild
new file mode 100644
index 000000000000..eeb3aeae8d40
--- /dev/null
+++ b/dev-python/cons/cons-0.4.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Implementation of Lisp/Scheme-like cons in Python"
+HOMEPAGE="
+ https://pypi.org/project/cons/
+ https://github.com/pythological/python-cons/
+"
+SRC_URI="
+ https://github.com/pythological/python-cons/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/python-${P}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+
+RDEPEND="
+ dev-python/logical-unification[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}