diff --git a/README.en.md b/README.en.md index 5481a347e5ebec0edbb48bbfb96a0f0b88c97d33..77591daa357816e5323addb347ffc1e66b83ac04 100644 --- a/README.en.md +++ b/README.en.md @@ -2,35 +2,3 @@ #### Description WSGI request and response object - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index c0869d4b8ebd5ea448c0820f3124080a972231d2..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# python-webob - -#### 介绍 -WSGI request and response object - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/WebOb-1.8.2.tar.gz b/WebOb-1.8.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a9d42c6e902ecd38a3020f78e9472856c3a40b8f Binary files /dev/null and b/WebOb-1.8.2.tar.gz differ diff --git a/python-webob.spec b/python-webob.spec new file mode 100644 index 0000000000000000000000000000000000000000..e97138f53f6edc2b18864173b0576e113cb8612f --- /dev/null +++ b/python-webob.spec @@ -0,0 +1,87 @@ +%{!?py3ver: %global py3ver %(%{__python3} -c "import sys ; print(sys.version[:3])")} + +Name: python-webob +Summary: WSGI request and response object +Version: 1.8.2 +Release: 3 +License: MIT +Group: System Environment/Libraries +URL: http://pythonpaste.org/webob/ +Source0: https://files.pythonhosted.org/packages/source/W/WebOb/WebOb-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python2-devel python2-setuptools +BuildRequires: python2-nose python2-pytest +BuildRequires: python3-devel python3-setuptools +BuildRequires: python3-nose python3-pytest + +%description +WebOb is a Python library that provides wrappers around +the WSGI request environment, and an object to help +create WSGI responses. The objects map much of the specified +behavior of HTTP, including header parsing, content +negotiation and correct handling of conditional and range requests. + +This helps you create rich applications and valid +middleware without knowing all the complexities of WSGI and HTTP. + +%package -n python2-webob +Summary: %{summary} +Group: System Environment/Libraries +Requires: python2 +Provides: python-webob1.2 = %{version}-%{release} +Obsoletes: python-webob1.2 < 1.2.3-7 + +%{?python_provide:%python_provide python2-webob} + +%description -n python2-webob +WebOb is a Python library that provides wrappers around the WSGI request environment, +and an object to help create WSGI responses. + +%package -n python3-webob +Summary: %{summary} +Group: System Environment/Libraries +Requires: python3 +Provides: python3-webob1.2 = %{version}-%{release} +Obsoletes: python3-webob1.2 < 1.2.3-7 + +%{?python_provide:%python_provide python3-webob} + +%description -n python3-webob +WebOb is a Python library that provides wrappers around the WSGI request environment, +and an object to help create WSGI responses. + +%prep +%setup -q -n WebOb-%{version} +%{__rm} -f tests/performance_test.py +rm docs/_static/.empty + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + +%check +export PYTHONPATH=%{buildroot}%{python2_sitelib} +py.test tests +export PYTHONPATH=%{buildroot}%{python3_sitelib} +py.test-3 tests + +%files -n python2-webob +%license docs/license.txt +%doc docs/* +%{python2_sitelib}/webob/ +%{python2_sitelib}/WebOb-*.egg-info + +%files -n python3-webob +%license docs/license.txt +%doc docs/* +%{python3_sitelib}/webob/ +%{python3_sitelib}/WebOb-%{version}-py%{py3ver}.egg-info + +%changelog +* Wed Dec 11 2019 openEuler Buildteam - 1.8.2-3 +- Package init