1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

- Update to 2.19.0

- Adjust dependencies

PR:		216826
Submitted by:	<martin.dieringer@gmx.de> (maintainer)
This commit is contained in:
Olivier Duchateau 2017-02-12 14:21:24 +00:00
parent 1ecfa8ea32
commit 163b829bc8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433948
7 changed files with 88 additions and 9 deletions

View File

@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= frescobaldi
PORTVERSION= 2.0.15
PORTREVISION= 2
PORTVERSION= 2.19.0
DISTVERSIONPREFIX= v
CATEGORIES= print kde
MASTER_SITES= https://github.com/wbsoft/frescobaldi/releases/download/v${PORTVERSION}/
MAINTAINER= martin.dieringer@gmx.de
COMMENT= Music score editor for lilypond
@ -14,14 +13,15 @@ LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
RUN_DEPENDS= lilypond:print/lilypond \
${PYTHON_PKGNAMEPREFIX}poppler-qt4>=0:graphics/py-poppler-qt4
${PYTHON_PKGNAMEPREFIX}poppler-qt4>=0:graphics/py-poppler-qt4 \
${PYTHON_PKGNAMEPREFIX}ly>=0:print/py-python-ly
USE_GITHUB= yes
GH_ACCOUNT= wbsoft
USES= gettext kde:4 python
INSTALLS_ICONS= yes
USE_KDE= kdelibs pykde4_build pykde4_run
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} '/install-script=frescobaldi-wininst.py/d' ${WRKSRC}/setup.cfg
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (frescobaldi-2.0.15.tar.gz) = 1f9d56fc1e4de90c93b327d78b6c086ed2fc575b67503bdbb852545ff75daa17
SIZE (frescobaldi-2.0.15.tar.gz) = 3747346
TIMESTAMP = 1486329913
SHA256 (wbsoft-frescobaldi-v2.19.0_GH0.tar.gz) = a00857f32c77fc5ff364c33f07c4d5b513aa69b76059c4557096469276b2e35b
SIZE (wbsoft-frescobaldi-v2.19.0_GH0.tar.gz) = 7136513

View File

@ -0,0 +1,18 @@
--- frescobaldi_app/menu.py.orig 2016-04-21 23:00:30 UTC
+++ frescobaldi_app/menu.py
@@ -23,11 +23,12 @@ Frescobaldi main menu.
from __future__ import unicode_literals
-try:
+import sys
+if sys.version_info >= (3, 0):
import builtins # py3
-except ImportError:
+else:
import __builtin__ as builtins # py2
-
+
from PyQt4.QtCore import QSettings
from PyQt4.QtGui import QMenu

View File

@ -0,0 +1,15 @@
--- frescobaldi_app/po/__init__.py.orig 2016-04-21 23:00:30 UTC
+++ frescobaldi_app/po/__init__.py
@@ -21,9 +21,10 @@
Internationalization of Frescobaldi.
"""
-try:
+import sys
+if sys.version_info >= (3, 0):
import builtins # py3
-except ImportError:
+else:
import __builtin__ as builtins # py2
import os

View File

@ -0,0 +1,15 @@
--- frescobaldi_app/snippet/builtin.py.orig 2016-04-21 23:00:30 UTC
+++ frescobaldi_app/snippet/builtin.py
@@ -23,9 +23,10 @@ Builtin snippets.
from __future__ import unicode_literals
-try:
+import sys
+if sys.version_info >= (3, 0):
import builtins # py3
-except ImportError:
+else:
import __builtin__ as builtins # py2
import collections

View File

@ -0,0 +1,15 @@
--- frescobaldi_app/snippet/expand.py.orig 2016-04-21 23:00:30 UTC
+++ frescobaldi_app/snippet/expand.py
@@ -23,9 +23,10 @@ Expand variables like $DATE, $LILYPOND_V
from __future__ import unicode_literals
-try:
+import sys
+if sys.version_info >= (3, 0):
import builtins # py3
-except ImportError:
+else:
import __builtin__ as builtins # py2
import time

View File

@ -0,0 +1,15 @@
--- frescobaldi_app/snippet/highlight.py.orig 2016-04-21 23:00:30 UTC
+++ frescobaldi_app/snippet/highlight.py
@@ -23,9 +23,10 @@ Highlighter for the snippet editor and v
from __future__ import unicode_literals
-try:
+import sys
+if sys.version_info >= (3, 0):
import builtins # py3
-except ImportError:
+else:
import __builtin__ as builtins # py2
import keyword