From 501d96cf256b7aebe5bffbafc5d1df30b447983e Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 31 Dec 2022 21:08:23 +0530 Subject: [PATCH 1/2] New package: python3-cwcwidth-0.1.8 --- srcpkgs/python3-cwcwidth/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-cwcwidth/template diff --git a/srcpkgs/python3-cwcwidth/template b/srcpkgs/python3-cwcwidth/template new file mode 100644 index 00000000000000..d0da829d04083f --- /dev/null +++ b/srcpkgs/python3-cwcwidth/template @@ -0,0 +1,24 @@ +# Template file for 'python3-cwcwidth' +pkgname=python3-cwcwidth +version=0.1.8 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-Cython python3-setuptools python3-wheel" +makedepends="python3-devel" +depends="python3" +checkdepends="python3-pytest" +short_desc="Python bindings for wc(s)width" +maintainer="icp " +license="MIT" +homepage="https://github.com/sebastinas/cwcwidth" +changelog="https://raw.githubusercontent.com/sebastinas/cwcwidth/main/CHANGELOG.md" +distfiles="${PYPI_SITE}/c/cwcwidth/cwcwidth-${version}.tar.gz" +checksum=5adc034b7c90e6a8586bd046bcbf6004e35e16b0d7e31de395513a50d729bbf6 + +pre_check() { + python3 setup.py build_ext --inplace +} + +post_install() { + vlicense LICENSE +} From 017e1cdfe3e4683366bf31079107e0bc51788ce4 Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 31 Dec 2022 21:08:08 +0530 Subject: [PATCH 2/2] python3-curtsies: update to 0.4.1. --- .../python3-curtsies/patches/fix-setup.py.patch | 11 ----------- srcpkgs/python3-curtsies/template | 16 +++++++++------- 2 files changed, 9 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/python3-curtsies/patches/fix-setup.py.patch diff --git a/srcpkgs/python3-curtsies/patches/fix-setup.py.patch b/srcpkgs/python3-curtsies/patches/fix-setup.py.patch deleted file mode 100644 index e182f3bc28de46..00000000000000 --- a/srcpkgs/python3-curtsies/patches/fix-setup.py.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -41,7 +41,7 @@ def get_long_description(): - install_requires = [ - 'blessings>=1.5', - 'wcwidth>=0.1.4', -- 'typing', -+ 'typing;python_version<"3.5"', - ], - tests_require = [ - 'mock', diff --git a/srcpkgs/python3-curtsies/template b/srcpkgs/python3-curtsies/template index 220094840f0983..84b55c9eb5cb01 100644 --- a/srcpkgs/python3-curtsies/template +++ b/srcpkgs/python3-curtsies/template @@ -1,16 +1,18 @@ # Template file for 'python3-curtsies' pkgname=python3-curtsies -version=0.3.0 -revision=6 -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-blessings python3-wcwidth" +version=0.4.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="python3-blessed python3-cwcwidth" +checkdepends="${depends} python3-pyte python3-pytest" short_desc="Curses-like terminal wrapper, with colored strings (Python3)" maintainer="Maurizio Porrato " license="MIT" -homepage="https://github.com/thomasballinger/curtsies" +homepage="https://github.com/bpython/curtsies" +changelog="https://raw.githubusercontent.com/bpython/curtsies/main/CHANGELOG.md" distfiles="${PYPI_SITE}/c/curtsies/curtsies-${version}.tar.gz" -checksum=89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9 +checksum=62d10f349c553845306556a7f2663ce96b098d8c5bbc40daec7a6eedde1622b0 post_install() { vlicense LICENSE