# Maintainer: Valery Kartel # Contributor: Valery Kartel pkgname=py3-s3transfer _pkgname=s3transfer pkgver=0.6.1 pkgrel=1 pkgdesc="Amazon S3 Transfer Manager for Python" url="https://github.com/boto/s3transfer" arch="noarch" license="Apache-2.0" depends="py3-botocore" makedepends="py3-setuptools" checkdepends="py3-pytest py3-pytest-mock" subpackages="$pkgname-pyc" source="$_pkgname-$pkgver.tar.gz::https://github.com/boto/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces=py-s3transfer # Backwards compatibility provides=py-s3transfer=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { pytest tests/unit tests/functional } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" f7a298bc95ac8267f155065b924d8a799ce9173319db125aec3ed3e1c7d2c8cfc0af65c393eac634300e19e70733644816af4ede6a2a51fceaaa7bfb2163cbc3 s3transfer-0.6.1.tar.gz "