mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
dev-python/internetarchive: python 3.13 add, tests fix
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru> Part-of: https://github.com/gentoo/guru/pull/334 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
committed by
Lucio Sauer
parent
9911a9dfce
commit
956a1ef2a8
@@ -1 +1 @@
|
||||
DIST v3.7.0.tar.gz 145990 BLAKE2B f4832193fde0afdfd6ea1af46d0dea08abd73e56b5d799eb4e9a1b6424f95dbb6b1d0bc3d25fe0ae2bda7edcd003cfbff97c941a313018d4fb83bb562e30c121 SHA512 56554c3001f21ce770fd44ed2628b2fac40b96bcd5370935604c1fec465fd5a44be4a89ffa119cbd6f01be805161fe2fac93375d96f59d2ed38ff6418d5da714
|
||||
DIST internetarchive-3.7.0.gh.tar.gz 145990 BLAKE2B f4832193fde0afdfd6ea1af46d0dea08abd73e56b5d799eb4e9a1b6424f95dbb6b1d0bc3d25fe0ae2bda7edcd003cfbff97c941a313018d4fb83bb562e30c121 SHA512 56554c3001f21ce770fd44ed2628b2fac40b96bcd5370935604c1fec465fd5a44be4a89ffa119cbd6f01be805161fe2fac93375d96f59d2ed38ff6418d5da714
|
||||
|
||||
@@ -1,21 +1,19 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Lib and CLI for archive.org - for search, uploading, downloading, rename..."
|
||||
HOMEPAGE="https://github.com/jjjake/internetarchive"
|
||||
SRC_URI="https://github.com/jjjake/$PN/archive/refs/tags/v$PV.tar.gz"
|
||||
SRC_URI="https://github.com/jjjake/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/charset-normalizer[${PYTHON_USEDEP}]
|
||||
dev-python/docopt[${PYTHON_USEDEP}]
|
||||
@@ -26,6 +24,36 @@ RDEPEND="
|
||||
dev-python/urllib3[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "See documentation at https://archive.org/developers/internetarchive/"
|
||||
}
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# Because they want internet
|
||||
EPYTEST_DESELECT=(
|
||||
tests/cli/test_ia.py::test_ia
|
||||
tests/cli/test_ia_download.py::test_no_args
|
||||
tests/cli/test_ia_download.py::test_no_change_timestamp
|
||||
tests/cli/test_ia_download.py::test_https
|
||||
tests/cli/test_ia_download.py::test_dry_run
|
||||
tests/cli/test_ia_download.py::test_glob
|
||||
tests/cli/test_ia_download.py::test_exclude
|
||||
tests/cli/test_ia_download.py::test_format
|
||||
tests/cli/test_ia_download.py::test_on_the_fly_format
|
||||
tests/cli/test_ia_download.py::test_clobber
|
||||
tests/cli/test_ia_download.py::test_checksum
|
||||
tests/cli/test_ia_download.py::test_checksum_archive
|
||||
tests/cli/test_ia_download.py::test_no_directories
|
||||
tests/cli/test_ia_download.py::test_destdir
|
||||
tests/cli/test_ia_upload.py::test_ia_upload_invalid_identifier
|
||||
tests/test_api.py::test_get_item_with_kwargs
|
||||
tests/test_api.py::test_upload_validate_identifier
|
||||
tests/test_item.py::test_download_ignore_errors
|
||||
tests/test_item.py::test_upload_validate_identifier
|
||||
tests/test_item.py::test_upload_automatic_size_hint
|
||||
tests/test_session.py::test_s3_is_overloaded
|
||||
tests/test_session.py::test_cookies
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user