Package Details: portfolio 0.83.2-2

Git Clone URL: https://aur.archlinux.org/portfolio.git (read-only, click to copy)
Package Base: portfolio
Description: Track your portfolio performance (finance)
Upstream URL: https://github.com/portfolio-performance/portfolio
Licenses: EPL-1.0
Submitter: Cobra
Maintainer: Cobra (Bevan)
Last Packager: Cobra
Votes: 43
Popularity: 0.47
First Submitted: 2015-11-08 10:45 (UTC)
Last Updated: 2026-04-22 09:43 (UTC)

Dependencies (4)

Required by (0)

Sources (3)

Pinned Comments

Cobra commented on 2025-12-19 15:13 (UTC)

80.4-2 adds OAuth authorization and thus the possibility to create a portfolio account for obtaining historic data.

Bevan implemented this crucial feature in the current PKGBUILD – and I'm very happy to welcome him as co-maintainer. :)

Cobra commented on 2023-08-19 13:34 (UTC)

Thanks to Bevan, we now have a simple and elegant (compared to my attempt) workaround that lets the PKGBUILD download and use the most recent version of maven (currently 3.9.4). Should not need any intervention from you. :)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 14 Next › Last »

tinxy commented on 2020-11-01 09:27 (UTC) (edited on 2020-11-01 09:31 (UTC) by tinxy)

Being currently too lazy to build archlinux-java-run just for this build process, I dropped it from makedepends locally.

So still with Java 14.0.2 as my default JDK I encountered no problems during build.

I would suggest you tried the build process again, maybe the Yahoo Finance data changed during the process (or did not change in time) as you seem to have built close to 0:00 (your msg was posted at 1:02). Just a wild guess, though. Context being: a test failed that used Yahoo Finance data.

Barqu commented on 2020-11-01 01:02 (UTC)

I am getting this failure during building:


Results:

Failures: 
  YahooFinanceQuoteFeedTest.testGetLatestQuoteValid:53 
Expected: is <2020-04-20>
     but: was <2020-04-21>

Tests run: 853, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Portfolio Performance 0.49.0:
[INFO] 
[INFO] Portfolio Performance .............................. SUCCESS [  0.455 s]
[INFO] portfolio-target-definition ........................ SUCCESS [  0.268 s]
[INFO] name.abuchen.portfolio ............................. SUCCESS [ 16.359 s]
[INFO] name.abuchen.portfolio.tests ....................... FAILURE [ 25.150 s]
[INFO] name.abuchen.portfolio.ui .......................... SKIPPED
[INFO] name.abuchen.portfolio.ui.tests .................... SKIPPED
[INFO] name.abuchen.portfolio.bootstrap ................... SKIPPED
[INFO] name.abuchen.portfolio.feature ..................... SKIPPED
[INFO] portfolio.product .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:19 min
[INFO] Finished at: 2020-11-01T08:50:13+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.5.1:test (default-test) on project name.abuchen.portfolio.tests: There are test failures.

Cobra commented on 2020-10-26 18:24 (UTC) (edited on 2020-10-26 18:25 (UTC) by Cobra)

Encouraged by the comment of tinxy, I've tried to build 0.49 with Java 14 and succeeded. I've thus lifted the restrictions regarding Java 14 in the current PKGBUILD. Should you encounter problems, please edit the PKGBUILD accordingly:

makedepends=('maven' 'java-runtime>=8' 'java-runtime<14' 'archlinux-java-run' 'gendesk') and export JAVA_HOME=$(archlinux-java-run --min 8 --max 13 --java-home)

Cobra commented on 2020-10-17 11:39 (UTC)

Hey tinxy, thanks a lot for the report! I'll try with 0.48.2; if that should succeed, I'll simplify the PKGBUILD by lifting the restriction to java versions < 14, while keeping archlinux-java-run to ensure that the latest version is used for the build.

tinxy commented on 2020-10-16 08:54 (UTC)

Hey Cobra, would you care to try again with java14 installed and no archlinux-java-run? I just built the app with default javac 14.0.2.

Cheers

Cobra commented on 2020-09-02 17:58 (UTC)

Works like a charm. Thanks a ton, Bevan!

Bevan commented on 2020-09-01 19:06 (UTC)

@Cobra: I had the same issue and tracked it down. You can fix it by applying the following patch to this repository:

curl https://pastebin.com/raw/nLfiaVdB | git am

Cobra commented on 2020-09-01 18:13 (UTC) (edited on 2020-09-01 18:15 (UTC) by Cobra)

The build of 0.48 fails for me with the same error message, whatever I try:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) on project portfolio-app: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]

I don't have the time to investigate right now. If you face the same problem and have an idea, post it here.

Cobra commented on 2020-07-26 10:47 (UTC)

Building portfolio fails with Java 14. An earlier version (8–13) is now automatically selected by archlinux-java-run during the build process even when Java 14 is set as the default. Thanks to Bevan for the suggestion! Once built, the program runs fine also with Java 14.

Cobra commented on 2020-07-05 13:10 (UTC)

@Bevan You're absolutely right, and since 14 is the current version, that's actually a very likely scenario. archlinux-java-run will allow us to have 14 as the default, and free us from the need to switch to a previous version (and back) just to build portfolio. I'll implement the line

export JAVA_HOME=$(archlinux-java-run --min 8 --max 13 --java-home)

in the next PKGBUILD, together with the modified makedepends shown below.

Thanks a lot for your help!