summaryrefslogtreecommitdiff
path: root/dev-python/asciimatics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-21 18:00:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-21 18:00:10 +0100
commit265dbe5dbc14c199299496c6db8fce3f76647015 (patch)
treeab18b5617d138f6684566b619405090989d55a2c /dev-python/asciimatics
parent586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff)
gentoo resync : 21.09.2018
Diffstat (limited to 'dev-python/asciimatics')
-rw-r--r--dev-python/asciimatics/Manifest3
-rw-r--r--dev-python/asciimatics/asciimatics-1.10.0.ebuild45
-rw-r--r--dev-python/asciimatics/metadata.xml15
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/asciimatics/Manifest b/dev-python/asciimatics/Manifest
new file mode 100644
index 000000000000..5f7cac660a02
--- /dev/null
+++ b/dev-python/asciimatics/Manifest
@@ -0,0 +1,3 @@
+DIST asciimatics-1.10.0.tar.gz 1536207 BLAKE2B 9a96150d43e4f59932e4a23a9d580698a053b35a6f5ddc9c967e4202ba1e2b0bb181bc88d9382725d2ae4b10241397f421d8e0d9baf1f269cb52977115d47296 SHA512 dbf2d44f5d667e59bbd14db761ad60a482b8afbbc8190248cdd49a8317575194ce9d2127f9275599bca800f1d5bd5e57fed5cd02b28d739c2a203b15ddebce7f
+EBUILD asciimatics-1.10.0.ebuild 1247 BLAKE2B 2d4e9673119cc86726a65915e08db1823e6c4e6c0f517a468571217e9973cadf37e10a4dd6a44591d0356d98b67bdeab7d9ce289468faa9ba08673c0d8b2636d SHA512 290110e9369886fbec9e7fb2373a0d5d02e0814a7f49b9d55f20c5f2616b2b1add0f667a7d6ac4bcdd60a2a69594e5a53eff34c78575e3726d0dd8615b55a987
+MISC metadata.xml 473 BLAKE2B 2916025fe2913a4628af8501e0c906ec58bae5ee38176bbb9ecae7d2d00b24694db8aa8ec59794a65bcee01f31bfa4eee1a5f8063b7e5c729c83e182665602d2 SHA512 8c5d4633c383b369dbba29d1176bf553b09429493b8d7439b338ed6ce52a6eb2d26a9752b1496a89680b53dd47de1b72028b8857f97bfd23bdb0e19b4b34f3d5
diff --git a/dev-python/asciimatics/asciimatics-1.10.0.ebuild b/dev-python/asciimatics/asciimatics-1.10.0.ebuild
new file mode 100644
index 000000000000..7b98702a75ff
--- /dev/null
+++ b/dev-python/asciimatics/asciimatics-1.10.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pythonic library to create text UIs and ASCII art animations"
+HOMEPAGE="https://github.com/peterbrittain/asciimatics"
+SRC_URI="https://github.com/peterbrittain/asciimatics/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+DEPEND="
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/future[${PYTHON_USEDEP}]
+ dev-python/wcwidth[${PYTHON_USEDEP}]
+ dev-python/pyfiglet[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+src_prepare() {
+ sed -i -e "s/use_scm_version.*/version='${PV}',/g;" setup.py || die
+ distutils-r1_src_prepare
+}
+
+python_compile_all() {
+ if use doc; then
+ sed -i -e 's/base_version = .*//g;' doc/source/conf.py || die
+ sed -i -e 's/release = .*//g;' doc/source/conf.py || die
+ sed -i -e 's/version = .*//g;' doc/source/conf.py || die
+ sphinx-build -b html doc/source doc/_build/ || die
+ HTML_DOCS=( doc/_build/. )
+ fi
+}
+
+python_install_all() {
+ use examples && dodoc -r samples
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/asciimatics/metadata.xml b/dev-python/asciimatics/metadata.xml
new file mode 100644
index 000000000000..f5a7fe285636
--- /dev/null
+++ b/dev-python/asciimatics/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="project">
+ <email>python@gentoo.org</email>
+ <name>Gentoo Python Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">peterbrittain/asciimatics</remote-id>
+ </upstream>
+</pkgmetadata>