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

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