Github messages for voidlinux
 help / color / mirror / Atom feed
From: Calandracas606 <Calandracas606@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-sphinx-automodapi: update to 0.16.0, fix runtime crash.
Date: Wed, 20 Dec 2023 05:30:01 +0100	[thread overview]
Message-ID: <20231220043001.1goj5KkFOilt7qrHkNNEwtqpkOZzDlhD9DVMgbMFDSA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47842@inbox.vuxu.org>

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

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages fix-automodapi
https://github.com/void-linux/void-packages/pull/47842

python3-sphinx-automodapi: update to 0.16.0, fix runtime crash.
  tarball from github is lacking the version
needed for setup tools. The module was crashing
immediately since it was unable to source the version.

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### 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, x86_64-glibc



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

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

From 7d4045ce9a7ea0bbcbc44a7bd9145b69a24a2271 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Tue, 19 Dec 2023 22:15:44 -0500
Subject: [PATCH 1/4] python3-sphinx-automodapi: update to 0.16.0, fix runtime
 crash.

  tarball from github is lacking the version
needed for setup tools. The module was crashing
immediately since it was unable to source the version.
---
 srcpkgs/python3-sphinx-automodapi/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-sphinx-automodapi/template b/srcpkgs/python3-sphinx-automodapi/template
index 788e5c28127e2..f0e595087342e 100644
--- a/srcpkgs/python3-sphinx-automodapi/template
+++ b/srcpkgs/python3-sphinx-automodapi/template
@@ -1,16 +1,20 @@
 # Template file for 'python3-sphinx-automodapi'
 pkgname=python3-sphinx-automodapi
-version=0.13
-revision=4
+version=0.16.0
+revision=1
 build_style=python3-module
+# Something wrong with relative filepaths
+make_check_args="--deselect sphinx_automodapi/tests/test_automodapi.py::test_am_replacer_cython
+ --deselect sphinx_automodapi/tests/test_automodsumm.py::test_ams_cython"
 hostmakedepends="python3-setuptools"
 depends="python3-Sphinx"
+checkdepends="python3-wheel python3-Sphinx python3-pytest graphviz"
 short_desc="Sphinx extension for generating API documentation"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause"
 homepage="https://github.com/astropy/sphinx-automodapi"
