blob: b8836d4190e38af5fe2f1ab352c27beda21b5c4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
_pkgname=cyberdrop_dl_patched
pkgname=cyberdropdownloader
pkgver=6.1.0
pkgrel=1
pkgdesc="Bulk downloader for multiple file hosts and forum sites"
arch=('any')
url="https://github.com/jbsparrow/CyberDropDownloader"
license=('GPL-3.0-or-later')
depends=(
apprise
python-aiofiles
python-aiohttp
python-aiohttp-client-cache
python-aiolimiter
python-aiosqlite
python-arrow
python-asyncpraw
python-beautifulsoup4
python-browser-cookie3
python-certifi
python-filedate
python-get-video-properties
python-inquirerpy
python-mediafire
python-myjdapi
python-pillow
python-platformdirs
python-pydantic
python-rich
python-send2trash
python-yaml
)
makedepends=(
python-build
python-installer
python-poetry-core
python-wheel
)
optdepends=(
'flaresolverr: A proxy server to bypass Cloudflare protection'
)
conflicts=('cyberdrop-dl' 'cyberdrop-dl-git')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('59ce0e1d253cf76d6d4af83a14dfa13a6219e35242e9977da1d8ec5391a1485a')
build(){
cd $_pkgname-$pkgver
python -m build --wheel --no-isolation
}
package(){
cd $_pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|