diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-04-29 11:59:16 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-04-29 12:37:11 -0700 |
commit | 871f258c971cd701278134f71809dcc87ee9fe47 (patch) | |
tree | c7658a9392040972583987ab92f93da334bee524 /dev-python/ansimarkup | |
parent | dev-python/ipython: remove old (diff) | |
download | gentoo-871f258c971cd701278134f71809dcc87ee9fe47.tar.gz gentoo-871f258c971cd701278134f71809dcc87ee9fe47.tar.bz2 gentoo-871f258c971cd701278134f71809dcc87ee9fe47.zip |
dev-python/ansimarkup: new package
dep for loguru which I'm going to add
Package-Manager: Portage-2.3.65, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-python/ansimarkup')
-rw-r--r-- | dev-python/ansimarkup/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ansimarkup/ansimarkup-1.4.0.ebuild | 33 | ||||
-rw-r--r-- | dev-python/ansimarkup/metadata.xml | 15 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/ansimarkup/Manifest b/dev-python/ansimarkup/Manifest new file mode 100644 index 000000000000..3ceaaf727ddb --- /dev/null +++ b/dev-python/ansimarkup/Manifest @@ -0,0 +1 @@ +DIST ansimarkup-1.4.0.tar.gz 12533 BLAKE2B b43b1dd0d8fb950866a313b7f8bb0fe44f983aae1c8e5cbca95aad7b77ff7563e04e019622a3531228a891c6c8c16bc8d9ddbb55e9d418d8055f3eda41ce0866 SHA512 c397201f7789cbdec0d4e32ac5a4e1f130deb329535303538b48136381e7217ed7e80fe4eb586c6e2a30dc9848813c7d43bb01c0a2a6a4a29e14842bf4540c4e diff --git a/dev-python/ansimarkup/ansimarkup-1.4.0.ebuild b/dev-python/ansimarkup/ansimarkup-1.4.0.ebuild new file mode 100644 index 000000000000..4d836ae349e8 --- /dev/null +++ b/dev-python/ansimarkup/ansimarkup-1.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +inherit distutils-r1 + +DESCRIPTION="XML-like markup for producing colored terminal text" +HOMEPAGE="https://github.com/gvalkov/python-ansimarkup" +SRC_URI="https://github.com/gvalkov/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/python-${P}" + +python_test() { + pytest -v || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/ansimarkup/metadata.xml b/dev-python/ansimarkup/metadata.xml new file mode 100644 index 000000000000..921967b4c0a0 --- /dev/null +++ b/dev-python/ansimarkup/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>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <longdescription lang="en"> + XML-like markup for producing colored terminal text + </longdescription> + <upstream> + <remote-id type="github">gvalkov/python-ansimarkup/</remote-id> + <remote-id type="pypi">ansimarkup</remote-id> + </upstream> +</pkgmetadata> |