-distfiles="https://github.com/astropy/sphinx-automodapi/archive/refs/tags/v${version}.tar.gz"
-checksum=a6fc6d953e85112674b87c095c6f8e0de79cad395cbc9a9d07102d47edf80d73
+distfiles="${PYPI_SITE}/s/sphinx-automodapi/sphinx-automodapi-${version}.tar.gz"
+checksum=6c673ef93066408e5ad3e2fa3533044d432a47fe6a826212b9ebf5f52a872554
 
 post_install() {
 	vlicense LICENSE.rst

From 1f51f316f235f88183836ba19788949600c16a36 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Tue, 19 Dec 2023 23:25:54 -0500
Subject: [PATCH 2/4] python3-imagesize: update to 1.4.1.

---
 srcpkgs/python3-imagesize/template | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-imagesize/template b/srcpkgs/python3-imagesize/template
index e7399ccdd9cd5..536895fe2331c 100644
--- a/srcpkgs/python3-imagesize/template
+++ b/srcpkgs/python3-imagesize/template
@@ -1,8 +1,10 @@
 # Template file for 'python3-imagesize'
 pkgname=python3-imagesize
-version=1.2.0
-revision=4
+version=1.4.1
+revision=1
 build_style=python3-module
+# Triest to fetch a dead url
+make_check_args="--deselect test/test_get_filelike.py::test_get_filelike"
 hostmakedepends="python3-setuptools"
 depends="python3"
 checkdepends="python3-pytest"
@@ -11,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/shibukawa/imagesize_py"
 distfiles="${PYPI_SITE}/i/imagesize/imagesize-${version}.tar.gz"
-checksum=b1f6b5a4eab1f73479a50fb79fcf729514a900c341d8503d62a62dbc4127a2b1
+checksum=69150444affb9cb0d5cc5a92b3676f0b2fb7cd9ae39e947a5e11a36b4497cd4a
 
 post_install() {
 	vlicense LICENSE.rst

From 53c2ee82d1ac24a048628b380386da3057191ae8 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Tue, 19 Dec 2023 23:26:09 -0500
Subject: [PATCH 3/4] python3-snowballstemmer: update to 2.2.0.

---
 srcpkgs/python3-snowballstemmer/template | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-snowballstemmer/template b/srcpkgs/python3-snowballstemmer/template
index c841d4e013851..ad0c115248fe7 100644
--- a/srcpkgs/python3-snowballstemmer/template
+++ b/srcpkgs/python3-snowballstemmer/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-snowballstemmer'
 pkgname=python3-snowballstemmer
-version=1.2.1
-revision=9
+version=2.2.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
 short_desc="Snowball stemming library collection for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="BSD-2-Clause"
-homepage="https://github.com/shibukawa/snowball_py"
+license="BSD-3-Clause"
+homepage="https://github.com/snowballstem/snowball"
 distfiles="${PYPI_SITE}/s/snowballstemmer/snowballstemmer-${version}.tar.gz"
-checksum=919f26a68b2c17a7634da993d91339e288964f93c274f1343e3bbbe2096e1128
+checksum=09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1
 
 post_install() {
-	vlicense LICENSE.rst
+	vlicense COPYING
 }

From dba06d80f323ed9e4f02c340d528fd50e01731f5 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Tue, 19 Dec 2023 23:26:27 -0500
Subject: [PATCH 4/4] python3-sphinxcontrib-serializinghtml: update to 1.1.9.

---
 .../python3-sphinxcontrib-serializinghtml/template | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-sphinxcontrib-serializinghtml/template b/srcpkgs/python3-sphinxcontrib-serializinghtml/template
index 39bc2f32de279..f3329c05c37e3 100644
--- a/srcpkgs/python3-sphinxcontrib-serializinghtml/template
+++ b/srcpkgs/python3-sphinxcontrib-serializinghtml/template
@@ -1,16 +1,18 @@
 # Template file for 'python3-sphinxcontrib-serializinghtml'
 pkgname=python3-sphinxcontrib-serializinghtml
-version=1.1.5
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=1.1.9
+revision=1
+#build_style=python3-module
+#hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel python3-flit_core"
 depends="python3"
 short_desc="Sphinx extension which outputs serialized HTML document"
 maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
 license="BSD-2-Clause"
 homepage="http://sphinx-doc.org"
-distfiles="${PYPI_SITE}/s/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-${version}.tar.gz"
-checksum=aa5f6de5dfdf809ef505c4895e51ef5c9eac17d0f287933eb49ec495280b6952
+distfiles="${PYPI_SITE}/s/sphinxcontrib_serializinghtml/sphinxcontrib_serializinghtml-${version}.tar.gz"
+checksum=0c64ff898339e1fac29abd2bf5f11078f3ec413cfe9c046d3120d7ca65530b54
 make_check=no # cyclic Sphinx
 
 post_install() {

  parent reply	other threads:[~2023-12-20  4:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47842@inbox.vuxu.org>
2023-12-20  4:26 ` Calandracas606
2023-12-20  4:30 ` Calandracas606 [this message]
2023-12-20  4:36 ` Calandracas606
2023-12-21  1:06 ` [PR REVIEW] " sgn
2023-12-21  1:32 ` [PR PATCH] [Updated] " Calandracas606
2023-12-21  1:33 ` [PR REVIEW] " Calandracas606
2023-12-28  4:53 ` [PR PATCH] [Merged]: " sgn

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=20231220043001.1goj5KkFOilt7qrHkNNEwtqpkOZzDlhD9DVMgbMFDSA@z \
    --to=calandracas606@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).