mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
New package: pympress-1.8.5
This commit is contained in:
parent
e94b6d1f43
commit
2b047468ef
3 changed files with 66 additions and 0 deletions
38
srcpkgs/pympress/patches/fix-setuptools-format.patch
Normal file
38
srcpkgs/pympress/patches/fix-setuptools-format.patch
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
From de80deea6575c2148dbd032e2cc530ade1508331 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Cimbali <me@cimba.li>
|
||||||
|
Date: Sun, 20 Apr 2025 08:34:04 +0100
|
||||||
|
Subject: [PATCH] Modernize cfg for changing setuptools requirements
|
||||||
|
|
||||||
|
---
|
||||||
|
setup.cfg | 5 ++---
|
||||||
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/setup.cfg b/setup.cfg
|
||||||
|
index c8b2f921..a7fa8caa 100644
|
||||||
|
--- a/setup.cfg
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -22,7 +22,6 @@ classifiers =
|
||||||
|
Intended Audience :: End Users/Desktop
|
||||||
|
Intended Audience :: Information Technology
|
||||||
|
Intended Audience :: Science/Research
|
||||||
|
- License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
|
||||||
|
Natural Language :: English
|
||||||
|
Natural Language :: French
|
||||||
|
Natural Language :: German
|
||||||
|
@@ -111,13 +110,13 @@ no_location = true
|
||||||
|
no_wrap = true
|
||||||
|
sort_output = true
|
||||||
|
omit_header = true
|
||||||
|
-output-file = pympress/share/locale/pympress.pot
|
||||||
|
+output_file = pympress/share/locale/pympress.pot
|
||||||
|
mapping_file = pympress/share/locale/babel_mapping.cfg
|
||||||
|
|
||||||
|
[compile_catalog]
|
||||||
|
domain = pympress
|
||||||
|
directory = pympress/share/locale/
|
||||||
|
-use-fuzzy = false
|
||||||
|
+use_fuzzy = false
|
||||||
|
statistics = true
|
||||||
|
|
||||||
|
[pysrpm]
|
||||||
|
|
13
srcpkgs/pympress/patches/python313-fix.patch
Normal file
13
srcpkgs/pympress/patches/python313-fix.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
see https://github.com/Cimbali/pympress/issues/330#issuecomment-2562515602
|
||||||
|
|
||||||
|
--- i/pympress/builder.py
|
||||||
|
+++ w/pympress/builder.py
|
||||||
|
@@ -76,7 +76,7 @@ class Builder(Gtk.Builder):
|
||||||
|
Args:
|
||||||
|
a_widget (:class:`~GObject.Object`): an object built by the builder, usually a widget
|
||||||
|
"""
|
||||||
|
- for str_prop in (prop.name for prop in a_widget.props if prop.value_type == GObject.TYPE_STRING):
|
||||||
|
+ for str_prop in (prop.name for prop in list(a_widget.props) if prop.value_type == GObject.TYPE_STRING):
|
||||||
|
try:
|
||||||
|
str_val = getattr(a_widget.props, str_prop)
|
||||||
|
if str_val:
|
15
srcpkgs/pympress/template
Normal file
15
srcpkgs/pympress/template
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'pympress'
|
||||||
|
pkgname=pympress
|
||||||
|
version=1.8.5
|
||||||
|
revision=1
|
||||||
|
build_style=python3-pep517
|
||||||
|
hostmakedepends="python3-Babel python3-setuptools"
|
||||||
|
depends="gobject-introspection gtk+3 python3-cairo gdk-pixbuf python3-gobject poppler-glib
|
||||||
|
python3-watchdog perl-X11-Protocol perl-Net-DBus"
|
||||||
|
short_desc="PDF reader designed for dual-screen presentations"
|
||||||
|
maintainer="Bnyro <bnyro@tutanota.com>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://github.com/Cimbali/pympress"
|
||||||
|
changelog="https://github.com/Cimbali/pympress/releases"
|
||||||
|
distfiles="https://github.com/Cimbali/pympress/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=ffb492daa577368daa220f336ffcbbd92ba45421bcab0a91332348c9431f6dc0
|
Loading…
Add table
Reference in a new issue