Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cppman: update to 0.5.7.
@ 2025-04-16 16:46 meator
  2025-05-17 18:07 ` [PR PATCH] [Closed]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: meator @ 2025-04-16 16:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/meator/void-packages cppman
https://github.com/void-linux/void-packages/pull/55083

cppman: update to 0.5.7.
<!-- Uncomment relevant sections and delete options which are not applicable -->
I am slowly but surely continuing on my mission[^1] to fix all the annoying `SyntaxWarning`s printed by Python packages. This is a juicy one:

```
Byte-compiling python3.13 code for module cppman...
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:47: SyntaxWarning: invalid escape sequence '\['
  '^(.*?)(\[(?:(?:since|until) )?C\+\+\d+\]\s*(,\s*)?)+$', head)
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:115: SyntaxWarning: invalid escape sequence '\s'
  lambda x: re.sub('\s*</span><span>\s*', r', ', x.group(0)), re.S),
usr/lib/python3.13/site-packages/cppman/formatter/tableparser.py:147: SyntaxWarning: invalid escape sequence '\^'
  fd.write('\^%s' % ('|' if i < total - 1 else ''))
usr/lib/python3.13/site-packages/cppman/main.py:126: SyntaxWarning: invalid escape sequence '\.'
  self.add_url_filter('\.(jpg|jpeg|gif|png|js|css|swf|svg)$')
usr/lib/python3.13/site-packages/cppman/main.py:396: SyntaxWarning: invalid escape sequence '\s'
  if re.match("\s*Type\s*", tds[0].get_text()):
usr/lib/python3.13/site-packages/cppman/main.py:399: SyntaxWarning: invalid escape sequence '\s'
  res = re.search('^\s*(\S*)\s+.*$', tds[0].get_text())
usr/lib/python3.13/site-packages/cppman/main.py:417: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:430: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:580: SyntaxWarning: invalid escape sequence '\('
  pat = re.compile('(.*?)(%s)(.*?)( \(.*\))?$' %
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:47: SyntaxWarning: invalid escape sequence '\['
  '^(.*?)(\[(?:(?:since|until) )?C\+\+\d+\]\s*(,\s*)?)+$', head)
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:115: SyntaxWarning: invalid escape sequence '\s'
  lambda x: re.sub('\s*</span><span>\s*', r', ', x.group(0)), re.S),
usr/lib/python3.13/site-packages/cppman/formatter/tableparser.py:147: SyntaxWarning: invalid escape sequence '\^'
  fd.write('\^%s' % ('|' if i < total - 1 else ''))
usr/lib/python3.13/site-packages/cppman/main.py:126: SyntaxWarning: invalid escape sequence '\.'
  self.add_url_filter('\.(jpg|jpeg|gif|png|js|css|swf|svg)$')
usr/lib/python3.13/site-packages/cppman/main.py:396: SyntaxWarning: invalid escape sequence '\s'
  if re.match("\s*Type\s*", tds[0].get_text()):
usr/lib/python3.13/site-packages/cppman/main.py:399: SyntaxWarning: invalid escape sequence '\s'
  res = re.search('^\s*(\S*)\s+.*$', tds[0].get_text())
