blob: c2c75d161c74a8ff760b94449348aa994e2927dc (
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
|
_pkgname=cyberdrop_dl
pkgname=cyberdropdownloader
pkgver=5.3.31
pkgrel=1
pkgdesc="Bulk downloader for multiple file hosts and forum sites"
arch=('any')
url="https://github.com/Jules-WinnfieldX/CyberDropDownloader"
license=('GPL-3.0-or-later')
depends=(
python-aiofiles
python-aiohttp
python-aiolimiter
python-aiosqlite
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-rich
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=('250154aed9dbe886395879d7a0fd36715decb5324d893cd474c72afbef00407c')
build(){
cd $_pkgname-$pkgver
python -m build --wheel --no-isolation
}
package(){
cd $_pkgname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
|