diff options
author | xiota | 2023-01-17 16:37:06 -0800 |
---|---|---|
committer | xiota | 2023-01-17 16:40:00 -0800 |
commit | 46f90bb830c4664c9141632bb6c1a49c9919828c (patch) | |
tree | c8cb63b6b5a5035696b7a4ca093267e3c1ba6eda | |
parent | 0b03a602dda97bfebbce0ea6b0f81a5f2d2b0aec (diff) | |
download | aur-46f90bb830c4664c9141632bb6c1a49c9919828c.tar.gz |
do not require runtime depends when building package
remove python-importlib-metadata from depends,
used only as a fallback on old versions of python
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 8 insertions, 6 deletions
@@ -9,13 +9,13 @@ pkgbase = catt-git makedepends = python-installer makedepends = python-poetry makedepends = python-setuptools - depends = python-click - depends = python-importlib-metadata - depends = python-pychromecast>=7.5.0 - depends = yt-dlp + optdepends = python-importlib-metadata: for library bindings provides = catt conflicts = catt source = catt::git+https://github.com/skorokithakis/catt sha256sums = SKIP pkgname = catt-git + depends = python-click + depends = python-pychromecast>=7.5.0 + depends = yt-dlp @@ -8,9 +8,9 @@ pkgdesc='Cast All The Things - Send videos from many, many online sources to you arch=('any') url="https://github.com/skorokithakis/catt" license=('BSD') -depends=( +depends=() # needed to run *and* build +_rundepends=( # needed to run, but not build 'python-click' - 'python-importlib-metadata' 'python-pychromecast>=7.5.0' 'yt-dlp' ) @@ -36,6 +36,8 @@ build() { } package() { + depends=(${_rundepends[@]}) # needed to run, but not build + cd "$_pkgname" install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE |