From e52e971ab60bbfb7fee00350305b7168b26e5cb1 Mon Sep 17 00:00:00 2001 From: Gennady Feldman Date: Mon, 1 Jan 2018 23:00:43 -0500 Subject: testing/s3cmd: new aport --- testing/s3cmd/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/s3cmd/APKBUILD (limited to 'testing/s3cmd') diff --git a/testing/s3cmd/APKBUILD b/testing/s3cmd/APKBUILD new file mode 100644 index 0000000000..0ab0063893 --- /dev/null +++ b/testing/s3cmd/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Gennady Feldman +# Maintainer: Gennady Feldman +pkgname=s3cmd +pkgver=2.0.1 +pkgrel=0 +pkgdesc="Command line tool for managing Amazon S3 and CloudFront services" +url="https://github.com/s3tools/s3cmd" +arch="noarch" +license="GPL-2.0" +depends="python3 py3-dateutil py3-magic" +makedepends="python3-dev py3-setuptools" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/s3tools/s3cmd/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="93cb4614016e0f2af655bc2f0d53d641a0baaa17060c8c46ee1690434a11e9bb038098710fdb4d2f0abfa9e1f850b45b25c722e554f1b7b88546104dcbf56f6a s3cmd-2.0.1.tar.gz" -- cgit v1.2.3