diff options
Diffstat (limited to 'dev-python/blessed')
-rw-r--r-- | dev-python/blessed/Manifest | 2 | ||||
-rw-r--r-- | dev-python/blessed/blessed-1.18.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest index 47183dfbb9f2..23f3c6a60591 100644 --- a/dev-python/blessed/Manifest +++ b/dev-python/blessed/Manifest @@ -1,5 +1,7 @@ DIST blessed-1.17.11.tar.gz 6697714 BLAKE2B a181fac1675b0e06bca54346bd6eea4032fde739888d36a7ec51afbe899e5cc71ad924b6bae45777d9b56567da1771f89d451760ec2b62abaf10f6235c69a66f SHA512 51e627f27aea0082fc93a4b1d10043b1152ae8b625dbb6c73f75e993f8eebc41ed1d8e64667de28afbc4606d066a90dd4c69c79fbed7b5b928d126efd3fbac22 DIST blessed-1.17.12.tar.gz 6697754 BLAKE2B 0ae89a587a34936b31114e4bdf77effc51e0ad01b31f3b7e037fe96a44bbfecf1e2f64495d09e2627343f8021116ba1a2d6bccdaac7998b978aebc54e60a7a13 SHA512 134bba81793e8e0e33afcd9daa7453f11857b3207d0427f061ccfc0dd1caa17cff32f84883860f69e2a98ecbb5cc609f2a1091ab7ca8ff42322f6e8466ae06da +DIST blessed-1.18.0.tar.gz 6651519 BLAKE2B e512ae49d19e3db09606e07b6a384683aada3de830e3a8f3e938e088607e4bc33f6b53b3d6477a2b0d4bdeb849fa4cea6eb3b0048294b3a567409a993f46b7dd SHA512 25b0c0c17e82ea975ace3415beb680e7ac917cdd4589ff11f0510067139d2f681316c35a59c7ef9bc5225291cebf6395f0dfc78da8845457ed7cc722ac708bbe EBUILD blessed-1.17.11.ebuild 1314 BLAKE2B a1b546f406873f279efbdc04351e6521413645c5621344f222fa76ce1f90467e18c8465c0f43b90c7f0cb64b22afe30f2db3fa51b9a8ae9fcf45510de26bab8b SHA512 39e94e0eacef7bf98effc3e26eaa37bbf0400c594a33689b94af8b85c095795a3cd2ef01e6dc641a19d4cee3916b1ae5b63ba909edb4ccb285dd7d1ea17f89df EBUILD blessed-1.17.12.ebuild 1314 BLAKE2B a1b546f406873f279efbdc04351e6521413645c5621344f222fa76ce1f90467e18c8465c0f43b90c7f0cb64b22afe30f2db3fa51b9a8ae9fcf45510de26bab8b SHA512 39e94e0eacef7bf98effc3e26eaa37bbf0400c594a33689b94af8b85c095795a3cd2ef01e6dc641a19d4cee3916b1ae5b63ba909edb4ccb285dd7d1ea17f89df +EBUILD blessed-1.18.0.ebuild 1312 BLAKE2B c93dc3aaea9434ab7cbac859356470e3f1ba8d941690d7f5934f8264888819db7c33885295b38c8ba82b9e8870491348fbceb1e1e2992df968b05f31e73c8acb SHA512 bd2808cdc5671c348b909c65321389b9bc3244b1ae401b2ef773a6fb44bbf77d25ef7b1893b5500c70e958b8475d1cb0e175e21b5577418bae1b8454fd63626f MISC metadata.xml 431 BLAKE2B b957fcf973dc786a7358b8554d5969688c86974ad0d304ac752f1f48d246ba955a9acbe4ccedd0a670a3039488c1b9dfc6815b08e08e7085fbef39e62c447f59 SHA512 b962ca5f456fe442dd2d88866d9aec050d0b456b53f22900cda6ec304a055909c0befe2de085775283c9b098fc9d7f53351b9e67d55eeca1744fb09622eebc01 diff --git a/dev-python/blessed/blessed-1.18.0.ebuild b/dev-python/blessed/blessed-1.18.0.ebuild new file mode 100644 index 000000000000..4db2921df380 --- /dev/null +++ b/dev-python/blessed/blessed-1.18.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Library for making terminal apps using colors, keyboard input and positioning" +HOMEPAGE="https://github.com/jquast/blessed" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/wcwidth[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_prepare_all() { + # Skip those extensions as they don't have a Gentoo package + # Remove calls to scripts that generate rst files because they + # are not present in the tarball + sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \ + -e '/^for script in/,/runpy.run_path/d' \ + -i docs/conf.py || die + # Requires pytest-xdist and has no value for us + sed -i '/^looponfailroots =/d' tox.ini || die + distutils-r1_python_prepare_all +} + +python_test() { + # COLORTERM must not be truecolor + # See https://github.com/jquast/blessed/issues/162 + # Ignore coverage options + COLORTERM= pytest -vv --override-ini="addopts=" || + die "tests failed with ${EPYTHON}" +} |