diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-02 07:45:04 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-02 08:39:10 +0200 |
commit | d4fb3728f3316254fb6363ee38ac8cde14e1f49a (patch) | |
tree | 8670745d1add957a049726b87d4c79cbd8b49964 /dev-python/wcwidth | |
parent | dev-python/waitress: Bump to 1.4.4 (diff) | |
download | gentoo-d4fb3728f3316254fb6363ee38ac8cde14e1f49a.tar.gz gentoo-d4fb3728f3316254fb6363ee38ac8cde14e1f49a.tar.bz2 gentoo-d4fb3728f3316254fb6363ee38ac8cde14e1f49a.zip |
dev-python/wcwidth: Bump to 0.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/wcwidth')
-rw-r--r-- | dev-python/wcwidth/Manifest | 1 | ||||
-rw-r--r-- | dev-python/wcwidth/wcwidth-0.2.2.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/wcwidth/Manifest b/dev-python/wcwidth/Manifest index 5bec98c2b580..ca8a10d4694f 100644 --- a/dev-python/wcwidth/Manifest +++ b/dev-python/wcwidth/Manifest @@ -1,2 +1,3 @@ DIST wcwidth-0.1.8.tar.gz 19957 BLAKE2B dd4ba31bec5161a9509b0ef7e73901c3ff31b2ceedb3d05eeaf85f90c1157e21d00ee8cd0f715098bf65e5d699a40287ce08e235f2f1d22a73f6606f490a921d SHA512 b828450feb56b5c0e686f6922e777ab48d1336816a41ef4ef95f71c25a37ef492861634c16c788e1e4570d21bd4d45c990a18787860ba6043157c2781c78b65e DIST wcwidth-0.1.9.tar.gz 24764 BLAKE2B c7a5a50a8628649810dddd37b1af4c7ea52b2d0d2e516bd24e04675849e6f402e6ef4b7cea0fb507c5446b455d8725f497771bb30cd4d7eafa90cbb6fc2d01b4 SHA512 3aee69efb8714f4426bfd424b80f4f4e5758174d84f725dd0e1448de1b4b4dd385ffd4f72440d5f763b7a82325857e9164742dbb7fa9e15d5db54744c262d0ba +DIST wcwidth-0.2.2.gh.tar.gz 46929 BLAKE2B 8dac0a793417b04aaccd2235bdd3dee30e18b068a41e515934d2e7b6efb354039adba767db011a2782c9e1f5b8d2568f4ef73ae09361bf8f608491d252bccc21 SHA512 e644a8f83ac5974174e7dae35784c4f9310e39fcfd49d98d6da0f59efd19a0734d5c65e252689843346eb6adad62edfef76658648b34779191fbcf0655188d52 diff --git a/dev-python/wcwidth/wcwidth-0.2.2.ebuild b/dev-python/wcwidth/wcwidth-0.2.2.ebuild new file mode 100644 index 000000000000..7f0021a0fad2 --- /dev/null +++ b/dev-python/wcwidth/wcwidth-0.2.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} 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 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:--cov-append::' \ + -e 's:--cov-report=html::' \ + -e 's:--cov=wcwidth::' \ + -i tox.ini || die + sed -i -e 's:test_package_version:_&:' tests/test_core.py || die + distutils-r1_src_prepare +} |