Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Apr 2026 18:46:25 +0000
From:      Yusuf Yaman <nxjoseph@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Hiroo Ono <hiroo.ono+freebsd@gmail.com>
Subject:   git: 9208be32d201 - main - multimedia/gaupol: Make compatible with setuptools 81.0
Message-ID:  <69da9701.3a759.6355053f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by nxjoseph:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9208be32d20133bd314e685f6abb07f0686d81b8

commit 9208be32d20133bd314e685f6abb07f0686d81b8
Author:     Hiroo Ono <hiroo.ono+freebsd@gmail.com>
AuthorDate: 2026-04-11 12:07:43 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-04-11 18:46:01 +0000

    multimedia/gaupol: Make compatible with setuptools 81.0
    
    PR:             294410
    Reported by:    Hiroo Ono <hiroo.ono+freebsd@gmail.com> (author)
    Approved by:    nxjoseph (maintainer)
    Approved by:    osa, vvd (mentors)
---
 multimedia/gaupol/Makefile             |  2 +-
 multimedia/gaupol/files/patch-setup.py | 22 ++++++++++++++++++----
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/multimedia/gaupol/Makefile b/multimedia/gaupol/Makefile
index a61010f0dc13..ed40c1f23e79 100644
--- a/multimedia/gaupol/Makefile
+++ b/multimedia/gaupol/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gaupol
 DISTVERSION=	1.15
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia python
 
 MAINTAINER=	nxjoseph@FreeBSD.org
diff --git a/multimedia/gaupol/files/patch-setup.py b/multimedia/gaupol/files/patch-setup.py
index 153b67fdd09d..8e5c418b6123 100644
--- a/multimedia/gaupol/files/patch-setup.py
+++ b/multimedia/gaupol/files/patch-setup.py
@@ -1,14 +1,28 @@
---- setup.py.orig	2018-05-27 20:40:27 UTC
+--- setup.py.orig	2024-06-10 18:55:29 UTC
 +++ setup.py
-@@ -232,7 +232,10 @@ class InstallData(install_data):
+@@ -100,12 +100,10 @@ class Clean(clean):
+         for targets in [glob.glob(x.strip()) for x in f]:
+             for target in filter(os.path.isdir, targets):
+                 log.info("removing {}".format(target))
+-                if not self.dry_run:
+-                    shutil.rmtree(target)
++                shutil.rmtree(target)
+             for target in filter(os.path.isfile, targets):
+                 log.info("removing {}".format(target))
+-                if not self.dry_run:
+-                    os.remove(target)
++                os.remove(target)
+         f.close()
+ 
+ 
+@@ -219,7 +217,9 @@ class InstallData(install_data):
          data_dir = get_command_obj("install_data").install_dir
          data_dir = os.path.join(data_dir, "share", "gaupol")
          files = glob.glob("{}/extensions/*/*.py".format(data_dir))
 -        distutils.util.byte_compile(files, optimize, self.force, self.dry_run)
 +        distutils.util.byte_compile(files, optimize, self.force,
 +                                    base_dir=%%PREFIX%%,
-+                                    prefix=%%STAGEDIR%%,
-+                                    dry_run=self.dry_run)
++                                    prefix=%%STAGEDIR%%,)
          # Figure out paths of the compiled files and add them to
          # self.outfiles so that 'setup.py --record' works correctly.
          def get_cache_pattern(path):


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69da9701.3a759.6355053f>