aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2024-10-16 07:25:17 +0000
committerJason E. Hale <jhale@FreeBSD.org>2024-10-16 20:38:56 +0000
commit05da1663c907f588730f1fb0609fd916b3a1f3c5 (patch)
treee5542de7a640911181d75181a95548a25b8ff884 /finance
parent69ffec14748f1c7a8da40f118c5fb119a9dea98a (diff)
downloadports-05da1663c907f588730f1fb0609fd916b3a1f3c5.tar.gz
ports-05da1663c907f588730f1fb0609fd916b3a1f3c5.zip
finance/skrooge: Update to 2.33.0
Diffstat (limited to 'finance')
-rw-r--r--finance/skrooge/Makefile38
-rw-r--r--finance/skrooge/distinfo14
-rw-r--r--finance/skrooge/pkg-plist20
3 files changed, 46 insertions, 26 deletions
diff --git a/finance/skrooge/Makefile b/finance/skrooge/Makefile
index 75bc09e78018..e7cf9530f9a6 100644
--- a/finance/skrooge/Makefile
+++ b/finance/skrooge/Makefile
@@ -1,9 +1,15 @@
PORTNAME= skrooge
-DISTVERSION= 2.32.0
+DISTVERSION= 2.33.0
CATEGORIES= finance kde
MASTER_SITES= KDE/stable/${PORTNAME}
DIST_SUBDIR= KDE/${PORTNAME}
+PATCH_SITES= https://invent.kde.org/office/skrooge/-/commit/
+PATCHFILES+= 5758d908b5918401a0e75b17b1d23253fb12272a.patch:-p1
+PATCHFILES+= 7e50a40c90147698de7a1848e62566548646ec77.patch:-p1
+PATCHFILES+= 07c3967161169c32b98c21a0bbca6722618c63de.patch:-p1
+PATCHFILES+= 0f70ff87a5a087d149f6c3edf0d64145d3308f22.patch:-p1
+
MAINTAINER= kde@FreeBSD.org
COMMENT= Personal finance manager
WWW= https://skrooge.org
@@ -14,11 +20,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xsltproc:textproc/libxslt
LIB_DEPENDS= libofx.so:finance/libofx \
libsqlcipher.so:databases/sqlcipher
+RUN_DEPENDS= ${LOCALBASE}/bin/aqbanking-cli:finance/aqbanking \
+ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.12.2:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}woob>=3.6:www/py-woob@${PY_FLAVOR}
USES= cmake compiler:c++11-lib desktop-file-utils gettext grantlee:5 \
- kde:5 pkgconfig python qca qt:5 shared-mime-info \
+ kde:5 pkgconfig python qt:5 shared-mime-info \
shebangfix tar:xz xorg
-USE_KDE= activities archive attica auth bookmarks codecs completion \
+USE_KDE= archive attica auth bookmarks codecs completion \
config configwidgets coreaddons dbusaddons emoticons \
guiaddons i18n iconthemes init itemviews jobwidgets \
kio newstuff notifications notifyconfig package parts \
@@ -27,21 +37,25 @@ USE_KDE= activities archive attica auth bookmarks codecs completion \
doctools:build ecm:build
# designerplugin is weird: it's defined as a _run dependency, but
# skrooge checks for it at build-time.
-USE_KDE+= designerplugin:build
-USE_QT= concurrent core dbus declarative designer gui location network \
- printsupport script sql svg webchannel webengine widgets xml \
- xmlpatterns \
- buildtools:build designer:build qmake:build testlib:build
+USE_KDE+= designerplugin:build designerplugin:run
+USE_LDCONFIG= yes
+USE_QT= concurrent core dbus declarative designer gui location \
+ network printsupport quickcontrols2 script sql svg \
+ webchannel webengine widgets xml xmlpatterns \
+ buildtools:build qmake:build testlib:build
USE_XORG= x11
+
SHEBANG_FILES= plugins/import/skrooge_import_backend/skrooge-sabb.py \
+ plugins/import/skrooge_import_backend/skrooge-woob.py \
+ skgbankmodeler/skrooge-boursorama.py \
skgbankmodeler/skrooge-coinmarketcap.py \
skgbankmodeler/skrooge-cryptocompare.py \
skgbankmodeler/skrooge-exchangerates.py \
- skgbankmodeler/skrooge-exchangerates_apilayer.py \
- skgbankmodeler/skrooge-ratesapi.py \
- skgbankmodeler/skrooge-yahoodl.py
+ skgbankmodeler/skrooge-exchangerates_apilayer.py
-USE_LDCONFIG= yes
+# This is temporarily needed to run the fix-shebang target after the patches
+# are applied and should be removed in the next version.
+TARGET_ORDER_OVERRIDE= 750:fix-shebang
PLIST_SUB= SHLIB_VER="${PORTVERSION}"
diff --git a/finance/skrooge/distinfo b/finance/skrooge/distinfo
index 6e18555e2d3a..053b7577dbba 100644
--- a/finance/skrooge/distinfo
+++ b/finance/skrooge/distinfo
@@ -1,3 +1,11 @@
-TIMESTAMP = 1712766959
-SHA256 (KDE/skrooge/skrooge-2.32.0.tar.xz) = b508694bd579fd3fd1cd686940eae88c1cedd3b1c2f34d0fbedb63cef5adbd0a
-SIZE (KDE/skrooge/skrooge-2.32.0.tar.xz) = 22945360
+TIMESTAMP = 1729062794
+SHA256 (KDE/skrooge/skrooge-2.33.0.tar.xz) = f4ae3faf723d54d7542878b8142a344b147e4337b0bc42863907af44cfebf465
+SIZE (KDE/skrooge/skrooge-2.33.0.tar.xz) = 23005952
+SHA256 (KDE/skrooge/5758d908b5918401a0e75b17b1d23253fb12272a.patch) = 2cad5170f2c6a888546aa9c699790ab1cd5fb85565f34f86fbe509365794898a
+SIZE (KDE/skrooge/5758d908b5918401a0e75b17b1d23253fb12272a.patch) = 25423
+SHA256 (KDE/skrooge/7e50a40c90147698de7a1848e62566548646ec77.patch) = d2e1caaca7c2df034af26c088ec92921d1a92d50ee0468c9240891e083bbff7c
+SIZE (KDE/skrooge/7e50a40c90147698de7a1848e62566548646ec77.patch) = 793
+SHA256 (KDE/skrooge/07c3967161169c32b98c21a0bbca6722618c63de.patch) = e3339267972ea58e16db7e6a89f18492dc4886cdd15f0ef6e429799dbf40c2ab
+SIZE (KDE/skrooge/07c3967161169c32b98c21a0bbca6722618c63de.patch) = 32777
+SHA256 (KDE/skrooge/0f70ff87a5a087d149f6c3edf0d64145d3308f22.patch) = d3301384c03ed4f5cdc4b427c8fcc2c2d7e716c3e09a82fa14aad7499884a431
+SIZE (KDE/skrooge/0f70ff87a5a087d149f6c3edf0d64145d3308f22.patch) = 52263
diff --git a/finance/skrooge/pkg-plist b/finance/skrooge/pkg-plist
index cee3db3164f8..b207667dc0ad 100644
--- a/finance/skrooge/pkg-plist
+++ b/finance/skrooge/pkg-plist
@@ -77,7 +77,6 @@ share/doc/HTML/en/skrooge/after_mass_update.png
share/doc/HTML/en/skrooge/alarm.png
share/doc/HTML/en/skrooge/analysis_build_report.png
share/doc/HTML/en/skrooge/analysis_build_transport_report.png
-share/doc/HTML/en/skrooge/analysis_operations_view.png
share/doc/HTML/en/skrooge/analysis_report_1.png
share/doc/HTML/en/skrooge/analysis_report_2.png
share/doc/HTML/en/skrooge/analysis_report_3.png
@@ -85,6 +84,7 @@ share/doc/HTML/en/skrooge/analysis_report_4.png
share/doc/HTML/en/skrooge/analysis_report_5.png
share/doc/HTML/en/skrooge/analysis_report_6.png
share/doc/HTML/en/skrooge/analysis_trackers_view.png
+share/doc/HTML/en/skrooge/analysis_transactions_view.png
share/doc/HTML/en/skrooge/apply_process.png
share/doc/HTML/en/skrooge/apply_template.png
share/doc/HTML/en/skrooge/assign_schedule.png
@@ -150,7 +150,6 @@ share/doc/HTML/en/skrooge/menu_view.png
share/doc/HTML/en/skrooge/messages.png
share/doc/HTML/en/skrooge/monthly.png
share/doc/HTML/en/skrooge/multi_tabs.png
-share/doc/HTML/en/skrooge/operations.png
share/doc/HTML/en/skrooge/operations_panel.png
share/doc/HTML/en/skrooge/payees.png
share/doc/HTML/en/skrooge/pie.png
@@ -163,7 +162,7 @@ share/doc/HTML/en/skrooge/reconciliation_information.png
share/doc/HTML/en/skrooge/refund_tracker.png
share/doc/HTML/en/skrooge/report_table.png
share/doc/HTML/en/skrooge/reports.png
-share/doc/HTML/en/skrooge/schedule_operation.png
+share/doc/HTML/en/skrooge/schedule_transaction.png
share/doc/HTML/en/skrooge/scheduled.png
share/doc/HTML/en/skrooge/search.png
share/doc/HTML/en/skrooge/search_result.png
@@ -177,16 +176,16 @@ share/doc/HTML/en/skrooge/settings_import_1.png
share/doc/HTML/en/skrooge/settings_import_2.png
share/doc/HTML/en/skrooge/settings_import_3.png
share/doc/HTML/en/skrooge/settings_import_4.png
-share/doc/HTML/en/skrooge/settings_operations.png
share/doc/HTML/en/skrooge/settings_report.png
share/doc/HTML/en/skrooge/settings_scheduled.png
share/doc/HTML/en/skrooge/settings_scheduled_convert.png
share/doc/HTML/en/skrooge/settings_search.png
+share/doc/HTML/en/skrooge/settings_transactions.png
share/doc/HTML/en/skrooge/settings_units.png
share/doc/HTML/en/skrooge/shares.png
share/doc/HTML/en/skrooge/show.png
share/doc/HTML/en/skrooge/simulations.png
-share/doc/HTML/en/skrooge/split_operation.png
+share/doc/HTML/en/skrooge/split_transaction.png
share/doc/HTML/en/skrooge/stack.png
share/doc/HTML/en/skrooge/switch_information.png
share/doc/HTML/en/skrooge/tab_state_management.png
@@ -194,7 +193,8 @@ share/doc/HTML/en/skrooge/table_menu.png
share/doc/HTML/en/skrooge/template_button.png
share/doc/HTML/en/skrooge/tooltip_account_balance.png
share/doc/HTML/en/skrooge/trackers.png
-share/doc/HTML/en/skrooge/transfer_operation.png
+share/doc/HTML/en/skrooge/transactions.png
+share/doc/HTML/en/skrooge/transfer_transaction.png
share/doc/HTML/en/skrooge/units.png
share/doc/HTML/en/skrooge/validate.png
share/doc/HTML/en/skrooge/zoom_graph.png
@@ -403,16 +403,14 @@ share/kservices5/org.kde.skrooge-import-backend-weboob_coming.desktop
share/kservices5/org.kde.skrooge-import-backend-woob-ofx.desktop
share/kservices5/org.kde.skrooge-import-backend-woob.desktop
share/kservices5/org.kde.skrooge-import-backend-woob_coming.desktop
+share/kservices5/sources/org.kde.skrooge-source-boursorama.desktop
share/kservices5/sources/org.kde.skrooge-source-coinmarketcap.desktop
share/kservices5/sources/org.kde.skrooge-source-cryptocompare.desktop
share/kservices5/sources/org.kde.skrooge-source-exchangerates.desktop
share/kservices5/sources/org.kde.skrooge-source-exchangerates_apilayer.desktop
share/kservices5/sources/org.kde.skrooge-source-grandtrunk.desktop
-share/kservices5/sources/org.kde.skrooge-source-msn.desktop
-share/kservices5/sources/org.kde.skrooge-source-ratesapi.desktop
share/kservices5/sources/org.kde.skrooge-source-skrooge.desktop
share/kservices5/sources/org.kde.skrooge-source-stooq.desktop
-share/kservices5/sources/org.kde.skrooge-source-yahoo.desktop
share/kservicetypes5/org.kde.skrooge-import-backend-type.desktop
share/kservicetypes5/org.kde.skrooge-source-plugin.desktop
share/kxmlgui5/skg/skgmainpanel.rc
@@ -920,10 +918,10 @@ share/mime/packages/x-skg.xml
%%DATADIR%%/images/logo/woori_bank.png
%%DATADIR%%/images/logo/yomoni.png
%%DATADIR%%/images/splash.png
+%%DATADIR%%/skrooge-boursorama.py
%%DATADIR%%/skrooge-coinmarketcap.py
%%DATADIR%%/skrooge-cryptocompare.py
%%DATADIR%%/skrooge-exchangerates.py
%%DATADIR%%/skrooge-exchangerates_apilayer.py
-%%DATADIR%%/skrooge-ratesapi.py
%%DATADIR%%/skrooge-sabb.py
-%%DATADIR%%/skrooge-yahoodl.py
+%%DATADIR%%/skrooge-woob.py