Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hg-git: update to 1.0.1.
@ 2023-01-01 20:33 icp1994
  2023-01-01 20:39 ` icp1994
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: icp1994 @ 2023-01-01 20:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages hg-git
https://github.com/void-linux/void-packages/pull/41399

hg-git: update to 1.0.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

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

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

From 016eb4cb18225f6bfd7dfbb97774d3810419c137 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 2 Jan 2023 01:52:34 +0530
Subject: [PATCH 1/2] python3-dulwich: update to 0.20.50.

---
 srcpkgs/python3-dulwich/template | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-dulwich/template b/srcpkgs/python3-dulwich/template
index f1f45aeed9c9..154c5df96483 100644
--- a/srcpkgs/python3-dulwich/template
+++ b/srcpkgs/python3-dulwich/template
@@ -1,26 +1,24 @@
 # Template file for 'python3-dulwich'
 pkgname=python3-dulwich
-version=0.20.44
-revision=2
+version=0.20.50
+revision=1
 build_style=python3-module
+make_check_target="dulwich/tests"
 hostmakedepends="python3-setuptools"
 makedepends="python3-devel"
-depends="python3-urllib3 python3-certifi"
-checkdepends="${depends} python3-gevent python3-gpg gnupg"
+depends="python3-urllib3"
+checkdepends="${depends} python3-pytest python3-gevent python3-gpg gnupg git"
 short_desc="Python3 implementation of the Git file formats and protocols"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later, Apache-2.0"
 homepage="https://www.dulwich.io/"
+changelog="https://raw.githubusercontent.com/jelmer/dulwich/master/NEWS"
 distfiles="${PYPI_SITE}/d/dulwich/dulwich-${version}.tar.gz"
-checksum=10e8d73763dd30c86a99a15ade8bfcf3ab8fe96532cdf497e8cb1d11832352b8
+checksum=50a941796b2c675be39be728d540c16b5b7ce77eb9e1b3f855650ece6832d2be
 
 conflicts="python-dulwich>=0"
 
-do_check() {
-	python3 -m unittest dulwich.tests.test_suite
-}
-
 post_install() {
 	# remove extra docs
-	rm -rf ${DESTDIR}/usr/lib/python*/site-packages/docs
+	rm -rf ${DESTDIR}/${py3_sitelib}/docs
 }

From 3c613d41ff5011c122b62a139b31938a5017f3b9 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Mon, 2 Jan 2023 01:52:17 +0530
Subject: [PATCH 2/2] hg-git: update to 1.0.1.

---
 srcpkgs/hg-git/patches/fix-encoding-test.patch | 15 ---------------
 srcpkgs/hg-git/template                        | 14 +++++++-------
 2 files changed, 7 insertions(+), 22 deletions(-)
 delete mode 100644 srcpkgs/hg-git/patches/fix-encoding-test.patch

diff --git a/srcpkgs/hg-git/patches/fix-encoding-test.patch b/srcpkgs/hg-git/patches/fix-encoding-test.patch
deleted file mode 100644
index 944d4f2d96b3..000000000000
--- a/srcpkgs/hg-git/patches/fix-encoding-test.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/tests/test-encoding.t
-+++ b/tests/test-encoding.t
-@@ -33,10 +33,10 @@
-   $ . $TESTDIR/latin-1-encoding
-   Warning: commit message (did|does) not conform to UTF-8. (re)
-   You may want to amend it after fixing the message, or set the config
--  variable i18n.commitencoding to the encoding your project uses.
-+  variable i18n.commitEncoding to the encoding your project uses.
-   Warning: commit message (did|does) not conform to UTF-8. (re)
-   You may want to amend it after fixing the message, or set the config
--  variable i18n.commitencoding to the encoding your project uses.
-+  variable i18n.commitEncoding to the encoding your project uses.
- 
-   $ cd ..
-   $ git init -q --bare repo.git
diff --git a/srcpkgs/hg-git/template b/srcpkgs/hg-git/template
index 3d04ae447af6..53fcf804541c 100644
--- a/srcpkgs/hg-git/template
+++ b/srcpkgs/hg-git/template
@@ -1,9 +1,9 @@
 # Template file for 'hg-git'
 pkgname=hg-git
-version=1.0.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-setuptools_scm"
+version=1.0.1
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
 depends="python3-dulwich mercurial"
 checkdepends="$depends git unzip openssh"
 short_desc="Mercurial plugin adding the ability to push and pull to/from Git"
@@ -13,9 +13,9 @@ license="GPL-2.0-only"
 homepage="https://foss.heptapod.net/mercurial/hg-git"
 changelog="https://foss.heptapod.net/mercurial/hg-git/-/raw/branch/default/NEWS.rst"
 distfiles="$PYPI_SITE/h/hg-git/hg-git-$version.tar.gz"
-checksum=3911833962eb9c899c6bea8fb49666c82f211b124d0840beb6ad95e23a4621b6
+checksum=3f7360f5b0f5e805fb0c969cfd8d7af064962d32000f723568b6e56080d08b29
 
 do_check() {
-	cd tests
-	python3 run-tests.py --with-hg=/usr/bin/hg
+	vsed -e 's/egrep/grep -E/g' -i tests/*.t
+	python3 tests/run-tests.py --with-hg=/usr/bin/hg
 }

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

end of thread, other threads:[~2023-01-15  1:37 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-01 20:33 [PR PATCH] hg-git: update to 1.0.1 icp1994
2023-01-01 20:39 ` icp1994
2023-01-02  3:25 ` kruceter
2023-01-02  6:51 ` [PR PATCH] [Updated] " icp1994
2023-01-11 17:40 ` [PR REVIEW] " Vaelatern
2023-01-11 17:40 ` Vaelatern
2023-01-11 17:44 ` classabbyamp
2023-01-11 18:27 ` CameronNemo
2023-01-11 19:20 ` icp1994
2023-01-11 19:40 ` Vaelatern
2023-01-11 19:41 ` icp1994
2023-01-11 19:44 ` Vaelatern
2023-01-11 19:48 ` icp1994
2023-01-11 19:50 ` Vaelatern
2023-01-11 19:51 ` Vaelatern
2023-01-11 20:11 ` classabbyamp
2023-01-11 21:34 ` CameronNemo
2023-01-11 21:39 ` Vaelatern
2023-01-12  7:28 ` icp1994
2023-01-12  7:41 ` icp1994
2023-01-12  9:15 ` paper42
2023-01-12  9:15 ` paper42
2023-01-12 13:03 ` icp1994
2023-01-12 13:31 ` paper42
2023-01-12 13:34 ` paper42
2023-01-12 13:51 ` icp1994
2023-01-12 14:06 ` paper42
2023-01-12 18:31 ` paper42
2023-01-12 18:31 ` paper42
2023-01-12 18:32 ` icp1994
2023-01-12 18:46 ` [PR PATCH] [Updated] " icp1994
2023-01-13 17:34 ` Vaelatern
2023-01-15  1:37 ` [PR PATCH] [Merged]: " Vaelatern

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