summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Schwartz2021-02-28 15:54:52 -0500
committerEli Schwartz2021-02-28 15:54:52 -0500
commit984fb0e092263dc4d4d077e4ae9f5d8b82188cc4 (patch)
treeb6a6f93075fabfcffc695690683ddba6fa723cee
parent9ed68436074788295839e77ff3029eff99bdbcec (diff)
downloadaur-984fb0e092263dc4d4d077e4ae9f5d8b82188cc4.tar.gz
fanficfare-git: simplify depends declaration
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD4
2 files changed, 2 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 53ad30927a5d..206f16873666 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,6 @@ pkgbase = fanficfare-git
arch = any
license = Apache
makedepends = git
- depends = python
depends = python-beautifulsoup4
depends = python-chardet
depends = python-cloudscraper
diff --git a/PKGBUILD b/PKGBUILD
index 7dd2114a66e9..959d3c0b350c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,8 @@ pkgdesc="A tool for downloading fanfiction to eBook formats"
arch=('any')
url="https://github.com/JimmXinu/${_pkgname}"
license=('Apache')
-depends=('python' 'python-beautifulsoup4' 'python-chardet' 'python-cloudscraper' 'python-html5lib'
- 'python-html2text')
+_deps=('beautifulsoup4' 'chardet' 'cloudscraper' 'html5lib' 'html2text')
+depends=("${_deps[@]/#/python-}")
makedepends=('git')
optdepends=('python-pillow: support for converting/resizing story images and covers')
provides=("${pkgname%-git}")