diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = gnucash-asx-fetch pkgdesc = Utility to fetch and add current ASX prices to one or more gnucash XML files - pkgver = 1.5 + pkgver = 1.6 pkgrel = 1 url = https://github.com/bulletmark/gnucash-asx-fetch arch = any @@ -9,8 +9,10 @@ pkgbase = gnucash-asx-fetch makedepends = python-build makedepends = python-installer makedepends = python-wheel + makedepends = python-setuptools-scm depends = python>=3.6 - source = gnucash-asx-fetch-1.5.tar.gz::https://github.com/bulletmark/gnucash-asx-fetch/archive/1.5.tar.gz - sha1sums = 8db2ae38705ffc6935382006eb3c383493bd5492 + depends = python-yfinance + source = gnucash-asx-fetch-1.6.tar.gz::https://github.com/bulletmark/gnucash-asx-fetch/archive/1.6.tar.gz + sha1sums = 3f06f570a91267c7eb8413780197fb01b13050fb pkgname = gnucash-asx-fetch @@ -1,19 +1,20 @@ # Maintainer: mark.blakeney at bullet-systems dot net pkgname=gnucash-asx-fetch -pkgver=1.5 +pkgver=1.6 pkgrel=1 pkgdesc="Utility to fetch and add current ASX prices to one or more gnucash XML files" url="https://github.com/bulletmark/$pkgname" license=(GPL3) arch=(any) -depends=("python>=3.6") -makedepends=(python-setuptools python-build python-installer python-wheel) +depends=("python>=3.6" "python-yfinance") +makedepends=(python-setuptools python-build python-installer + python-wheel python-setuptools-scm) source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") -sha1sums=('8db2ae38705ffc6935382006eb3c383493bd5492') +sha1sums=('3f06f570a91267c7eb8413780197fb01b13050fb') build() { cd "$srcdir/$pkgname-$pkgver" - python -m build --wheel --no-isolation + SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver" python -m build --wheel --no-isolation } package() { |