summaryrefslogtreecommitdiff
path: root/dev-python/ansimarkup
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
commiteab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (patch)
treece35c6d01b5ff5de95c3a20fef853b9a6518ad2e /dev-python/ansimarkup
parentb7ebc951da8800f711142f69d9d958bde67a112d (diff)
gentoo resync : 04.05.2019
Diffstat (limited to 'dev-python/ansimarkup')
-rw-r--r--dev-python/ansimarkup/Manifest3
-rw-r--r--dev-python/ansimarkup/ansimarkup-1.4.0.ebuild33
-rw-r--r--dev-python/ansimarkup/metadata.xml15
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/ansimarkup/Manifest b/dev-python/ansimarkup/Manifest
new file mode 100644
index 000000000000..4a498fbcd4bb
--- /dev/null
+++ b/dev-python/ansimarkup/Manifest
@@ -0,0 +1,3 @@
+DIST ansimarkup-1.4.0.tar.gz 12533 BLAKE2B b43b1dd0d8fb950866a313b7f8bb0fe44f983aae1c8e5cbca95aad7b77ff7563e04e019622a3531228a891c6c8c16bc8d9ddbb55e9d418d8055f3eda41ce0866 SHA512 c397201f7789cbdec0d4e32ac5a4e1f130deb329535303538b48136381e7217ed7e80fe4eb586c6e2a30dc9848813c7d43bb01c0a2a6a4a29e14842bf4540c4e
+EBUILD ansimarkup-1.4.0.ebuild 718 BLAKE2B 0ffb23b594f642e81f02759cdee5407aae453617b5a34c6cdec3f2af140d6a0d421e78595d0316f419adbddbe0aa0a8a99308dc6143fb71ddf83431b79ff8fd5 SHA512 4095c9234923833f42b8a000a3b6fca9e2652fbc4c1c3df9c0fc017608e589a2204b9d8428cf52d772e5955b9a216fa31cb56507c085aa107abc9c5831e1bece
+MISC metadata.xml 493 BLAKE2B e57eaec5f0bda792267ee5cce190f2b1f7f1017bf5e28e28051f947143cfb9f9173311e57e9f6d490f3a59908bf0af11378f394f4c8edf2cc78466758753db57 SHA512 3c9c292a3e84dfa535eb062e3f71b0d3a8b374dae7810129473abc3f801937c2e09b489ac2f0fc66103ed4da110df661570ab8f0d9f8857f938d97d443af6793
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>