blob: 3677f7e72ece82052539ab14b530f428eb31d78f (
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
55
56
|
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Lib and CLI for archive.org - for search, uploading, downloading, rename etc"
HOMEPAGE="https://github.com/jjjake/internetarchive"
SRC_URI="https://github.com/jjjake/internetarchive/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/jsonpatch[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/schema[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/responses[${PYTHON_USEDEP}]
)
"
# Because they want internet
EPYTEST_DESELECT=(
tests/cli/test_ia_download.py::test_checksum
tests/cli/test_ia_download.py::test_checksum_archive
tests/cli/test_ia_download.py::test_clobber
tests/cli/test_ia_download.py::test_destdir
tests/cli/test_ia_download.py::test_dry_run
tests/cli/test_ia_download.py::test_exclude
tests/cli/test_ia_download.py::test_format
tests/cli/test_ia_download.py::test_glob
tests/cli/test_ia_download.py::test_https
tests/cli/test_ia_download.py::test_no_args
tests/cli/test_ia_download.py::test_no_directories
tests/cli/test_ia_download.py::test_on_the_fly_format
tests/cli/test_ia_upload.py::test_ia_upload_invalid_identifier
tests/test_api.py::test_get_item_request_kwargs_timeout
tests/test_files.py::test_item_download_range_jobs_no_separator
tests/test_files.py::test_item_download_range_jobs_sends_ranges_in_order
tests/test_files.py::test_range_jobs_forward_caller_headers
tests/test_files.py::test_range_jobs_surface_download_errors
tests/test_item.py::test_download_ignore_errors
tests/test_session.py::test_cookies
tests/test_session.py::test_s3_is_overloaded
)
distutils_enable_tests pytest
|