aboutsummaryrefslogtreecommitdiffstats
path: root/app-misc/animdl/animdl-1.17.20.ebuild
blob: ca1be2ebe4b67719e8d717ce5f7f0a7590de577e (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
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_11 )
inherit distutils-r1

DESCRIPTION="A highly efficient, powerful and fast anime scraper."
HOMEPAGE="https://github.com/justfoolingaround/animdl"

if [[ "${PV}" == *9999* ]]; then
	EGIT_REPO_URI="https://github.com/justfoolingaround/animdl.git"
	inherit git-r3
else
	SRC_URI="https://cdn.turret.cyou/c365419da26d2dcd371397282ae64027e3fc5f3c/animdl-1.17.20.tar.xz"
	KEYWORDS="~amd64"
fi

LICENSE="GPL-3"
SLOT="0"
RESTRICT="mirror"

DEPEND="${PYTHON_DEPS}
		dev-python/pip
		dev-python/poetry-core
		dev-python/anchor-kr
		dev-python/anitopy
		dev-python/click
		dev-python/cssselect
		dev-python/httpx
		dev-python/tqdm
		dev-python/pycryptodomex
		dev-python/regex
		dev-python/yarl
		dev-python/pyyaml
		dev-python/packaging
		dev-python/pkginfo
		dev-python/rich"
RDEPEND="${DEPEND}"
BDEPEND="${DEPEND}"

src_unpack() {
	default
	mv "${PN}" "${P}" || die
}