From 9f42c01a766a75a3ee5e86f8e04dfc027dd1e363 Mon Sep 17 00:00:00 2001 From: Robert Lowry Date: Thu, 9 May 2019 23:31:13 -0500 Subject: [PATCH] New package: python-s3transfer-0.2.0 --- srcpkgs/python-botocore/template | 2 +- srcpkgs/python-s3transfer/template | 31 ++++++++++++++++++++++++++++++ srcpkgs/python3-s3transfer | 1 + 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python-s3transfer/template create mode 120000 srcpkgs/python3-s3transfer diff --git a/srcpkgs/python-botocore/template b/srcpkgs/python-botocore/template index af04e4c7043..15ef107f79c 100644 --- a/srcpkgs/python-botocore/template +++ b/srcpkgs/python-botocore/template @@ -25,7 +25,7 @@ python3-botocore_package() { depends="python3-dateutil python3-docutils python3-jmespath python3-urllib3" short_desc="${short_desc/Python2/Python3}" pkg_install() { - "vmove usr/lib/python3*" + vmove "usr/lib/python3*" vlicense LICENSE.txt } } diff --git a/srcpkgs/python-s3transfer/template b/srcpkgs/python-s3transfer/template new file mode 100644 index 00000000000..0072389ca26 --- /dev/null +++ b/srcpkgs/python-s3transfer/template @@ -0,0 +1,31 @@ +# Template file for 'python-s3transfer' +pkgname=python-s3transfer +version=0.2.0 +revision=1 +archs=noarch +wrksrc="s3transfer-${version}" +build_style=python-module +pycompile_module="s3transfer" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-botocore" +short_desc="Amazon S3 Transfer Manager (Python2)" +maintainer="Robert Lowry " +license="Apache-2.0" +homepage="https://github.com/boto/s3transfer" +distfiles="https://github.com/boto/s3transfer/archive/${version}.tar.gz" +checksum=fe96e25f89f405e22a0283df8eefe1b0d2c998eab01c6c8f39923e16faf78522 + +post_install() { + vlicense LICENSE.txt +} + +python3-s3transfer_package() { + archs=noarch + depends="python3-botocore" + pycompile_module="s3transfer" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove "usr/lib/python3*" + vlicense LICENSE.txt + } +} diff --git a/srcpkgs/python3-s3transfer b/srcpkgs/python3-s3transfer new file mode 120000 index 00000000000..f9f265aecc6 --- /dev/null +++ b/srcpkgs/python3-s3transfer @@ -0,0 +1 @@ +python-s3transfer \ No newline at end of file