mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
pluma: update to 1.28.0.
This commit is contained in:
parent
7da8a8a43c
commit
62c4f8c0a0
2 changed files with 47 additions and 6 deletions
41
srcpkgs/pluma/patches/python-3.12.patch
Normal file
41
srcpkgs/pluma/patches/python-3.12.patch
Normal file
|
@ -0,0 +1,41 @@
|
|||
diff --git a/plugins/externaltools/tools/library.py b/plugins/externaltools/tools/library.py
|
||||
index ed66e26..0eb4e12 100755
|
||||
--- a/plugins/externaltools/tools/library.py
|
||||
+++ b/plugins/externaltools/tools/library.py
|
||||
@@ -197,7 +197,7 @@ class ToolDirectory(object):
|
||||
|
||||
|
||||
class Tool(object):
|
||||
- RE_KEY = re.compile('^([a-zA-Z_][a-zA-Z0-9_.\-]*)(\[([a-zA-Z_@]+)\])?$')
|
||||
+ RE_KEY = re.compile(r'^([a-zA-Z_][a-zA-Z0-9_.\-]*)(\[([a-zA-Z_@]+)\])?$')
|
||||
|
||||
def __init__(self, parent, filename=None):
|
||||
super(Tool, self).__init__()
|
||||
diff --git a/plugins/snippets/snippets/Document.py b/plugins/snippets/snippets/Document.py
|
||||
index 1c2960b..65c4b43 100644
|
||||
--- a/plugins/snippets/snippets/Document.py
|
||||
+++ b/plugins/snippets/snippets/Document.py
|
||||
@@ -827,8 +827,8 @@ class Document:
|
||||
return components
|
||||
|
||||
def relative_path(self, first, second, mime):
|
||||
- prot1 = re.match('(^[a-z]+:\/\/|\/)(.*)', first)
|
||||
- prot2 = re.match('(^[a-z]+:\/\/|\/)(.*)', second)
|
||||
+ prot1 = re.match(r'(^[a-z]+:\/\/|\/)(.*)', first)
|
||||
+ prot2 = re.match(r'(^[a-z]+:\/\/|\/)(.*)', second)
|
||||
|
||||
if not prot1 or not prot2:
|
||||
return second
|
||||
diff --git a/plugins/snippets/snippets/SubstitutionParser.py b/plugins/snippets/snippets/SubstitutionParser.py
|
||||
index e6b4647..a03382b 100644
|
||||
--- a/plugins/snippets/snippets/SubstitutionParser.py
|
||||
+++ b/plugins/snippets/snippets/SubstitutionParser.py
|
||||
@@ -159,7 +159,7 @@ class SubstitutionParser:
|
||||
return match.group(1), tokens[match.end():]
|
||||
|
||||
def _condition_value(self, tokens):
|
||||
- match = re.match('\\\\?%s\s*' % self.REG_GROUP, tokens)
|
||||
+ match = re.match('\\\\?%s\\s*' % self.REG_GROUP, tokens)
|
||||
|
||||
if not match:
|
||||
return None, tokens
|
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'pluma'
|
||||
pkgname=pluma
|
||||
version=1.26.1
|
||||
revision=2
|
||||
version=1.28.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
build_helper=gir
|
||||
pycompile_dirs="usr/lib/pluma/plugins"
|
||||
hostmakedepends="python3 python3-setuptools gobject-introspection mate-common
|
||||
automake libtool"
|
||||
hostmakedepends="python3 python3-setuptools gobject-introspection iso-codes
|
||||
pkg-config itstool glib-devel gettext perl"
|
||||
makedepends="enchant2-devel gtksourceview4-devel iso-codes libSM-devel
|
||||
libpeas-devel mate-desktop-devel"
|
||||
libpeas-devel mate-desktop-devel gtk+3-devel libglib-devel libICE-devel"
|
||||
depends="desktop-file-utils iso-codes zenity mate-desktop"
|
||||
short_desc="Powerful text editor for MATE"
|
||||
maintainer="skmpz <dem.procopiou@gmail.com>"
|
||||
|
@ -16,7 +16,7 @@ license="GPL-2.0-or-later"
|
|||
homepage="https://mate-desktop.org"
|
||||
changelog="https://raw.githubusercontent.com/mate-desktop/pluma/master/NEWS"
|
||||
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/pluma-${version}.tar.xz"
|
||||
checksum=5959ece3d7118e106659f64d202d0ed1763ad10bbbba5d2acd8cbfba2e3994f1
|
||||
checksum=aa8adf9589345093a50e30b27ede4a78a2421d1727c27f465fc87c435965a1d4
|
||||
python_version=3
|
||||
make_check=no # needs gsettings-schemas and gvfs-mount
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue