Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-GitPython: update to 3.1.26.
@ 2022-02-11 16:50 jcgruenhage
  2022-02-11 17:27 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-11 16:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-GitPython-3.1.26_1
https://github.com/void-linux/void-packages/pull/35536

python3-GitPython: update to 3.1.26.
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** (new packages introduced by this PR are required for the updates to GitPython)


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-GitPython-3.1.26_1-35536.patch --]
[-- Type: text/x-diff, Size: 7249 bytes --]

From c7cb04f6ef34ce6cefb9733d573612d223c71b27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:40 +0100
Subject: [PATCH 1/5] python3-smmap: update to 5.0.0.

---
 srcpkgs/python3-smmap/template | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-smmap/template b/srcpkgs/python3-smmap/template
index 2bfc12aab9f8..6a7f4de92d27 100644
--- a/srcpkgs/python3-smmap/template
+++ b/srcpkgs/python3-smmap/template
@@ -1,22 +1,17 @@
 # Template file for 'python3-smmap'
 pkgname=python3-smmap
-version=2.0.5
-revision=5
+version=5.0.0
+revision=1
 wrksrc="smmap-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="python3-nose"
 short_desc="Sliding memory map manager (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/smmap"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e348efaf6ce81b8c923fb03d5b09f857c87605ff7f1d00b146d4aff9cf1fa776
