diff --git a/srcpkgs/python-botocore/template b/srcpkgs/python-botocore/template new file mode 100644 index 00000000000..af04e4c7043 --- /dev/null +++ b/srcpkgs/python-botocore/template @@ -0,0 +1,31 @@ +# Template file for 'python-botocore' +pkgname=python-botocore +version=1.12.145 +revision=1 +archs=noarch +wrksrc="botocore-${version}" +build_style=python-module +pycompile_module="botocore" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-dateutil python-docutils python-jmespath python-urllib3" +short_desc="Core functionality library of boto 3 (Python2)" +maintainer="Robert Lowry " +license="Apache-2.0" +homepage="https://github.com/boto/botocore" +distfiles="https://github.com/boto/botocore/archive/${version}.tar.gz" +checksum=c23cfc8beee3aad86e659199bc69280eb6638e2047808b74b538aa6cbd21eaeb + +post_install() { + vlicense LICENSE.txt +} + +python3-botocore_package() { + archs=noarch + pycompile_module="botocore" + depends="python3-dateutil python3-docutils python3-jmespath python3-urllib3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + "vmove usr/lib/python3*" + vlicense LICENSE.txt + } +} diff --git a/srcpkgs/python3-botocore b/srcpkgs/python3-botocore new file mode 120000 index 00000000000..e4216cb4265 --- /dev/null +++ b/srcpkgs/python3-botocore @@ -0,0 +1 @@ +python-botocore \ No newline at end of file