commit: b2febf1e15af6e4addb114935df3914d6a7e4fb7 Author: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com> AuthorDate: Mon Nov 16 18:41:57 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Nov 16 18:41:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b2febf1e
dev-python/asciimatics: Version bump 1.12.0 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com> dev-python/asciimatics/Manifest | 1 + dev-python/asciimatics/asciimatics-1.12.0.ebuild | 36 ++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/asciimatics/Manifest b/dev-python/asciimatics/Manifest index 55539fd9..0865dbff 100644 --- a/dev-python/asciimatics/Manifest +++ b/dev-python/asciimatics/Manifest @@ -1 +1,2 @@ DIST asciimatics-1.11.0.tar.gz 1544889 BLAKE2B 98492a3bef25331daf085bfd93e17a244cd70939d06ead1c4e6dfa546411e268b7c278b7e05046c42d59faf35d85c6c584663aac3566ef82e682740f9fa67fa4 SHA512 7703e29955c984cb091a1cfda01abf31ad108da0488d0dd1c941593689cc4ebb899565471d5d4396b910a9770e640e0cba835c4dac203bd1c4a853ce7dcaacbc +DIST asciimatics-1.12.0.tar.gz 1569408 BLAKE2B ee8071e3f49c05adfe70fb41a91cd422ed92aac51fb8c7f05b22e62f543d5a6a9a382fe4bfc7e9ae9220264303879c722e467d74a3134df66a3f762eea63af9e SHA512 9c7e18079b5560256bc93c39d41852878b2e57ccadb515563ff5eaea0234fae77e5494e4bd6ef3ac5ab386cd49cc96f6c56336c8f9fa4321592d23eb3c857812 diff --git a/dev-python/asciimatics/asciimatics-1.12.0.ebuild b/dev-python/asciimatics/asciimatics-1.12.0.ebuild new file mode 100644 index 00000000..5121dfe9 --- /dev/null +++ b/dev-python/asciimatics/asciimatics-1.12.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_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 test" + +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}] +" + +src_prepare() { + default + sed -i -e "s/use_scm_version={/\0'fallback_version': '${PV}',/" setup.py +}
