diff options
Diffstat (limited to 'dev-python/curtsies')
-rw-r--r-- | dev-python/curtsies/Manifest | 1 | ||||
-rw-r--r-- | dev-python/curtsies/curtsies-0.3.4.ebuild | 31 | ||||
-rw-r--r-- | dev-python/curtsies/files/curtsies-0.3.4-typing.patch | 9 |
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/curtsies/Manifest b/dev-python/curtsies/Manifest index 95fb198f4dba..006dde91f835 100644 --- a/dev-python/curtsies/Manifest +++ b/dev-python/curtsies/Manifest @@ -1 +1,2 @@ DIST curtsies-0.3.0.tar.gz 47120 BLAKE2B 51d6bf5686c275690c6b906e7eba642aebd54dccb106463a9b1733e2174fa26a30b8365a17d6cfa18244fb74693364a3aa5184a17f2460425a57fb8912d6bcaf SHA512 b1fc09a4e9aefe09b878a5c710ef86c90f93895a8ed40b40a3c13b24a2dfc1fe771ace11c20e3fed4fcdd0bed8b9615ee3c2bcf200fa34fbfb895a4a7b57b14c +DIST curtsies-0.3.4.tar.gz 52733 BLAKE2B 5345005e1a650fbc94db29464f26c9cc615509a64f6287f3d3c9ca69b063e6adaf6af95e292c1bee3a2290abd6b98cd0dcc3a01405b4ab63ee5db4f8570b6e51 SHA512 5f65af34f6dd13491acf65311516ed90e57d99f681032ab6b4753710953f5285b012a09de6c56d28ccd5bc942c9886076f04287cddf955ba424205a5c44785b2 diff --git a/dev-python/curtsies/curtsies-0.3.4.ebuild b/dev-python/curtsies/curtsies-0.3.4.ebuild new file mode 100644 index 000000000000..b1c99e6f7988 --- /dev/null +++ b/dev-python/curtsies/curtsies-0.3.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Curses-like terminal wrapper, with colored strings" +HOMEPAGE="https://github.com/thomasballinger/curtsies" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/blessings-1.5[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.1.4[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyte[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests nose + +PATCHES=( "${FILESDIR}"/${P}-typing.patch ) diff --git a/dev-python/curtsies/files/curtsies-0.3.4-typing.patch b/dev-python/curtsies/files/curtsies-0.3.4-typing.patch new file mode 100644 index 000000000000..d7488a9b4b31 --- /dev/null +++ b/dev-python/curtsies/files/curtsies-0.3.4-typing.patch @@ -0,0 +1,9 @@ +diff -r -U2 curtsies-0.3.4.orig/setup.py curtsies-0.3.4/setup.py +--- curtsies-0.3.4.orig/setup.py 2020-07-16 03:17:08.000000000 +0700 ++++ curtsies-0.3.4/setup.py 2020-12-01 15:39:28.331241501 +0700 +@@ -27,5 +27,4 @@ + "blessings>=1.5", + "wcwidth>=0.1.4", +- 'typing; python_version<"3.5"', + ], + tests_require=["mock", "pyte", "nose",], |