forked from pool/python-requests-file
Accepting request 494496 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version. - Fix source URL. - Update to version 1.4.2 OBS-URL: https://build.opensuse.org/request/show/494496 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-file?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 11 01:28:32 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Implement single-spec version.
|
||||||
|
- Fix source URL.
|
||||||
|
- Update to version 1.4.2
|
||||||
|
* Set the response URL to the request URL
|
||||||
|
- Update to version 1.4.1
|
||||||
|
* Add a wheel distribution
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 2 19:17:40 UTC 2016 - toddrme2178@gmail.com
|
Tue Feb 2 19:17:40 UTC 2016 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-requests-file
|
# spec file for package python-requests-file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,24 +16,26 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-requests-file
|
Name: python-requests-file
|
||||||
Version: 1.4
|
Version: 1.4.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: File transport adapter for Requests
|
Summary: File transport adapter for Requests
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/dashea/requests-file
|
Url: http://github.com/dashea/requests-file
|
||||||
Source: https://pypi.python.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz
|
||||||
BuildRequires: python-devel
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-requests
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module requests}
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Requests-File is a transport adapter for use with the Requests Python
|
Requests-File is a transport adapter for use with the Requests Python
|
||||||
@@ -43,15 +45,18 @@ library to allow local filesystem access via file:// URLs.
|
|||||||
%setup -q -n requests-file-%{version}
|
%setup -q -n requests-file-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
python setup.py test
|
%python_exec setup.py test
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
3
requests-file-1.4.2.tar.gz
Normal file
3
requests-file-1.4.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f518e7cfe048e053fd1019dfb891b4c55b871c56c5a31693d733240c80b8f191
|
||||||
|
size 5161
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d6912b19971d3f11a5f258640705cedc7df9eb5a3b9d58c9ce3367b4a9261bc8
|
|
||||||
size 5137
|
|
Reference in New Issue
Block a user