Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] virt-manager: update to 4.1.0.
Date: Sat, 03 Sep 2022 11:27:40 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39081@inbox.vuxu.org> (raw)

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

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

https://github.com/paper42/void-packages virt-manager-4.1
https://github.com/void-linux/void-packages/pull/39081

virt-manager: update to 4.1.0.
* fixes build with setuptools 61

<!-- 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, (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/39081.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-virt-manager-4.1-39081.patch --]
[-- Type: text/x-diff, Size: 2857 bytes --]

From 2bb6cd539d9a3fec98c2295136cbee499679cfbe Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 3 Sep 2022 11:22:35 +0200
Subject: [PATCH] virt-manager: update to 4.1.0.

* fixes build with setuptools 61
---
 ...le-compile-schemas-update-icon-cache.patch | 20 -------------------
 srcpkgs/virt-manager/template                 | 12 +++++++++--
 2 files changed, 10 insertions(+), 22 deletions(-)
 delete mode 100644 srcpkgs/virt-manager/patches/disable-compile-schemas-update-icon-cache.patch

diff --git a/srcpkgs/virt-manager/patches/disable-compile-schemas-update-icon-cache.patch b/srcpkgs/virt-manager/patches/disable-compile-schemas-update-icon-cache.patch
deleted file mode 100644
index ad8f6f798b20..000000000000
--- a/srcpkgs/virt-manager/patches/disable-compile-schemas-update-icon-cache.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -264,17 +264,6 @@ class my_install(setuptools.command.install.install):
-         setuptools.command.install.install.finalize_options(self)
- 
-     def run(self):
--        if not self.distribution.no_update_icon_cache:
--            print("running gtk-update-icon-cache")
--            icon_path = os.path.join(self.install_data, "share/icons/hicolor")
--            self.spawn(["gtk-update-icon-cache", "-q", "-t", icon_path])
--
--        if not self.distribution.no_compile_schemas:
--            print("compiling gsettings schemas")
--            gschema_install = os.path.join(self.install_data,
--                "share/glib-2.0/schemas")
--            self.spawn(["glib-compile-schemas", gschema_install])
--
-         setuptools.command.install.install.run(self)
- 
- 
diff --git a/srcpkgs/virt-manager/template b/srcpkgs/virt-manager/template
index 3b66b6fd8a90..9cf74dfd50ba 100644
--- a/srcpkgs/virt-manager/template
+++ b/srcpkgs/virt-manager/template
@@ -1,6 +1,6 @@
 # Template file for 'virt-manager'
 pkgname=virt-manager
-version=4.0.0
+version=4.1.0
 revision=1
 build_style=python3-module
 pycompile_dirs="/usr/share/${pkgname}/virtManager"
@@ -16,9 +16,17 @@ license="GPL-2.0-or-later"
 homepage="https://virt-manager.org"
 changelog="https://raw.githubusercontent.com/virt-manager/virt-manager/master/NEWS.md"
 distfiles="https://virt-manager.org/download/sources/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=515aaa2021a4bf352b0573098fe6958319b1ba8ec508ea37e064803f97f17086
+checksum=950681d7b32dc61669278ad94ef31da33109bf6fcf0426ed82dfd7379aa590a2
 python_version=3
 
+do_install() {
+	# make_install_args can't be used because --no-* has to be specified
+	# before the install argument
+	./setup.py \
+	    --no-update-icon-cache --no-compile-schemas \
+	    install --root=${DESTDIR}
+}
+
 virt-manager-tools_package() {
 	short_desc="Programs to create and clone virtual machines"
 	depends="${_coredeps} python3-argcomplete"

             reply	other threads:[~2022-09-03  9:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-03  9:27 paper42 [this message]
2022-09-03 10:23 ` [PR PATCH] [Updated] " paper42
2022-09-03 18:17 ` [PR PATCH] [Merged]: " paper42

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39081@inbox.vuxu.org \
    --to=paper42@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).