pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/x11/arandr
Module Name: pkgsrc
Committed By: wiz
Date: Thu Feb 12 07:40:16 UTC 2026
Modified Files:
pkgsrc/x11/arandr: distinfo
Added Files:
pkgsrc/x11/arandr/patches: patch-setup.py
Log Message:
arandr: fix build with latest setuptools
dry-run option was removed
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/x11/arandr/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/arandr/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/x11/arandr/distinfo
diff -u pkgsrc/x11/arandr/distinfo:1.7 pkgsrc/x11/arandr/distinfo:1.8
--- pkgsrc/x11/arandr/distinfo:1.7 Mon Feb 13 17:17:12 2023
+++ pkgsrc/x11/arandr/distinfo Thu Feb 12 07:40:16 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2023/02/13 17:17:12 tsutsui Exp $
+$NetBSD: distinfo,v 1.8 2026/02/12 07:40:16 wiz Exp $
BLAKE2s (arandr-0.1.11.tar.gz) = bdf5d61e4fa699cb157c9b5a708676bcb05a5e6435d24565113816457690a62f
SHA512 (arandr-0.1.11.tar.gz) = 5f3ccabbffac0ea9e05b9d8c229f4f3b05f06ef285fb05a1ce2d7f88fd1723fd680636f5b97764b0aeb3cedac16863c4ccb154d65bf6fe987a1b3cc8a0026584
Size (arandr-0.1.11.tar.gz) = 100603 bytes
+SHA1 (patch-setup.py) = 69a6576efa3227ee46ecfd0e65d68576e48d463a
Added files:
Index: pkgsrc/x11/arandr/patches/patch-setup.py
diff -u /dev/null pkgsrc/x11/arandr/patches/patch-setup.py:1.1
--- /dev/null Thu Feb 12 07:40:16 2026
+++ pkgsrc/x11/arandr/patches/patch-setup.py Thu Feb 12 07:40:16 2026
@@ -0,0 +1,55 @@
+$NetBSD: patch-setup.py,v 1.1 2026/02/12 07:40:16 wiz Exp $
+
+dry-run support was removed from setuptools.
+
+--- setup.py.orig 2026-02-12 07:38:13.915349058 +0000
++++ setup.py
+@@ -62,7 +62,7 @@ class update_pot(NoOptionCommand):
+ def run(self):
+ all_py_files = sorted(reduce(operator.add, [[os.path.join(dn, f) for f in fs if f.endswith('.py')] for (dn,ds,fs) in os.walk('.')])) # sort to make diffs easier
+ # not working around xgettext not substituting for PACKAGE everywhere in the header; it's just a template and usually worked on using tools that ignore much of it anyway
+- if not self.dry_run:
++ if True:
+ info('Creating %s' % POT_FILE)
+ subprocess.check_call(['xgettext', '-LPython', '-o', POT_FILE, '--copyright-holder', AUTHOR, '--package-name', PACKAGENAME, '--package-version', PACKAGEVERSION, '--msgid-bugs-address',
AUTHOR_MAIL, '--add-comments=#'] + all_py_files)
+
+@@ -72,7 +72,7 @@ class update_po(NoOptionCommand):
+ def run(self):
+ # msgmerge data/po/da.po data/po/messages.pot -U
+ for po in glob.glob(os.path.join(PO_DIR, '*.po')):
+- if not self.dry_run:
++ if True:
+ info('Updating %s' % po)
+ subprocess.check_call(['msgmerge', '-U', po, POT_FILE])
+
+@@ -91,7 +91,7 @@ class build_trans(NoOptionCommand):
+ if newer(po, mo):
+ cmd = ['msgfmt', '-o', mo, po]
+ info('compiling %s -> %s' % (po, mo))
+- if not self.dry_run:
++ if True:
+ subprocess.check_call(cmd)
+
+ class build_man(NoOptionCommand):
+@@ -110,7 +110,7 @@ class build_man(NoOptionCommand):
+ manpage = docutils.core.publish_string(rst_source, writer=docutils.writers.manpage.Writer())
+ info('compressing man page to %s', gzfile)
+
+- if not self.dry_run:
++ if True:
+ compressed = gzip.open(gzfile, 'w', 9)
+ compressed.write(manpage)
+ compressed.close()
+@@ -221,10 +221,10 @@ class clean(_clean):
+ files = ['build/arandr.1.gz', 'build/unxrandr.1.gz']
+ for directory in dirs:
+ if os.path.exists(directory):
+- remove_tree(directory, dry_run=self.dry_run)
++ remove_tree(directory)
+ else:
+ warn("%r does not exist -- can't clean it", directory)
+- if not self.dry_run:
++ if True:
+ for file in files:
+ if os.path.exists(file):
+ os.unlink(file)
Home |
Main Index |
Thread Index |
Old Index