diff options
author | Brody | 2022-03-31 20:24:01 +0200 |
---|---|---|
committer | Brody | 2022-03-31 20:24:01 +0200 |
commit | fd6783efb41d79e9ad1a936be7ceb3c76820a315 (patch) | |
tree | b0199721ea53883710f0c443c1e5f6d06c02633a | |
parent | eca59367f29ea11372ea9f6ac309c50bbea2d61a (diff) | |
download | aur-fd6783efb41d79e9ad1a936be7ceb3c76820a315.tar.gz |
Remove strict PyYaml version dependency (thanks @ishaanbhimwal)
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = konsave pkgdesc = Save and apply your KDE Plasma customizations with just one command! pkgver = 2.1.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/Prayag2/konsave arch = any license = GPL3 @@ -4,16 +4,24 @@ pkgname=konsave pkgver=2.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="Save and apply your KDE Plasma customizations with just one command!" url="https://github.com/Prayag2/${pkgname}" -depends=('python' 'python-pyaml') +depends=( + 'python' + 'python-pyaml' +) makedepends=('python-setuptools-scm') license=('GPL3') arch=('any') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha512sums=('291d33e12b9e038257a44015948f8c823872888b12b37f3a2f388cc28d9374bff81f7316098a98f1b460cd8efe7d1f3521999939315487ff0033bac9eb47caea') +prepare() { + cd "${pkgname}-${pkgver}" + sed -i 's/PyYaml==5.4.1/PyYaml>=5.4.1/g' requirements.txt +} + build() { export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" cd "${pkgname}-${pkgver}" |