usr/lib/python3.13/site-packages/cppman/main.py:417: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:430: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:580: SyntaxWarning: invalid escape sequence '\('
  pat = re.compile('(.*?)(%s)(.*?)( \(.*\))?$' %
```

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

[^1]: My PR fixing this issue was merged and released into cppman: https://github.com/aitjcize/cppman/pull/170

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

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

From dfdf918bc1125c824f6ebe60afefaea11cbb41dd Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Wed, 16 Apr 2025 18:42:56 +0200
Subject: [PATCH] cppman: update to 0.5.7.

---
 srcpkgs/cppman/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/cppman/template b/srcpkgs/cppman/template
index 524733390c853d..8cd786935cea25 100644
--- a/srcpkgs/cppman/template
+++ b/srcpkgs/cppman/template
@@ -1,7 +1,7 @@
 # Template file for 'cppman'
 pkgname=cppman
-version=0.5.6
-revision=3
+version=0.5.7
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-BeautifulSoup4 python3-html5lib python3-lxml"
@@ -12,7 +12,7 @@ license="GPL-3.0-or-later"
 homepage="https://github.com/aitjcize/cppman"
 changelog="https://raw.githubusercontent.com/aitjcize/cppman/master/ChangeLog"
 distfiles="https://github.com/aitjcize/cppman/archive/refs/tags/${version}.tar.gz"
-checksum=bfd80bf239e881a79421e8ef50d4365043b18bf13e61f4d7405730bbc92dc407
+checksum=df42088a9c8601289e18589aba3506a803eba8bb31446c183153de6936700526
 
 post_install() {
 	mv ${DESTDIR}/usr/share/bash-completion/completions/cppman{.bash,}

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Closed]: cppman: update to 0.5.7.
  2025-04-16 16:46 [PR PATCH] cppman: update to 0.5.7 meator
@ 2025-05-17 18:07 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2025-05-17 18:07 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

cppman: update to 0.5.7.
https://github.com/void-linux/void-packages/pull/55083

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
I am slowly but surely continuing on my mission[^1] to fix all the annoying `SyntaxWarning`s printed by Python packages. This is a juicy one:

```
Byte-compiling python3.13 code for module cppman...
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:47: SyntaxWarning: invalid escape sequence '\['
  '^(.*?)(\[(?:(?:since|until) )?C\+\+\d+\]\s*(,\s*)?)+$', head)
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:115: SyntaxWarning: invalid escape sequence '\s'
  lambda x: re.sub('\s*</span><span>\s*', r', ', x.group(0)), re.S),
usr/lib/python3.13/site-packages/cppman/formatter/tableparser.py:147: SyntaxWarning: invalid escape sequence '\^'
  fd.write('\^%s' % ('|' if i < total - 1 else ''))
usr/lib/python3.13/site-packages/cppman/main.py:126: SyntaxWarning: invalid escape sequence '\.'
  self.add_url_filter('\.(jpg|jpeg|gif|png|js|css|swf|svg)$')
usr/lib/python3.13/site-packages/cppman/main.py:396: SyntaxWarning: invalid escape sequence '\s'
  if re.match("\s*Type\s*", tds[0].get_text()):
usr/lib/python3.13/site-packages/cppman/main.py:399: SyntaxWarning: invalid escape sequence '\s'
  res = re.search('^\s*(\S*)\s+.*$', tds[0].get_text())
usr/lib/python3.13/site-packages/cppman/main.py:417: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:430: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:580: SyntaxWarning: invalid escape sequence '\('
  pat = re.compile('(.*?)(%s)(.*?)( \(.*\))?$' %
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:47: SyntaxWarning: invalid escape sequence '\['
  '^(.*?)(\[(?:(?:since|until) )?C\+\+\d+\]\s*(,\s*)?)+$', head)
usr/lib/python3.13/site-packages/cppman/formatter/cppreference.py:115: SyntaxWarning: invalid escape sequence '\s'
  lambda x: re.sub('\s*</span><span>\s*', r', ', x.group(0)), re.S),
usr/lib/python3.13/site-packages/cppman/formatter/tableparser.py:147: SyntaxWarning: invalid escape sequence '\^'
  fd.write('\^%s' % ('|' if i < total - 1 else ''))
usr/lib/python3.13/site-packages/cppman/main.py:126: SyntaxWarning: invalid escape sequence '\.'
  self.add_url_filter('\.(jpg|jpeg|gif|png|js|css|swf|svg)$')
usr/lib/python3.13/site-packages/cppman/main.py:396: SyntaxWarning: invalid escape sequence '\s'
  if re.match("\s*Type\s*", tds[0].get_text()):
usr/lib/python3.13/site-packages/cppman/main.py:399: SyntaxWarning: invalid escape sequence '\s'
  res = re.search('^\s*(\S*)\s+.*$', tds[0].get_text())
usr/lib/python3.13/site-packages/cppman/main.py:417: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:430: SyntaxWarning: invalid escape sequence '\S'
  res = re.search('^.* (\S+)\s*=.*$', text)
usr/lib/python3.13/site-packages/cppman/main.py:580: SyntaxWarning: invalid escape sequence '\('
  pat = re.compile('(.*?)(%s)(.*?)( \(.*\))?$' %
```

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

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

[^1]: My PR fixing this issue was merged and released into cppman: https://github.com/aitjcize/cppman/pull/170

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-17 18:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-16 16:46 [PR PATCH] cppman: update to 0.5.7 meator
2025-05-17 18:07 ` [PR PATCH] [Closed]: " classabbyamp

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).