Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Python3 curtsies
Date: Sat, 31 Dec 2022 20:47:49 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41387@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-curtsies
https://github.com/void-linux/void-packages/pull/41387

Python3 curtsies
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/41387.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-curtsies-41387.patch --]
[-- Type: text/x-diff, Size: 3548 bytes --]

From d5cc3bf1ff809a12550dec70d23b894528b21a20 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
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 000000000000..befdfd1cb918
--- /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 <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/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 ddcfad571b8f849a15d0ce8dba9d535e8a1f7beb Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
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 e182f3bc28de..000000000000
--- 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 220094840f09..ff17201136ba 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 <maurizio.porrato@gmail.com>"
 license="MIT"
-homepage="https://github.com/thomasballinger/curtsies"
+homepage="https://pypi.org/project/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

             reply	other threads:[~2022-12-31 19:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-31 19:47 icp1994 [this message]
2023-01-21 19:26 ` [PR REVIEW] python3-curtsies: update to 0.4.1 ahesford
2023-01-21 19:26 ` ahesford
2023-01-21 20:04 ` icp1994
2023-01-22  1:56 ` ahesford
2023-01-22 13:22 ` [PR PATCH] [Updated] " icp1994
2023-04-23  1:59 ` github-actions
2023-05-08  1:53 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41387@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).