Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
447702a65c
!8 Update package to version 3.2.2
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-06-02 01:15:09 +00:00
jxy_git
9bdf00f20c Update package to version 3.2.2 2023-06-01 14:18:46 +08:00
openeuler-ci-bot
2beb46d3bd
!7 UpdatePackage
From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-12-03 08:26:41 +00:00
Wangjunqi123
b977b5ce3a update version to 3.2.1 2022-12-01 17:00:32 +08:00
openeuler-ci-bot
5cd848b4ed
!6 License compliance rectification
From: @xigaoxinyan 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-05-16 09:31:28 +00:00
xigaoxinyan
ca68751abb License compliance rectification 2022-05-10 16:10:15 +08:00
openeuler-ci-bot
9051d0f66f !2 修正仓库初始化中yaml中separator字段拼写错误
From: @zhengyaohui
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
2021-09-22 07:10:06 +00:00
zhengyaohui
71605a8675 spelling mistakes; 2021-09-18 10:40:56 +08:00
openeuler-ci-bot
df78eea9c4 !1 Package init
From: @zhengyaohui
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2021-09-15 07:07:39 +00:00
zhengyaohui
5e5b698627 Package init 2021-09-15 09:37:03 +08:00
3 changed files with 109 additions and 0 deletions

BIN
httpie-3.2.2.tar.gz Normal file

Binary file not shown.

105
python-httpie.spec Normal file
View File

@ -0,0 +1,105 @@
%global _empty_manifest_terminate_build 0
Name: python-httpie
Version: 3.2.2
Release: 1
Summary: HTTPie: command-line HTTP client for the API era.
License: BSD-3-Clause
URL: https://httpie.io/
Source0: https://files.pythonhosted.org/packages/09/e0/11680a5c0d94742122835330b3250f91a3a5066970872e111cb3ac5ce204/httpie-3.2.2.tar.gz
BuildArch: noarch
%description
HTTPie (pronounced _aitch-tee-tee-pie_) is a command-line HTTP client.
Its goal is to make CLI interaction with web services as human-friendly as possible.
HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers.
The `http` & `https` commands allow for creating and sending arbitrary HTTP requests.
They use simple and natural syntax and provide formatted and colorized output.
%package -n python3-httpie
Summary: HTTPie: command-line HTTP client for the API era.
Provides: python-httpie = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-rich
Requires: python3-pip
Requires: python3-charset-normalizer
Requires: python3-defusedxml
Requires: python3-requests
Requires: python3-pygments
Requires: python3-requests-toolbelt
Requires: python3-multidict
Requires: python3-setuptools
Requires: python3-rich
Requires: python3-importlib-metadata
Requires: python3-colorama
%description -n python3-httpie
HTTPie (pronounced _aitch-tee-tee-pie_) is a command-line HTTP client.
Its goal is to make CLI interaction with web services as human-friendly as possible.
HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers.
The `http` & `https` commands allow for creating and sending arbitrary HTTP requests.
They use simple and natural syntax and provide formatted and colorized output.
%package help
Summary: Development documents and examples for httpie
Provides: python3-httpie-doc
%description help
HTTPie (pronounced _aitch-tee-tee-pie_) is a command-line HTTP client.
Its goal is to make CLI interaction with web services as human-friendly as possible.
HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers.
The `http` & `https` commands allow for creating and sending arbitrary HTTP requests.
They use simple and natural syntax and provide formatted and colorized output.
%prep
%autosetup -n httpie-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-httpie -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu Jun 01 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.2.2-1
- Update package to version 3.2.2
* Wed Nov 02 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.2.1-1
- Update package to version 3.2.1
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 2.5.0-2
- License compliance rectification
* Sun Sep 12 2021 Python_Bot <Python_Bot@openeuler.org> - 2.5.0-1
- Package Spec generated

4
python-httpie.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: httpie
tag_prefix:
separator: "."