diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-26 07:33:08 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2021-10-26 09:52:16 +0300 |
commit | bc0e601691996067d82f5b0be8536a7d76ffcdbd (patch) | |
tree | adb2febf4104d1d35c2af2d0c83566b7d44c8584 /net-misc | |
parent | net-misc/s3cmd: add github upstream metadata (diff) | |
download | gentoo-bc0e601691996067d82f5b0be8536a7d76ffcdbd.tar.gz gentoo-bc0e601691996067d82f5b0be8536a7d76ffcdbd.tar.bz2 gentoo-bc0e601691996067d82f5b0be8536a7d76ffcdbd.zip |
net-misc/s3cmd: enable py3.10
Also add a die for the rm, and remove the force flag
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/s3cmd/s3cmd-2.2.0.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/net-misc/s3cmd/s3cmd-2.2.0.ebuild b/net-misc/s3cmd/s3cmd-2.2.0.ebuild index e69e258d6648..8929a783c3fb 100644 --- a/net-misc/s3cmd/s3cmd-2.2.0.ebuild +++ b/net-misc/s3cmd/s3cmd-2.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 python3_8 python3_9 ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="xml" inherit distutils-r1 @@ -11,6 +11,7 @@ inherit distutils-r1 DESCRIPTION="Command line client for Amazon S3" HOMEPAGE="https://s3tools.org/s3cmd" SRC_URI="mirror://sourceforge/s3tools/${P/_/-}.tar.gz" +S="${WORKDIR}/${P/_/-}" LICENSE="GPL-2" SLOT="0" @@ -24,11 +25,7 @@ RDEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] " -S="${WORKDIR}/${P/_/-}" - -PATCHES=( ) - src_install() { distutils-r1_src_install - rm -rf "${ED}/usr/share/doc/packages" + rm -r "${ED}/usr/share/doc/packages" || die } |