You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
687 B
30 lines
687 B
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
PYTHON_COMPAT=( python3_7 python3_8 python3_9 python3_10 )
|
||
|
PYTHON_REQ_USE="xml"
|
||
|
|
||
|
inherit distutils-r1 bash-completion-r1
|
||
|
|
||
|
DESCRIPTION="Super S3 command line tool"
|
||
|
HOMEPAGE="https://github.com/bloomreach/s4cmd"
|
||
|
SRC_URI="https://github.com/bloomreach/s4cmd/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||
|
dev-python/boto3[${PYTHON_USEDEP}]"
|
||
|
|
||
|
S="${WORKDIR}/${P/_/-}"
|
||
|
|
||
|
src_install() {
|
||
|
distutils-r1_src_install
|
||
|
dobashcomp data/bash-completion/s4cmd
|
||
|
rm -f "${D}"/usr/bin/s4cmd.py
|
||
|
}
|