!2 Package init

From: @lyn1001
Reviewed-by: @hht8,@hht8,@small_leek,@shinwell_hu
Signed-off-by:
This commit is contained in:
openeuler-ci-bot 2020-11-16 17:58:08 +08:00 committed by Gitee
commit 818fcdf476
3 changed files with 50 additions and 0 deletions

BIN
1.16.17.tar.gz Normal file

Binary file not shown.

45
python-boto3.spec Normal file
View File

@ -0,0 +1,45 @@
%global pypi_name boto3
Name: python-%{pypi_name}
Version: 1.16.17
Release: 1
Summary: The AWS SDK for Python
License: ASL 2.0
URL: https://github.com/boto/boto3
Source0: https://github.com/boto/boto3/archive/%{version}.tar.gz
BuildArch: noarch
%description
Boto3 is the Amazon Web Services (AWS) Software Development
Kit (SDK) for Python, which allows Python developers to
write software that makes use of services like Amazon S3
and Amazon EC2.
%package -n python3-%{pypi_name}
Summary: The AWS SDK for Python
BuildRequires: python3-devel python3-setuptools
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
Boto3 is the Amazon Web Services (AWS) Software Development
Kit (SDK) for Python, which allows Python developers to
write software that makes use of services like Amazon S3
and Amazon EC2.
%prep
%setup -q -n %{pypi_name}-%{version}
rm -rf %{pypi_name}.egg-info
rm -rf tests/integration
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%doc README.rst
%license LICENSE
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-*.egg-info/
%changelog
* Mon Nov 16 2020 yanan li <liyanan32@huawei.com> - 1.16.17-1
- Package init

5
python-boto3.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/boto/boto3.git
version_control: github
src_repo: boto/boto3
tag_prefix: ""
separator: "."