Subdirectories 'requests-toolbelt ' relocated to repo 'stx-integ'
Story: 2006166 Task: 35687 Depends-On: I665dc7fabbfffc798ad57843eb74dca16e7647a3 Change-Id: I8bee1898cc7f81e9da1d130a8c33b4054d44b278 Signed-off-by: Scott Little <scott.little@windriver.com> Depends-On: I8f53bf7717282828e68cb3862b1ebb21e9f5f37d
This commit is contained in:
parent
78036250b6
commit
08df660b06
@ -1,12 +0,0 @@
|
||||
Metadata-Version: 1.1
|
||||
Name: requests-toolbelt
|
||||
Version: 0.5.1
|
||||
Summary: A utility belt for advanced users of python-requests
|
||||
Home-page: https://toolbelt.readthedocs.org/
|
||||
Author: Ian Cordasco, Cory Benfield
|
||||
License: Apache-2.0
|
||||
|
||||
Description: A utility belt for advanced users of python-requests
|
||||
|
||||
|
||||
Platform: UNKNOWN
|
@ -1,7 +0,0 @@
|
||||
VERSION=0.5.1
|
||||
TAR_NAME=requests-toolbelt
|
||||
TAR="$TAR_NAME-$VERSION.tar.gz"
|
||||
# SRC_DIR="$TAR_NAME-$VERSION"
|
||||
COPY_LIST="${CGCS_BASE}/downloads/$TAR"
|
||||
|
||||
TIS_PATCH_VER=1
|
@ -1,56 +0,0 @@
|
||||
Summary: A utility belt for advanced users of python-requests
|
||||
Name: requests-toolbelt
|
||||
Version: 0.5.1
|
||||
Release: 0%{?_tis_dist}.%{tis_patch_ver}
|
||||
License: Apache-2.0
|
||||
Group: base
|
||||
Packager: Wind River <info@windriver.com>
|
||||
URL: https://toolbelt.readthedocs.org/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
%define debug_package %{nil}
|
||||
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python2-pip
|
||||
BuildRequires: python2-wheel
|
||||
Requires: python-devel
|
||||
Requires: /bin/bash
|
||||
|
||||
%description
|
||||
A utility belt for advanced users of python-requests
|
||||
|
||||
%define pythonroot /usr/lib64/python2.7/site-packages
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
%py2_build_wheel
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --root=$RPM_BUILD_ROOT \
|
||||
--install-lib=%{pythonroot} \
|
||||
--prefix=/usr \
|
||||
--install-data=/usr/share \
|
||||
--single-version-externally-managed
|
||||
mkdir -p $RPM_BUILD_ROOT/wheels
|
||||
install -m 644 dist/*.whl $RPM_BUILD_ROOT/wheels/
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
%{pythonroot}/requests_toolbelt
|
||||
%{pythonroot}/requests_toolbelt-*.egg-info
|
||||
|
||||
%package wheels
|
||||
Summary: %{name} wheels
|
||||
|
||||
%description wheels
|
||||
Contains python wheels for %{name}
|
||||
|
||||
%files wheels
|
||||
/wheels/*
|
Loading…
Reference in New Issue
Block a user