summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-12-18 20:35:23 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-01-16 10:33:30 +0200
commit5cb2baa7167d750765c11d3750f82040b3bf43a6 (patch)
treed55ee09e43521ac2b57816552e1273e8e95e75b7 /dev-python/cleo
parentdev-python/clikit: Python utilities for building CLIs (diff)
downloadgentoo-5cb2baa7167d750765c11d3750f82040b3bf43a6.tar.gz
gentoo-5cb2baa7167d750765c11d3750f82040b3bf43a6.tar.bz2
gentoo-5cb2baa7167d750765c11d3750f82040b3bf43a6.zip
dev-python/cleo: High level wrapper for dev-python/clikit
* Dependency of dev-python/pendulum and dev-python/pytzdata Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/cleo')
-rw-r--r--dev-python/cleo/Manifest1
-rw-r--r--dev-python/cleo/cleo-0.8.1.ebuild24
-rw-r--r--dev-python/cleo/metadata.xml15
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/cleo/Manifest b/dev-python/cleo/Manifest
new file mode 100644
index 000000000000..86a6d75da698
--- /dev/null
+++ b/dev-python/cleo/Manifest
@@ -0,0 +1 @@
+DIST cleo-0.8.1.tar.gz 96220 BLAKE2B 57971f6254a31ecf5101d89e96607b5915ab5138d727279d445172b89a10acd6b76619d344973fa2bdbc320866fa1dbdf05c889f4eca879839fa6bcbbad0af7c SHA512 9cd470063db9866a526f0bb8619d772c585377d5b1a662e0f94bad9fb9c853598b176444ca1ac0fadec82992196c471646504d6a28d4dcd1171433b8d160be9c
diff --git a/dev-python/cleo/cleo-0.8.1.ebuild b/dev-python/cleo/cleo-0.8.1.ebuild
new file mode 100644
index 000000000000..ad30c3338c20
--- /dev/null
+++ b/dev-python/cleo/cleo-0.8.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{6..9} )
+inherit distutils-r1
+
+DESCRIPTION="Python tool for building testable command-line interfaces"
+HOMEPAGE="https://github.com/sdispater/cleo"
+SRC_URI="https://github.com/sdispater/cleo/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/clikit[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
diff --git a/dev-python/cleo/metadata.xml b/dev-python/cleo/metadata.xml
new file mode 100644
index 000000000000..3aeda27fde98
--- /dev/null
+++ b/dev-python/cleo/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jakov.smolic@sartura.hr</email>
+ <name>Jakov Smolic</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sdispater/cleo</remote-id>
+ </upstream>
+</pkgmetadata>