Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wcwidth/
Date: Tue, 02 Jun 2020 06:39:16
Message-Id: 1591079950.d4fb3728f3316254fb6363ee38ac8cde14e1f49a.mgorny@gentoo
1 commit: d4fb3728f3316254fb6363ee38ac8cde14e1f49a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 2 05:45:04 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 06:39:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4fb3728
7
8 dev-python/wcwidth: Bump to 0.2.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wcwidth/Manifest | 1 +
13 dev-python/wcwidth/wcwidth-0.2.2.ebuild | 29 +++++++++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/dev-python/wcwidth/Manifest b/dev-python/wcwidth/Manifest
17 index 5bec98c2b58..ca8a10d4694 100644
18 --- a/dev-python/wcwidth/Manifest
19 +++ b/dev-python/wcwidth/Manifest
20 @@ -1,2 +1,3 @@
21 DIST wcwidth-0.1.8.tar.gz 19957 BLAKE2B dd4ba31bec5161a9509b0ef7e73901c3ff31b2ceedb3d05eeaf85f90c1157e21d00ee8cd0f715098bf65e5d699a40287ce08e235f2f1d22a73f6606f490a921d SHA512 b828450feb56b5c0e686f6922e777ab48d1336816a41ef4ef95f71c25a37ef492861634c16c788e1e4570d21bd4d45c990a18787860ba6043157c2781c78b65e
22 DIST wcwidth-0.1.9.tar.gz 24764 BLAKE2B c7a5a50a8628649810dddd37b1af4c7ea52b2d0d2e516bd24e04675849e6f402e6ef4b7cea0fb507c5446b455d8725f497771bb30cd4d7eafa90cbb6fc2d01b4 SHA512 3aee69efb8714f4426bfd424b80f4f4e5758174d84f725dd0e1448de1b4b4dd385ffd4f72440d5f763b7a82325857e9164742dbb7fa9e15d5db54744c262d0ba
23 +DIST wcwidth-0.2.2.gh.tar.gz 46929 BLAKE2B 8dac0a793417b04aaccd2235bdd3dee30e18b068a41e515934d2e7b6efb354039adba767db011a2782c9e1f5b8d2568f4ef73ae09361bf8f608491d252bccc21 SHA512 e644a8f83ac5974174e7dae35784c4f9310e39fcfd49d98d6da0f59efd19a0734d5c65e252689843346eb6adad62edfef76658648b34779191fbcf0655188d52
24
25 diff --git a/dev-python/wcwidth/wcwidth-0.2.2.ebuild b/dev-python/wcwidth/wcwidth-0.2.2.ebuild
26 new file mode 100644
27 index 00000000000..7f0021a0fad
28 --- /dev/null
29 +++ b/dev-python/wcwidth/wcwidth-0.2.2.ebuild
30 @@ -0,0 +1,29 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Measures number of Terminal column cells of wide-character codes"
41 +HOMEPAGE="https://pypi.org/project/wcwidth/ https://github.com/jquast/wcwidth"
42 +SRC_URI="
43 + https://github.com/jquast/wcwidth/archive/${PV}.tar.gz
44 + -> ${P}.gh.tar.gz"
45 +
46 +SLOT="0"
47 +LICENSE="MIT"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
49 +
50 +distutils_enable_tests pytest
51 +
52 +src_prepare() {
53 + sed -e 's:--cov-append::' \
54 + -e 's:--cov-report=html::' \
55 + -e 's:--cov=wcwidth::' \
56 + -i tox.ini || die
57 + sed -i -e 's:test_package_version:_&:' tests/test_core.py || die
58 + distutils-r1_src_prepare
59 +}