diff options
author | Götz Christ | 2020-12-05 12:52:16 -0500 |
---|---|---|
committer | Götz Christ | 2020-12-05 12:52:37 -0500 |
commit | 8fd5a4f9bb70cd81d92291cd45778a7794e62df3 (patch) | |
tree | 93c93e456c500dcdac3e8ee87897827547531d13 | |
parent | 03cab6dee1bf1050525e86ed3a74b517524a60fc (diff) | |
download | aur-8fd5a4f9bb70cd81d92291cd45778a7794e62df3.tar.gz |
Patch to work with newer prompt-toolkit
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | Makefile | 28 | ||||
-rw-r--r-- | PKGBUILD | 6 |
3 files changed, 34 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = pytify pkgdesc = A Python CLI application for controlling Spotify. pkgver = 3.6.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/bjarneo/Pytify arch = any license = MIT @@ -11,7 +11,7 @@ pkgbase = pytify depends = python-prompt_toolkit options = !emptydirs source = pytify-3.6.3.tar.gz::https://github.com/bjarneo/pytify/archive/v3.6.3.tar.gz - md5sums = b4c4be64a7704207110aea6cc185d12e + sha256sums = 43d6b596c64c04e5a99a2f79510422f2dcb8d8f1c52f52a42a4b4b1035a69cd5 pkgname = pytify diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..8a02706c1167 --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +all: clean build git install + +clean: + rm -r src pkg || true + +geninteg: + sed -i '/.*sums=(/,$$d' PKGBUILD + makepkg --geninteg >> PKGBUILD + +srcinfo: + makepkg --printsrcinfo > .SRCINFO + +makepkg: + makepkg -s + +build: geninteg srcinfo makepkg + +git: git_add git_commit + +git_add: + git add PKGBUILD .SRCINFO + +git_commit: VERSION = $(shell grep pkgver .SRCINFO | cut -d '=' -f 2 | tr -d '[:space:]') +git_commit: + git commit -m "Update to ${VERSION}" + +install: + makepkg --install @@ -2,7 +2,7 @@ pkgname=pytify pkgver=3.6.3 -pkgrel=1 +pkgrel=2 pkgdesc='A Python CLI application for controlling Spotify.' arch=(any) url='https://github.com/bjarneo/Pytify' @@ -16,6 +16,7 @@ prepare() { cd "Pytify-${pkgver}" sed \ -e 's/spotipy ~= 2.3.8/spotipy >= 2.4.4/' \ + -e 's/prompt-toolkit ~= 2.0.9/prompt-toolkit >= 3.0/' \ -i requirements.txt } @@ -28,4 +29,5 @@ package() { cd "Pytify-${pkgver}" python setup.py install --root="$pkgdir/" --skip-build --optimize=1 } -md5sums=('b4c4be64a7704207110aea6cc185d12e') + +sha256sums=('43d6b596c64c04e5a99a2f79510422f2dcb8d8f1c52f52a42a4b4b1035a69cd5') |