-
-do_check() {
-	nosetests3 -v
-}
+checksum=265a54c1cc32742ac37204396f62680bf45295fe03a4ece82f9e63a5a08c9686
 
 post_install() {
 	vlicense LICENSE

From abc82aafb8c69214176dee6b6ce8d33ee61bd0e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:45 +0100
Subject: [PATCH 2/5] python3-gitdb: update to 4.0.9.

---
 srcpkgs/python3-gitdb/template | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-gitdb/template b/srcpkgs/python3-gitdb/template
index 804f4970ec44..d9032c62e51f 100644
--- a/srcpkgs/python3-gitdb/template
+++ b/srcpkgs/python3-gitdb/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-gitdb'
 pkgname=python3-gitdb
-version=2.0.5
-revision=5
-wrksrc="gitdb2-${version}"
+version=4.0.9
+revision=1
+wrksrc="gitdb-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-smmap"
 short_desc="Pure-Python git object database (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/gitdb"
-distfiles="${PYPI_SITE}/g/gitdb2/gitdb2-${version}.tar.gz"
-checksum=83361131a1836661a155172932a13c08bda2db3674e4caa32368aa6eb02f38c2
+distfiles="${PYPI_SITE}/g/gitdb/gitdb-${version}.tar.gz"
+checksum=bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa
+make_check=no
 
 post_install() {
 	vlicense LICENSE

From 03404c159dd7701e1c48cd36d4c501419ba2d1b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:03 +0100
Subject: [PATCH 3/5] New package: python3-pytest-sugar-0.9.4

---
 srcpkgs/python3-pytest-sugar/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-sugar/template

diff --git a/srcpkgs/python3-pytest-sugar/template b/srcpkgs/python3-pytest-sugar/template
new file mode 100644
index 000000000000..24856912f845
--- /dev/null
+++ b/srcpkgs/python3-pytest-sugar/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-sugar'
+pkgname=python3-pytest-sugar
+version=0.9.4
+revision=1
+wrksrc="pytest-sugar-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-termcolor python3-packaging"
+checkdepends="${depends}"
+short_desc="Pytest plugin to improve the look and feel"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="http://pivotfinland.com/pytest-sugar"
+distfiles="${PYPI_SITE}/p/pytest-sugar/pytest-sugar-${version}.tar.gz"
+checksum=b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3
+
+post_install() {
+	vlicense LICENSE
+}

From 2dca784b8120269a993e40e598910a5d47470276 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:08 +0100
Subject: [PATCH 4/5] New package: python3-ddt-1.4.4

---
 srcpkgs/python3-ddt/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-ddt/template

diff --git a/srcpkgs/python3-ddt/template b/srcpkgs/python3-ddt/template
new file mode 100644
index 000000000000..cd8ef301dcfe
--- /dev/null
+++ b/srcpkgs/python3-ddt/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-ddt'
+pkgname=python3-ddt
+version=1.4.4
+revision=1
+wrksrc=ddt-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest python3-six python3-yaml"
+short_desc="Data driven tests for pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://ddt.readthedocs.io/"
+distfiles="https://github.com/datadriventests/ddt/archive/refs/tags/${version}.tar.gz"
+checksum=658c994827f84acc1b67f0d882960724328459078d4a3fdd4737c642fe0ea090
+
+post_install() {
+	vlicense LICENSE.md
+}

From 8b0abff3b52dcba2913dd67ef31db22a68f025be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:54 +0100
Subject: [PATCH 5/5] python3-GitPython: update to 3.1.26.

---
 srcpkgs/python3-GitPython/template | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template
index 995c290b5c48..df151413f4a3 100644
--- a/srcpkgs/python3-GitPython/template
+++ b/srcpkgs/python3-GitPython/template
@@ -1,18 +1,33 @@
 # Template file for 'python3-GitPython'
 pkgname=python3-GitPython
-version=2.1.11
-revision=5
+version=3.1.26
+revision=1
 wrksrc="GitPython-${version}"
 build_style=python3-module
+make_check_args="--deselect test/test_base.py::TestBase::test_with_rw_remote_and_rw_repo
+ --deselect test/test_git.py::TestGit::test_refresh
+ --deselect test/test_remote.py::TestRemote::test_base"
 hostmakedepends="python3-setuptools"
 depends="python3-gitdb"
+checkdepends="${depends} python3-pytest-sugar python3-coverage python3-pytest-cov python3-toml
+ python3-mypy flake8 python3-ddt git python3-virtualenv"
 short_desc="Library to interact with Git repositories (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/GitPython"
-distfiles="${PYPI_SITE}/G/GitPython/GitPython-${version}.tar.gz"
-checksum=8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
+distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz"
+checksum=47c82a6370a186bd426be2e8435ddbb60b254fb86f3fad2ed4028e6237e9d3d1
 
 post_install() {
 	vlicense LICENSE
 }
+
+pre_check() {
+	pushd .
+	cd /tmp
+	git clone https://github.com/gitpython-developers/GitPython
+	cd GitPython
+	yes | ./init-tests-after-clone.sh
+	export GIT_PYTHON_TEST_GIT_REPO_BASE="$(pwd)"
+	popd
+}

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

* Re: [PR PATCH] [Updated] python3-GitPython: update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
@ 2022-02-11 17:27 ` jcgruenhage
  2022-02-12 17:05 ` [PR REVIEW] python3-GitPython: adopt orphaned package and " paper42
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-11 17:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-GitPython-3.1.26_1
https://github.com/void-linux/void-packages/pull/35536

python3-GitPython: update to 3.1.26.
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** (new packages introduced by this PR are required for the updates to GitPython)


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-GitPython-3.1.26_1-35536.patch --]
[-- Type: text/x-diff, Size: 7672 bytes --]

From c7cb04f6ef34ce6cefb9733d573612d223c71b27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:40 +0100
Subject: [PATCH 1/5] python3-smmap: update to 5.0.0.

---
 srcpkgs/python3-smmap/template | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-smmap/template b/srcpkgs/python3-smmap/template
index 2bfc12aab9f8..6a7f4de92d27 100644
--- a/srcpkgs/python3-smmap/template
+++ b/srcpkgs/python3-smmap/template
@@ -1,22 +1,17 @@
 # Template file for 'python3-smmap'
 pkgname=python3-smmap
-version=2.0.5
-revision=5
+version=5.0.0
+revision=1
 wrksrc="smmap-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="python3-nose"
 short_desc="Sliding memory map manager (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/smmap"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e348efaf6ce81b8c923fb03d5b09f857c87605ff7f1d00b146d4aff9cf1fa776
-
-do_check() {
-	nosetests3 -v
-}
+checksum=265a54c1cc32742ac37204396f62680bf45295fe03a4ece82f9e63a5a08c9686
 
 post_install() {
 	vlicense LICENSE

From abc82aafb8c69214176dee6b6ce8d33ee61bd0e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:45 +0100
Subject: [PATCH 2/5] python3-gitdb: update to 4.0.9.

---
 srcpkgs/python3-gitdb/template | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-gitdb/template b/srcpkgs/python3-gitdb/template
index 804f4970ec44..d9032c62e51f 100644
--- a/srcpkgs/python3-gitdb/template
+++ b/srcpkgs/python3-gitdb/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-gitdb'
 pkgname=python3-gitdb
-version=2.0.5
-revision=5
-wrksrc="gitdb2-${version}"
+version=4.0.9
+revision=1
+wrksrc="gitdb-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-smmap"
 short_desc="Pure-Python git object database (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/gitdb"
-distfiles="${PYPI_SITE}/g/gitdb2/gitdb2-${version}.tar.gz"
-checksum=83361131a1836661a155172932a13c08bda2db3674e4caa32368aa6eb02f38c2
+distfiles="${PYPI_SITE}/g/gitdb/gitdb-${version}.tar.gz"
+checksum=bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa
+make_check=no
 
 post_install() {
 	vlicense LICENSE

From 03404c159dd7701e1c48cd36d4c501419ba2d1b4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:03 +0100
Subject: [PATCH 3/5] New package: python3-pytest-sugar-0.9.4

---
 srcpkgs/python3-pytest-sugar/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-sugar/template

diff --git a/srcpkgs/python3-pytest-sugar/template b/srcpkgs/python3-pytest-sugar/template
new file mode 100644
index 000000000000..24856912f845
--- /dev/null
+++ b/srcpkgs/python3-pytest-sugar/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-sugar'
+pkgname=python3-pytest-sugar
+version=0.9.4
+revision=1
+wrksrc="pytest-sugar-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-termcolor python3-packaging"
+checkdepends="${depends}"
+short_desc="Pytest plugin to improve the look and feel"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="http://pivotfinland.com/pytest-sugar"
+distfiles="${PYPI_SITE}/p/pytest-sugar/pytest-sugar-${version}.tar.gz"
+checksum=b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3
+
+post_install() {
+	vlicense LICENSE
+}

From 2dca784b8120269a993e40e598910a5d47470276 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:08 +0100
Subject: [PATCH 4/5] New package: python3-ddt-1.4.4

---
 srcpkgs/python3-ddt/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-ddt/template

diff --git a/srcpkgs/python3-ddt/template b/srcpkgs/python3-ddt/template
new file mode 100644
index 000000000000..cd8ef301dcfe
--- /dev/null
+++ b/srcpkgs/python3-ddt/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-ddt'
+pkgname=python3-ddt
+version=1.4.4
+revision=1
+wrksrc=ddt-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest python3-six python3-yaml"
+short_desc="Data driven tests for pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://ddt.readthedocs.io/"
+distfiles="https://github.com/datadriventests/ddt/archive/refs/tags/${version}.tar.gz"
+checksum=658c994827f84acc1b67f0d882960724328459078d4a3fdd4737c642fe0ea090
+
+post_install() {
+	vlicense LICENSE.md
+}

From 24d55ea85ec78b23c30cb57c86a32a0df71b124e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:54 +0100
Subject: [PATCH 5/5] python3-GitPython: update to 3.1.26.

---
 srcpkgs/python3-GitPython/template | 31 +++++++++++++++++++++++++-----
 1 file changed, 26 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template
index 995c290b5c48..7a7aad9c985b 100644
--- a/srcpkgs/python3-GitPython/template
+++ b/srcpkgs/python3-GitPython/template
@@ -1,18 +1,39 @@
 # Template file for 'python3-GitPython'
 pkgname=python3-GitPython
-version=2.1.11
-revision=5
+version=3.1.26
+revision=1
 wrksrc="GitPython-${version}"
 build_style=python3-module
+make_check_args="--deselect test/test_base.py::TestBase::test_with_rw_remote_and_rw_repo
+ --deselect test/test_git.py::TestGit::test_refresh
+ --deselect test/test_remote.py::TestRemote::test_base
+ --deselect test/test_diff.py::TestDiff::test_diff_with_staged_file
+ --deselect test/test_docs.py::Tutorials::test_init_repo_object
+ --deselect test/test_docs.py::Tutorials::test_references_and_objects
+ --deselect test/test_refs.py::TestRefs::test_head_reset
+ --deselect test/test_repo.py::TestRepo::test_rebasing
+ --deselect test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit"
 hostmakedepends="python3-setuptools"
 depends="python3-gitdb"
+checkdepends="${depends} python3-pytest-sugar python3-coverage python3-pytest-cov python3-toml
+ python3-mypy flake8 python3-ddt git python3-virtualenv"
 short_desc="Library to interact with Git repositories (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/GitPython"
-distfiles="${PYPI_SITE}/G/GitPython/GitPython-${version}.tar.gz"
-checksum=8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
+distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz"
+checksum=47c82a6370a186bd426be2e8435ddbb60b254fb86f3fad2ed4028e6237e9d3d1
 
 post_install() {
 	vlicense LICENSE
 }
+
+pre_check() {
+	pushd .
+	cd /tmp
+	git clone https://github.com/gitpython-developers/GitPython
+	cd GitPython
+	yes | ./init-tests-after-clone.sh
+	export GIT_PYTHON_TEST_GIT_REPO_BASE="$(pwd)"
+	popd
+}

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (2 preceding siblings ...)
  2022-02-12 17:05 ` paper42
@ 2022-02-12 17:05 ` paper42
  2022-02-12 17:05 ` paper42
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 17:05 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805181592

Comment:
$depends is missing

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
  2022-02-11 17:27 ` [PR PATCH] [Updated] " jcgruenhage
  2022-02-12 17:05 ` [PR REVIEW] python3-GitPython: adopt orphaned package and " paper42
@ 2022-02-12 17:05 ` paper42
  2022-02-12 17:05 ` paper42
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 17:05 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805180336

Comment:
make_check=* should always have a comment with the reason

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
  2022-02-11 17:27 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-02-12 17:05 ` paper42
  2022-02-12 17:05 ` paper42
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 17:05 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805181298

Comment:
Can we git clone in $wrksrc?

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (3 preceding siblings ...)
  2022-02-12 17:05 ` paper42
@ 2022-02-12 17:05 ` paper42
  2022-02-12 17:18 ` jcgruenhage
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 17:05 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805180944

Comment:
```suggestion
depends="python3"
checkdepends="python3-pytest"
```

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (4 preceding siblings ...)
  2022-02-12 17:05 ` paper42
@ 2022-02-12 17:18 ` jcgruenhage
  2022-02-12 17:28 ` jcgruenhage
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 17:18 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805183183

Comment:
You mean instead of pulling in and extracting the distfile? Should be possible, yeah

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (5 preceding siblings ...)
  2022-02-12 17:18 ` jcgruenhage
@ 2022-02-12 17:28 ` jcgruenhage
  2022-02-12 17:38 ` jcgruenhage
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 17:28 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805183183

Comment:
You mean instead of pulling in and extracting the distfile? Should be possible, yeah. Is there a policy on this, when do we do cloning instead of extracting a checkout? Last time that topic come up, [the response was](https://github.com/void-linux/void-packages/pull/35082#issuecomment-1015415324):

> Cloning the git repo is generally undesirable with xbps-src.

In that case it would've been for generating the changelog, which would be done every time, so I didn't end up doing it, isolating it into the check stage that isn't automatically executed here made sense to me.

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (6 preceding siblings ...)
  2022-02-12 17:28 ` jcgruenhage
@ 2022-02-12 17:38 ` jcgruenhage
  2022-02-12 17:42 ` jcgruenhage
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 17:38 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805185258

Comment:
Right, I always forget about that one.. Maybe we should have a lint for this?

Anyhow: I'm not sure why, but the tests here fail. I figured it doesn't matter much though, considering it's part of GitPython, which has a way bigger testing suite that IMO covers the gitdb library enough to allow us to skip this here.

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (7 preceding siblings ...)
  2022-02-12 17:38 ` jcgruenhage
@ 2022-02-12 17:42 ` jcgruenhage
  2022-02-12 17:56 ` paper42
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 17:42 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805185677

Comment:
For reference, here are the logs from a failed check:
```
=> python3-gitdb-4.0.9_1: running do_check ...
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
warning: no files found matching 'VERSION'
warning: no files found matching 'CHANGES'
warning: no files found matching 'README'
warning: no files found matching 'gitdb/_fun.c'
warning: no files found matching 'gitdb/_delta_apply.c'
warning: no files found matching 'gitdb/_delta_apply.h'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.o' found anywhere in distribution
writing manifest file 'gitdb.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "/builddir/gitdb-4.0.9/setup.py", line 13, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 155, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 223, in run
    self.run_tests()
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 226, in run_tests
    test = unittest.main(
  File "/usr/lib/python3.10/unittest/main.py", line 100, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.10/unittest/main.py", line 124, in parseArgs
    self._do_discovery(argv[2:])
  File "/usr/lib/python3.10/unittest/main.py", line 244, in _do_discovery
    self.createTests(from_discovery=True, Loader=Loader)
  File "/usr/lib/python3.10/unittest/main.py", line 154, in createTests
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/usr/lib/python3.10/unittest/loader.py", line 349, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/usr/lib/python3.10/unittest/loader.py", line 405, in _find_tests
    tests, should_recurse = self._find_test_path(
  File "/usr/lib/python3.10/unittest/loader.py", line 483, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 56, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib/python3.10/unittest/loader.py", line 191, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 59, in loadTestsFromModule
    return self.suiteClass(tests)
  File "/usr/lib/python3.10/unittest/suite.py", line 24, in __init__
    self.addTests(tests)
  File "/usr/lib/python3.10/unittest/suite.py", line 58, in addTests
    self.addTest(test)
  File "/usr/lib/python3.10/unittest/suite.py", line 47, in addTest
    raise TypeError("{} is not callable".format(repr(test)))
TypeError: None is not callable
=> ERROR: python3-gitdb-4.0.9_1: do_check: 'python3 setup.py ${make_check_target} ${make_check_args}' exited with 1
=> ERROR:   in do_check() at common/build-style/python3-module.sh:40
```

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (8 preceding siblings ...)
  2022-02-12 17:42 ` jcgruenhage
@ 2022-02-12 17:56 ` paper42
  2022-02-12 17:58 ` paper42
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 17:56 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805187028

Comment:
> Right, I always forget about that one.. Maybe we should have a lint for this?

https://github.com/leahneukirchen/xtools/pull/220

I think we could write something like:

```
# FIXME: TypeError: None is not callable
```

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (9 preceding siblings ...)
  2022-02-12 17:56 ` paper42
@ 2022-02-12 17:58 ` paper42
  2022-02-12 18:42 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 17:58 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805187188

Comment:
I meant just git cloning gitpython to a separate directory inside $wrksrc, so we don't pollute /tmp and get it properly removed when do_check() fails.

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

* Re: [PR PATCH] [Updated] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (10 preceding siblings ...)
  2022-02-12 17:58 ` paper42
@ 2022-02-12 18:42 ` jcgruenhage
  2022-02-12 18:46 ` [PR REVIEW] " jcgruenhage
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 18:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-GitPython-3.1.26_1
https://github.com/void-linux/void-packages/pull/35536

python3-GitPython: adopt orphaned package and update to 3.1.26.
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** (new packages introduced by this PR are required for the updates to GitPython)


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-GitPython-3.1.26_1-35536.patch --]
[-- Type: text/x-diff, Size: 7900 bytes --]

From b3dfa62a86f2ef338345b2616c1ff47aef234277 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:40 +0100
Subject: [PATCH 1/5] python3-smmap: update to 5.0.0.

---
 srcpkgs/python3-smmap/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-smmap/template b/srcpkgs/python3-smmap/template
index 2bfc12aab9f8..1c32f8252c05 100644
--- a/srcpkgs/python3-smmap/template
+++ b/srcpkgs/python3-smmap/template
@@ -1,22 +1,18 @@
 # Template file for 'python3-smmap'
 pkgname=python3-smmap
-version=2.0.5
-revision=5
+version=5.0.0
+revision=1
 wrksrc="smmap-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="python3-nose"
+checkdepends="python3-pytest"
 short_desc="Sliding memory map manager (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/smmap"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e348efaf6ce81b8c923fb03d5b09f857c87605ff7f1d00b146d4aff9cf1fa776
-
-do_check() {
-	nosetests3 -v
-}
+checksum=265a54c1cc32742ac37204396f62680bf45295fe03a4ece82f9e63a5a08c9686
 
 post_install() {
 	vlicense LICENSE

From 6a8c03c7e572230df25fe6f8baf3d9c1707b1984 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:45 +0100
Subject: [PATCH 2/5] python3-gitdb: update to 4.0.9.

---
 srcpkgs/python3-gitdb/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-gitdb/template b/srcpkgs/python3-gitdb/template
index 804f4970ec44..73eb021cb0f9 100644
--- a/srcpkgs/python3-gitdb/template
+++ b/srcpkgs/python3-gitdb/template
@@ -1,17 +1,20 @@
 # Template file for 'python3-gitdb'
 pkgname=python3-gitdb
-version=2.0.5
-revision=5
-wrksrc="gitdb2-${version}"
+version=4.0.9
+revision=1
+wrksrc="gitdb-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-smmap"
 short_desc="Pure-Python git object database (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/gitdb"
-distfiles="${PYPI_SITE}/g/gitdb2/gitdb2-${version}.tar.gz"
-checksum=83361131a1836661a155172932a13c08bda2db3674e4caa32368aa6eb02f38c2
+distfiles="${PYPI_SITE}/g/gitdb/gitdb-${version}.tar.gz"
+checksum=bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa
+# FIXME: TypeError: None is not callable
+# See https://github.com/void-linux/void-packages/pull/35536#discussion_r805185677
+make_check=no
 
 post_install() {
 	vlicense LICENSE

From 1c3888319a0a8bc469fd7a1ddfcd55b53553c243 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:03 +0100
Subject: [PATCH 3/5] New package: python3-pytest-sugar-0.9.4

---
 srcpkgs/python3-pytest-sugar/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-sugar/template

diff --git a/srcpkgs/python3-pytest-sugar/template b/srcpkgs/python3-pytest-sugar/template
new file mode 100644
index 000000000000..24856912f845
--- /dev/null
+++ b/srcpkgs/python3-pytest-sugar/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-sugar'
+pkgname=python3-pytest-sugar
+version=0.9.4
+revision=1
+wrksrc="pytest-sugar-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-termcolor python3-packaging"
+checkdepends="${depends}"
+short_desc="Pytest plugin to improve the look and feel"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="http://pivotfinland.com/pytest-sugar"
+distfiles="${PYPI_SITE}/p/pytest-sugar/pytest-sugar-${version}.tar.gz"
+checksum=b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3
+
+post_install() {
+	vlicense LICENSE
+}

From 69953c0f5749c9a449219766de1b3cb77c49f626 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:08 +0100
Subject: [PATCH 4/5] New package: python3-ddt-1.4.4

---
 srcpkgs/python3-ddt/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-ddt/template

diff --git a/srcpkgs/python3-ddt/template b/srcpkgs/python3-ddt/template
new file mode 100644
index 000000000000..be305e88626a
--- /dev/null
+++ b/srcpkgs/python3-ddt/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-ddt'
+pkgname=python3-ddt
+version=1.4.4
+revision=1
+wrksrc=ddt-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest"
+checkdepends="${depends} python3-six python3-yaml"
+short_desc="Data driven tests for pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://ddt.readthedocs.io/"
+distfiles="https://github.com/datadriventests/ddt/archive/refs/tags/${version}.tar.gz"
+checksum=658c994827f84acc1b67f0d882960724328459078d4a3fdd4737c642fe0ea090
+
+post_install() {
+	vlicense LICENSE.md
+}

From 02da8f67462aeab560a9bbb73832101198feeba3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:54 +0100
Subject: [PATCH 5/5] python3-GitPython: update to 3.1.26.

---
 srcpkgs/python3-GitPython/template | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template
index 995c290b5c48..c75df896539f 100644
--- a/srcpkgs/python3-GitPython/template
+++ b/srcpkgs/python3-GitPython/template
@@ -1,18 +1,38 @@
 # Template file for 'python3-GitPython'
 pkgname=python3-GitPython
-version=2.1.11
-revision=5
+version=3.1.26
+revision=1
 wrksrc="GitPython-${version}"
 build_style=python3-module
+make_check_args="--deselect test/test_base.py::TestBase::test_with_rw_remote_and_rw_repo
+ --deselect test/test_git.py::TestGit::test_refresh
+ --deselect test/test_remote.py::TestRemote::test_base
+ --deselect test/test_diff.py::TestDiff::test_diff_with_staged_file
+ --deselect test/test_docs.py::Tutorials::test_init_repo_object
+ --deselect test/test_docs.py::Tutorials::test_references_and_objects
+ --deselect test/test_refs.py::TestRefs::test_head_reset
+ --deselect test/test_repo.py::TestRepo::test_rebasing
+ --deselect test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit"
 hostmakedepends="python3-setuptools"
 depends="python3-gitdb"
+checkdepends="${depends} python3-pytest-sugar python3-coverage python3-pytest-cov python3-toml
+ python3-mypy flake8 python3-ddt git python3-virtualenv"
 short_desc="Library to interact with Git repositories (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/GitPython"
-distfiles="${PYPI_SITE}/G/GitPython/GitPython-${version}.tar.gz"
-checksum=8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
+distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz"
+checksum=47c82a6370a186bd426be2e8435ddbb60b254fb86f3fad2ed4028e6237e9d3d1
 
 post_install() {
 	vlicense LICENSE
 }
+
+pre_check() {
+	git clone https://github.com/gitpython-developers/GitPython GitPython-test-checkout
+	cd GitPython-test-checkout
+	git checkout ${version}
+	yes | ./init-tests-after-clone.sh
+	export GIT_PYTHON_TEST_GIT_REPO_BASE="$(pwd)"
+	cd ..
+}

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (11 preceding siblings ...)
  2022-02-12 18:42 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-02-12 18:46 ` jcgruenhage
  2022-02-12 18:49 ` jcgruenhage
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 18:46 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805191719

Comment:
Added, together with a link to this thread.

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (12 preceding siblings ...)
  2022-02-12 18:46 ` [PR REVIEW] " jcgruenhage
@ 2022-02-12 18:49 ` jcgruenhage
  2022-02-12 18:49 ` jcgruenhage
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 18:49 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805192018

Comment:
added.

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (13 preceding siblings ...)
  2022-02-12 18:49 ` jcgruenhage
@ 2022-02-12 18:49 ` jcgruenhage
  2022-02-12 19:35 ` paper42
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 18:49 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805192042

Comment:
right, done that instead now.

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (14 preceding siblings ...)
  2022-02-12 18:49 ` jcgruenhage
@ 2022-02-12 19:35 ` paper42
  2022-02-12 19:35 ` paper42
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 19:35 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805195169

Comment:
```suggestion
	export GIT_PYTHON_TEST_GIT_REPO_BASE="$PWD"
```

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (15 preceding siblings ...)
  2022-02-12 19:35 ` paper42
@ 2022-02-12 19:35 ` paper42
  2022-02-12 20:27 ` jcgruenhage
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 19:35 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805195146

Comment:
cwd is reset with every step, so `cd ..` shouldn't be required

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (16 preceding siblings ...)
  2022-02-12 19:35 ` paper42
@ 2022-02-12 20:27 ` jcgruenhage
  2022-02-12 21:43 ` paper42
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-12 20:27 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805201200

Comment:
good to know, thanks :)

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (17 preceding siblings ...)
  2022-02-12 20:27 ` jcgruenhage
@ 2022-02-12 21:43 ` paper42
  2022-02-13 10:37 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-12 21:43 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805207758

Comment:
This sounds wrong, are you sure?

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

* Re: [PR PATCH] [Updated] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (18 preceding siblings ...)
  2022-02-12 21:43 ` paper42
@ 2022-02-13 10:37 ` jcgruenhage
  2022-02-13 10:40 ` [PR REVIEW] " jcgruenhage
  2022-02-13 12:36 ` [PR PATCH] [Merged]: " paper42
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-13 10:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages python3-GitPython-3.1.26_1
https://github.com/void-linux/void-packages/pull/35536

python3-GitPython: adopt orphaned package and update to 3.1.26.
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** (new packages introduced by this PR are required for the updates to GitPython)


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-GitPython-3.1.26_1-35536.patch --]
[-- Type: text/x-diff, Size: 7888 bytes --]

From f8e46ba573124a5f4cc9161cfb0688731868b032 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:40 +0100
Subject: [PATCH 1/5] python3-smmap: update to 5.0.0.

---
 srcpkgs/python3-smmap/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-smmap/template b/srcpkgs/python3-smmap/template
index 2bfc12aab9f8..1c32f8252c05 100644
--- a/srcpkgs/python3-smmap/template
+++ b/srcpkgs/python3-smmap/template
@@ -1,22 +1,18 @@
 # Template file for 'python3-smmap'
 pkgname=python3-smmap
-version=2.0.5
-revision=5
+version=5.0.0
+revision=1
 wrksrc="smmap-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
-checkdepends="python3-nose"
+checkdepends="python3-pytest"
 short_desc="Sliding memory map manager (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/smmap"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=e348efaf6ce81b8c923fb03d5b09f857c87605ff7f1d00b146d4aff9cf1fa776
-
-do_check() {
-	nosetests3 -v
-}
+checksum=265a54c1cc32742ac37204396f62680bf45295fe03a4ece82f9e63a5a08c9686
 
 post_install() {
 	vlicense LICENSE

From c1711df8f996b801b7134eb0145f07d9b755905b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:45 +0100
Subject: [PATCH 2/5] python3-gitdb: update to 4.0.9.

---
 srcpkgs/python3-gitdb/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-gitdb/template b/srcpkgs/python3-gitdb/template
index 804f4970ec44..73eb021cb0f9 100644
--- a/srcpkgs/python3-gitdb/template
+++ b/srcpkgs/python3-gitdb/template
@@ -1,17 +1,20 @@
 # Template file for 'python3-gitdb'
 pkgname=python3-gitdb
-version=2.0.5
-revision=5
-wrksrc="gitdb2-${version}"
+version=4.0.9
+revision=1
+wrksrc="gitdb-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-smmap"
 short_desc="Pure-Python git object database (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/gitdb"
-distfiles="${PYPI_SITE}/g/gitdb2/gitdb2-${version}.tar.gz"
-checksum=83361131a1836661a155172932a13c08bda2db3674e4caa32368aa6eb02f38c2
+distfiles="${PYPI_SITE}/g/gitdb/gitdb-${version}.tar.gz"
+checksum=bac2fd45c0a1c9cf619e63a90d62bdc63892ef92387424b855792a6cabe789aa
+# FIXME: TypeError: None is not callable
+# See https://github.com/void-linux/void-packages/pull/35536#discussion_r805185677
+make_check=no
 
 post_install() {
 	vlicense LICENSE

From 375bbbb3ff33efbc11e18f0487a7017b68bd98d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:03 +0100
Subject: [PATCH 3/5] New package: python3-pytest-sugar-0.9.4

---
 srcpkgs/python3-pytest-sugar/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-sugar/template

diff --git a/srcpkgs/python3-pytest-sugar/template b/srcpkgs/python3-pytest-sugar/template
new file mode 100644
index 000000000000..24856912f845
--- /dev/null
+++ b/srcpkgs/python3-pytest-sugar/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-sugar'
+pkgname=python3-pytest-sugar
+version=0.9.4
+revision=1
+wrksrc="pytest-sugar-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-termcolor python3-packaging"
+checkdepends="${depends}"
+short_desc="Pytest plugin to improve the look and feel"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="http://pivotfinland.com/pytest-sugar"
+distfiles="${PYPI_SITE}/p/pytest-sugar/pytest-sugar-${version}.tar.gz"
+checksum=b1b2186b0a72aada6859bea2a5764145e3aaa2c1cfbb23c3a19b5f7b697563d3
+
+post_install() {
+	vlicense LICENSE
+}

From 7dc5f86fc667874bc5e2eb9609f2b7399093ed55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 17:45:08 +0100
Subject: [PATCH 4/5] New package: python3-ddt-1.4.4

---
 srcpkgs/python3-ddt/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-ddt/template

diff --git a/srcpkgs/python3-ddt/template b/srcpkgs/python3-ddt/template
new file mode 100644
index 000000000000..7b72f8743042
--- /dev/null
+++ b/srcpkgs/python3-ddt/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-ddt'
+pkgname=python3-ddt
+version=1.4.4
+revision=1
+wrksrc=ddt-${version}
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-six python3-yaml"
+short_desc="Data driven tests for pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://ddt.readthedocs.io/"
+distfiles="https://github.com/datadriventests/ddt/archive/refs/tags/${version}.tar.gz"
+checksum=658c994827f84acc1b67f0d882960724328459078d4a3fdd4737c642fe0ea090
+
+post_install() {
+	vlicense LICENSE.md
+}

From 038d6f0faf34e56b226afc2a3c8552c04c2572e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 11 Feb 2022 15:48:54 +0100
Subject: [PATCH 5/5] python3-GitPython: update to 3.1.26.

---
 srcpkgs/python3-GitPython/template | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template
index 995c290b5c48..4ce259e5a109 100644
--- a/srcpkgs/python3-GitPython/template
+++ b/srcpkgs/python3-GitPython/template
@@ -1,18 +1,37 @@
 # Template file for 'python3-GitPython'
 pkgname=python3-GitPython
-version=2.1.11
-revision=5
+version=3.1.26
+revision=1
 wrksrc="GitPython-${version}"
 build_style=python3-module
+make_check_args="--deselect test/test_base.py::TestBase::test_with_rw_remote_and_rw_repo
+ --deselect test/test_git.py::TestGit::test_refresh
+ --deselect test/test_remote.py::TestRemote::test_base
+ --deselect test/test_diff.py::TestDiff::test_diff_with_staged_file
+ --deselect test/test_docs.py::Tutorials::test_init_repo_object
+ --deselect test/test_docs.py::Tutorials::test_references_and_objects
+ --deselect test/test_refs.py::TestRefs::test_head_reset
+ --deselect test/test_repo.py::TestRepo::test_rebasing
+ --deselect test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit"
 hostmakedepends="python3-setuptools"
 depends="python3-gitdb"
+checkdepends="${depends} python3-pytest-sugar python3-coverage python3-pytest-cov python3-toml
+ python3-mypy flake8 python3-ddt git python3-virtualenv"
 short_desc="Library to interact with Git repositories (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/GitPython"
-distfiles="${PYPI_SITE}/G/GitPython/GitPython-${version}.tar.gz"
-checksum=8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
+distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz"
+checksum=47c82a6370a186bd426be2e8435ddbb60b254fb86f3fad2ed4028e6237e9d3d1
 
 post_install() {
 	vlicense LICENSE
 }
+
+pre_check() {
+	git clone https://github.com/gitpython-developers/GitPython GitPython-test-checkout
+	cd GitPython-test-checkout
+	git checkout ${version}
+	yes | ./init-tests-after-clone.sh
+	export GIT_PYTHON_TEST_GIT_REPO_BASE="${PWD}"
+}

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

* Re: [PR REVIEW] python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (19 preceding siblings ...)
  2022-02-13 10:37 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-02-13 10:40 ` jcgruenhage
  2022-02-13 12:36 ` [PR PATCH] [Merged]: " paper42
  21 siblings, 0 replies; 23+ messages in thread
From: jcgruenhage @ 2022-02-13 10:40 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/35536#discussion_r805314676

Comment:
I thought I was. ddt is a data driven testing library, which does rely on python3-pytest for it's own tests, but apparently it's flexible enough to also work with other testing frameworks and doesn't depend on any specific test framework itself. Thanks for pointing this out!

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

* Re: [PR PATCH] [Merged]: python3-GitPython: adopt orphaned package and update to 3.1.26.
  2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
                   ` (20 preceding siblings ...)
  2022-02-13 10:40 ` [PR REVIEW] " jcgruenhage
@ 2022-02-13 12:36 ` paper42
  21 siblings, 0 replies; 23+ messages in thread
From: paper42 @ 2022-02-13 12:36 UTC (permalink / raw)
  To: ml

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

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

python3-GitPython: adopt orphaned package and update to 3.1.26.
https://github.com/void-linux/void-packages/pull/35536

Description:
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** (new packages introduced by this PR are required for the updates to GitPython)


<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->


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

end of thread, other threads:[~2022-02-13 12:36 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 16:50 [PR PATCH] python3-GitPython: update to 3.1.26 jcgruenhage
2022-02-11 17:27 ` [PR PATCH] [Updated] " jcgruenhage
2022-02-12 17:05 ` [PR REVIEW] python3-GitPython: adopt orphaned package and " paper42
2022-02-12 17:05 ` paper42
2022-02-12 17:05 ` paper42
2022-02-12 17:05 ` paper42
2022-02-12 17:18 ` jcgruenhage
2022-02-12 17:28 ` jcgruenhage
2022-02-12 17:38 ` jcgruenhage
2022-02-12 17:42 ` jcgruenhage
2022-02-12 17:56 ` paper42
2022-02-12 17:58 ` paper42
2022-02-12 18:42 ` [PR PATCH] [Updated] " jcgruenhage
2022-02-12 18:46 ` [PR REVIEW] " jcgruenhage
2022-02-12 18:49 ` jcgruenhage
2022-02-12 18:49 ` jcgruenhage
2022-02-12 19:35 ` paper42
2022-02-12 19:35 ` paper42
2022-02-12 20:27 ` jcgruenhage
2022-02-12 21:43 ` paper42
2022-02-13 10:37 ` [PR PATCH] [Updated] " jcgruenhage
2022-02-13 10:40 ` [PR REVIEW] " jcgruenhage
2022-02-13 12:36 ` [PR PATCH] [Merged]: " paper42

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