Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
[update to 0.12.3] Fix a warning under Python 3.7
Browse files Browse the repository at this point in the history
Felix Yan (1):
      Fix a warning under Python 3.7

Sergey Shepelev (5):
      v0.12.1 release
      release: clean --all helps to make wheels httplib2/httplib2#29
      travis: upgrade service jobs python 3.6 -> 3.7 for no good reason; fix indent in script/release
      release non-universal wheels
      v0.12.3 release
  • Loading branch information
fenrus75 authored and djklimes committed May 6, 2019
1 parent d2b0bf3 commit 64ac7fb
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := httplib2
URL = https://files.pythonhosted.org/packages/75/d0/f213003c9deec99fb4f46e54580b93a3b121c487d9d6d888fc12267eb2a2/httplib2-0.12.1.tar.gz
URL = https://files.pythonhosted.org/packages/67/33/29779c5aaeac796679a37bf798b3c2adbfaae7dbf13e966b0ab9c3aa06c0/httplib2-0.12.3.tar.gz
ARCHIVES =

include ../common/Makefile.common
41 changes: 17 additions & 24 deletions httplib2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : httplib2
Version : 0.12.1
Release : 44
URL : https://files.pythonhosted.org/packages/75/d0/f213003c9deec99fb4f46e54580b93a3b121c487d9d6d888fc12267eb2a2/httplib2-0.12.1.tar.gz
Source0 : https://files.pythonhosted.org/packages/75/d0/f213003c9deec99fb4f46e54580b93a3b121c487d9d6d888fc12267eb2a2/httplib2-0.12.1.tar.gz
Version : 0.12.3
Release : 45
URL : https://files.pythonhosted.org/packages/67/33/29779c5aaeac796679a37bf798b3c2adbfaae7dbf13e966b0ab9c3aa06c0/httplib2-0.12.3.tar.gz
Source0 : https://files.pythonhosted.org/packages/67/33/29779c5aaeac796679a37bf798b3c2adbfaae7dbf13e966b0ab9c3aa06c0/httplib2-0.12.3.tar.gz
Summary : A comprehensive HTTP client library.
Group : Development/Tools
License : MIT
Expand All @@ -15,24 +15,10 @@ Requires: httplib2-python3 = %{version}-%{release}
BuildRequires : buildreq-distutils3

%description
A comprehensive HTTP client library, ``httplib2`` supports many features left out of other HTTP libraries.

**HTTP and HTTPS**
HTTPS support is only available if the socket module was compiled with SSL support.


**Keep-Alive**
Supports HTTP 1.1 Keep-Alive, keeping the socket open and performing multiple requests over the same connection if possible.


**Authentication**
The following three types of HTTP Authentication are supported. These can be used over both HTTP and HTTPS.

* Digest
* Basic
* WSSE

**Caching**
Introduction
============
httplib2 is a comprehensive HTTP client library, httplib2.py supports many
features left out of other HTTP libraries.

%package python
Summary: python components for the httplib2 package.
Expand All @@ -53,14 +39,21 @@ python3 components for the httplib2 package.


%prep
%setup -q -n httplib2-0.12.1
%setup -q -n httplib2-0.12.3

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1550190564
export SOURCE_DATE_EPOCH=1557017008
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
export CFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FCFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export FFLAGS="$CFLAGS -O3 -ffat-lto-objects -flto=4 "
export CXXFLAGS="$CXXFLAGS -O3 -ffat-lto-objects -flto=4 "
export MAKEFLAGS=%{?_smp_mflags}
python3 setup.py build

Expand Down
6 changes: 3 additions & 3 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = httplib2
url = https://files.pythonhosted.org/packages/75/d0/f213003c9deec99fb4f46e54580b93a3b121c487d9d6d888fc12267eb2a2/httplib2-0.12.1.tar.gz
url = https://files.pythonhosted.org/packages/67/33/29779c5aaeac796679a37bf798b3c2adbfaae7dbf13e966b0ab9c3aa06c0/httplib2-0.12.3.tar.gz
archives =
giturl = https://github.com/httplib2/httplib2.git

Expand All @@ -12,7 +12,7 @@ allow_test_failures = false
# unset %build ld_as_needed variable
asneeded = false
# this package is trusted enough to automatically update (used by other tools)
autoupdate = false
autoupdate = true
# extend flags with '-std=gnu++98
broken_c++ = false
# disable parallelization during build
Expand Down Expand Up @@ -52,7 +52,7 @@ use_avx512 = false
# add clang flags
use_clang = false
# configure build for lto
use_lto = false
use_lto = true
# require package verification for build
verify_required = false

2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
44
45
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aa51836e10eddf66869e2534dffa02e7a80bfe78/httplib2-0.12.1.tar.gz
d5aabd09dae672f90e278d386a42cd2168c29440/httplib2-0.12.3.tar.gz
1 change: 1 addition & 0 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This file contains recursive sources that require this package
certbot
gabbi
glance
google-api-python-client
horizon
httpretty
Expand Down

0 comments on commit 64ac7fb

Please sign in to comment.