summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-12-11 21:49:17 +0200
committerMichał Górny <mgorny@gentoo.org>2021-12-12 00:24:43 +0100
commit6b686b7d0b20cd7f579603c03bffe8e52ff33203 (patch)
tree35bc4843ec69069f26b0ef218d84039fda3aaf6a /dev-python/cons
parentdev-python/logical-unification: new dep of dev-python/cons, add 0.4.4 (diff)
downloadgentoo-6b686b7d0b20cd7f579603c03bffe8e52ff33203.tar.gz
gentoo-6b686b7d0b20cd7f579603c03bffe8e52ff33203.tar.bz2
gentoo-6b686b7d0b20cd7f579603c03bffe8e52ff33203.zip
dev-python/cons: new dep of dev-python/etuples, add 0.4.4
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cons')
-rw-r--r--dev-python/cons/Manifest1
-rw-r--r--dev-python/cons/cons-0.4.4.ebuild26
-rw-r--r--dev-python/cons/metadata.xml13
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/cons/Manifest b/dev-python/cons/Manifest
new file mode 100644
index 000000000000..eec1937712b8
--- /dev/null
+++ b/dev-python/cons/Manifest
@@ -0,0 +1 @@
+DIST cons-0.4.4.gh.tar.gz 37957 BLAKE2B 8256a36f66d1cfbd7464cedad4970945c22776ed893665a5af7c464afb7fd1bb1e8cb74de3e537561c346ad2a93b5ada587171afcda1722dcbe0499224c8ebcd SHA512 dca6ff36a7530c9907387ada1e760eee895829e0cc7da18c03f636bb0ead199260b52b2109f0adae34edcdd6a8fee04dd3d3c92f9e866ca0afbf53074a2b4b7c
diff --git a/dev-python/cons/cons-0.4.4.ebuild b/dev-python/cons/cons-0.4.4.ebuild
new file mode 100644
index 000000000000..bd5f214a30e1
--- /dev/null
+++ b/dev-python/cons/cons-0.4.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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"
+
+RDEPEND="dev-python/logical-unification[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/cons/metadata.xml b/dev-python/cons/metadata.xml
new file mode 100644
index 000000000000..95929d4cf37e
--- /dev/null
+++ b/dev-python/cons/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">cons</remote-id>
+ <remote-id type="github">pythological/python-cons</remote-id>
+ </upstream>
+</pkgmetadata>