From 172f211c978ad5a44d673a147d1db4bb4677d60d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Sep 2023 11:37:12 +0100 Subject: gentoo auto-resync : 29:09:2023 - 11:37:12 --- dev-python/wcwidth/Manifest | 2 ++ dev-python/wcwidth/wcwidth-0.2.7.ebuild | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-python/wcwidth/wcwidth-0.2.7.ebuild (limited to 'dev-python/wcwidth') diff --git a/dev-python/wcwidth/Manifest b/dev-python/wcwidth/Manifest index 8f477241f7fc..0363dabdb4f8 100644 --- a/dev-python/wcwidth/Manifest +++ b/dev-python/wcwidth/Manifest @@ -1,3 +1,5 @@ DIST wcwidth-0.2.6.gh.tar.gz 51990 BLAKE2B 8561e06aaf92f48246bacfb4012358067d81d4d9eeb33a0406eb012b5c22841ac66ff5760df2d5ea6a5d48a1880b4b9cbbcddf7a5eba5f663f6a559005f657ad SHA512 1f97cb6ef6a804da1d062b8dafb146a3e21261e63a644bad88bed74101be1371c753c2645db5ad25868fe9641fce9b13bd5dc920496b00e1d73d406f69631ac9 +DIST wcwidth-0.2.7.gh.tar.gz 54601 BLAKE2B 5ffd919e38c1e6f160e4c5ac007c42635d93fb9300338f51928db8bf19c25fc4ac6624e8633d2166435878090a130ea2cd2a0b854db10519983f0fe4d0307a6d SHA512 3044d66bd97b05904766fa29fe3c66599767bf79361081a55f4e605f2015c990b0f1934ae875f853f4f6e8acbef1f6a56492ba63eda5b5a14dd83d0cc34588d2 EBUILD wcwidth-0.2.6.ebuild 907 BLAKE2B 0ded135617ee71016cc0d517cb335ad8e6a8d317a9610acc88d2a21b2348013d95e8bca15eee65e01c23ba5351e88f8c2381954c5cf72ec7a227224ece0903f9 SHA512 af7404999efa015f7855be37939cfb8a1d21d3fbf31dc682f65d397c7a8d189ee8e0697e9eabe4e5963a8cd8fd16aac84531ace1d17182fcf3040237da7528cf +EBUILD wcwidth-0.2.7.ebuild 915 BLAKE2B c8c07ab575c66360a703df3bdb507286be84cfd60509ffffe01148c646e8cfc0698e751964b36ffae726a5305bf50e298fdf2b56d3ba07d003394f561b4eeb10 SHA512 2fac44cbe22051fff219f7786b1a3aa8926a833bd3c1ddd54373063ff5bc3233099e5bd521cf4133fd4c64f03dcef96babf46ce42e27f07f7fdd577e33787848 MISC metadata.xml 402 BLAKE2B 86714d496f80fe46cb313bed026135b2712ddfb47fea5994d0021516aa6ad28eb5fc52d37b37a7a224ec0613681b27ee039f4ac734430d94aafe4ec8946cecc7 SHA512 85c0e684f66a5582ca63d6f72c4e69101e8ec30f8e03c52e972fa36a2e6b6d2a8f019fb33a1e39e73fb37de25c82b906b18ac626afdd0a93d97db2ddcf485063 diff --git a/dev-python/wcwidth/wcwidth-0.2.7.ebuild b/dev-python/wcwidth/wcwidth-0.2.7.ebuild new file mode 100644 index 000000000000..13a48660e0ef --- /dev/null +++ b/dev-python/wcwidth/wcwidth-0.2.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Measures number of Terminal column cells of wide-character codes" +HOMEPAGE=" + https://pypi.org/project/wcwidth/ + https://github.com/jquast/wcwidth/ +" +SRC_URI=" + https://github.com/jquast/wcwidth/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:--cov-append::' \ + -e 's:--cov-report=html::' \ + -e 's:--cov=wcwidth::' \ + -i tox.ini || die + distutils-r1_src_prepare +} + +python_install_all() { + docinto docs + dodoc docs/intro.rst + distutils-r1_python_install_all +} -- cgit v1.2.3