dev-python/internetarchive: new package - official Python lib and CLI for archive.org

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-04-02 03:01:17 +04:00
parent 1db8add591
commit d44f4a403b
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST v3.7.0.tar.gz 145990 BLAKE2B f4832193fde0afdfd6ea1af46d0dea08abd73e56b5d799eb4e9a1b6424f95dbb6b1d0bc3d25fe0ae2bda7edcd003cfbff97c941a313018d4fb83bb562e30c121 SHA512 56554c3001f21ce770fd44ed2628b2fac40b96bcd5370935604c1fec465fd5a44be4a89ffa119cbd6f01be805161fe2fac93375d96f59d2ed38ff6418d5da714

View File

@@ -0,0 +1,31 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
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"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
dev-python/charset-normalizer[${PYTHON_USEDEP}]
dev-python/docopt[${PYTHON_USEDEP}]
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}]
"
pkg_postinst() {
einfo "See documentation at https://archive.org/developers/internetarchive/"
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zdanevich.vitaly@ya.ru</email>
<name>Vitaly Zdanevich</name>
</maintainer>
<upstream>
<remote-id type="github">jjjake/internetarchive</remote-id>
<remote-id type="pypi">internetarchive</remote-id>
</upstream>
</pkgmetadata>