mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
dev-python/asciimatics: New package
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
This commit is contained in:
39
dev-python/asciimatics/asciimatics-9999.ebuild
Normal file
39
dev-python/asciimatics/asciimatics-9999.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Package for curses-like operations, text UIs and ASCII art animations"
|
||||
HOMEPAGE="https://pypi.org/project/asciimatics/ https://github.com/peterbrittain/asciimatics"
|
||||
|
||||
if [[ "${PV}" == 9999 ]]
|
||||
then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/peterbrittain/asciimatics.git"
|
||||
else
|
||||
SRC_URI="https://github.com/peterbrittain/asciimatics/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyfiglet-0.7.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-2.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/wcwidth[${PYTHON_USEDEP}]
|
||||
dev-python/future[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests nose
|
||||
Reference in New Issue
Block a user