summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-29 09:35:32 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-29 10:00:13 +0100
commit9e1970fa2b621b95538d3e0e0a3a2160fdac464c (patch)
tree60820543a4951be2250417b6740a927b8e67ffc8 /dev-python/cwcwidth
parentdev-python/path-py: Bump to 15.1.0 (diff)
downloadgentoo-9e1970fa2b621b95538d3e0e0a3a2160fdac464c.tar.gz
gentoo-9e1970fa2b621b95538d3e0e0a3a2160fdac464c.tar.bz2
gentoo-9e1970fa2b621b95538d3e0e0a3a2160fdac464c.zip
dev-python/cwcwidth: Bump to 0.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cwcwidth')
-rw-r--r--dev-python/cwcwidth/Manifest1
-rw-r--r--dev-python/cwcwidth/cwcwidth-0.1.2.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/cwcwidth/Manifest b/dev-python/cwcwidth/Manifest
index 62c9509edadf..3c0b35ee10af 100644
--- a/dev-python/cwcwidth/Manifest
+++ b/dev-python/cwcwidth/Manifest
@@ -1 +1,2 @@
DIST cwcwidth-0.1.1.gh.tar.gz 9054 BLAKE2B fb907d467a143851cc000061f9787f032788d7b684307341208ed498ade160bcd01d372ee2281fde7d1e1561aaa309d6d0bf9b776abaaef042f8b22e9df8d948 SHA512 b025af3a21d22634fe154f32fdbf380eb56d085e247147b2d0031ca36ef9d8de68aaae8133e611ec3bb36e2bc69f384e3dc23654abde2cb8b715305ba26cb66d
+DIST cwcwidth-0.1.2.gh.tar.gz 9490 BLAKE2B 3bb2e918361eef7887ec3684ad1414a0db109326f435e61fb1e00a52edbda8a6575bc748dc40967c861c08b5707d7389877a87cadf5ae6af9244e86b156eca1b SHA512 897eae8369bbfd52894f3dbd488c0987298ba9a928739c9ecd711a55e189accf3ec0b6c0e4db9458bb363e71cb0804bf97eb9118509a5d8da5b6bd02fde177a2
diff --git a/dev-python/cwcwidth/cwcwidth-0.1.2.ebuild b/dev-python/cwcwidth/cwcwidth-0.1.2.ebuild
new file mode 100644
index 000000000000..fc41a3538ac6
--- /dev/null
+++ b/dev-python/cwcwidth/cwcwidth-0.1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for wc(s)width"
+HOMEPAGE="
+ https://github.com/sebastinas/cwcwidth/
+ https://pypi.org/project/cwcwidth/"
+SRC_URI="
+ https://github.com/sebastinas/cwcwidth/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]"
+
+distutils_enable_tests unittest
+
+src_test() {
+ cd tests || die
+ distutils-r1_src_test
+}