From bf859cd4b52e00abaf2147ef41ce940b6cfd1c43 Mon Sep 17 00:00:00 2001 From: Jakub Jedelsky Date: Fri, 25 Apr 2014 00:11:08 +0200 Subject: [PATCH 1/5] new version update --- .gitignore | 1 + sources | 2 +- vertica-python-0.2.0-version.patch | 13 ------------- vertica-python.spec | 13 +++++++------ 4 files changed, 9 insertions(+), 20 deletions(-) delete mode 100644 vertica-python-0.2.0-version.patch diff --git a/.gitignore b/.gitignore index 6e0eccb..79b8da4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /0.2.0.tar.gz +/0.2.1.tar.gz diff --git a/sources b/sources index 94d1f5b..6671a22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -da4f73d2d63e6253491977e80726ee85 0.2.0.tar.gz +487cb907da0d193f47c1538eda6d8e32 0.2.1.tar.gz diff --git a/vertica-python-0.2.0-version.patch b/vertica-python-0.2.0-version.patch deleted file mode 100644 index 001ab62..0000000 --- a/vertica-python-0.2.0-version.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/vertica_python/__init__.py b/vertica_python/__init__.py -index 487f376..ea24bf3 100644 ---- a/vertica_python/__init__.py -+++ b/vertica_python/__init__.py -@@ -24,7 +24,7 @@ from vertica_python.errors import TimedOutError, ConnectionError, SSLNotSupporte - # Main module for this library. - - # The version number of this library. --version_info = (0, 1, 9) -+version_info = (0, 2, 0) - __version__ = '.'.join(map(str, version_info)) - - __author__ = 'Uber Technologies, Inc' diff --git a/vertica-python.spec b/vertica-python.spec index 2f63cf0..00507eb 100644 --- a/vertica-python.spec +++ b/vertica-python.spec @@ -2,17 +2,16 @@ %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: vertica-python -Version: 0.2.0 -Release: 4%{?dist} +Version: 0.2.1 +Release: 1%{?dist} Summary: A native Python adapter for the Vertica database Group: Development/Languages License: MIT URL: https://github.com/uber/vertica-python Source0: https://github.com/uber/vertica-python/archive/%{version}.tar.gz -Patch0: vertica-python-0.2.0-version.patch # EPEL 6 patch -Patch1: vertica-python-0.2.0-dateutil15.patch +Patch0: vertica-python-0.2.0-dateutil15.patch BuildArch: noarch BuildRequires: python2-devel @@ -37,10 +36,9 @@ vertica-python is a native Python adapter for the Vertica %prep %setup -q -n vertica-python-%{version} -%patch0 -p1 %if 0%{?rhel} <= 6 -%patch1 -p1 +%patch0 -p1 %endif @@ -60,6 +58,9 @@ vertica-python is a native Python adapter for the Vertica %changelog +* Thu Apr 24 2014 Jakub Jedelsky - 0.2.1-1 +- new version update + * Fri Mar 28 2014 Jakub Jedelsky - 0.2.0-4 - remove buildrood tag - edit dateutil patch for el6 From 90fb7dbc284cd92441f7e0ca3cd9a97c7556038f Mon Sep 17 00:00:00 2001 From: Jakub Jedelsky Date: Fri, 13 Jun 2014 16:40:47 +0200 Subject: [PATCH 2/5] update to new version --- .gitignore | 1 + sources | 2 +- vertica-python.spec | 10 ++++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 79b8da4..d8db7bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /0.2.0.tar.gz /0.2.1.tar.gz +/0.2.3.tar.gz diff --git a/sources b/sources index 6671a22..6d4826a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -487cb907da0d193f47c1538eda6d8e32 0.2.1.tar.gz +5d9fd10d3b846bad6d2e158f722750c0 0.2.3.tar.gz diff --git a/vertica-python.spec b/vertica-python.spec index 00507eb..d867dca 100644 --- a/vertica-python.spec +++ b/vertica-python.spec @@ -2,7 +2,7 @@ %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: vertica-python -Version: 0.2.1 +Version: 0.2.3 Release: 1%{?dist} Summary: A native Python adapter for the Vertica database @@ -16,9 +16,8 @@ Patch0: vertica-python-0.2.0-dateutil15.patch BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -BuildRequires: python-pip -%if 0%{?rhel} <= 6 +%if 0%{?rhel} && 0%{?rhel} <= 6 Requires: python-dateutil15 Requires: python-setuptools %else @@ -37,7 +36,7 @@ vertica-python is a native Python adapter for the Vertica %prep %setup -q -n vertica-python-%{version} -%if 0%{?rhel} <= 6 +%if 0%{?rhel} && 0%{?rhel} <= 6 %patch0 -p1 %endif @@ -58,6 +57,9 @@ vertica-python is a native Python adapter for the Vertica %changelog +* Fri Jun 13 2014 Jakub Jedelsky - 0.2.3-1 +- update to new version + * Thu Apr 24 2014 Jakub Jedelsky - 0.2.1-1 - new version update From 85feb69105063e485f965a69cecea21b5d329de4 Mon Sep 17 00:00:00 2001 From: Jakub Jedelsky Date: Thu, 16 Oct 2014 16:36:07 +0200 Subject: [PATCH 3/5] update to version 0.3.0 --- .gitignore | 1 + sources | 2 +- vertica-python.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d8db7bc..c303886 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /0.2.0.tar.gz /0.2.1.tar.gz /0.2.3.tar.gz +/v0.3.0.tar.gz diff --git a/sources b/sources index 6d4826a..62b017d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5d9fd10d3b846bad6d2e158f722750c0 0.2.3.tar.gz +32fae364820e51e04e6d74f7465a226c v0.3.0.tar.gz diff --git a/vertica-python.spec b/vertica-python.spec index d867dca..165dd7a 100644 --- a/vertica-python.spec +++ b/vertica-python.spec @@ -2,14 +2,14 @@ %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: vertica-python -Version: 0.2.3 +Version: 0.3.0 Release: 1%{?dist} Summary: A native Python adapter for the Vertica database Group: Development/Languages License: MIT URL: https://github.com/uber/vertica-python -Source0: https://github.com/uber/vertica-python/archive/%{version}.tar.gz +Source0: https://github.com/uber/vertica-python/archive/v%{version}.tar.gz # EPEL 6 patch Patch0: vertica-python-0.2.0-dateutil15.patch @@ -57,6 +57,9 @@ vertica-python is a native Python adapter for the Vertica %changelog +* Wed Oct 15 2014 Jakub Jedelsky - 0.3.0-1 +- update to version 0.3.0 + * Fri Jun 13 2014 Jakub Jedelsky - 0.2.3-1 - update to new version From e6a3c8fba7911b710cf8a6c1791d6e91c6c29334 Mon Sep 17 00:00:00 2001 From: Jakub Jedelsky Date: Thu, 22 Jan 2015 17:20:47 +0100 Subject: [PATCH 4/5] update to version 0.3.3 --- .gitignore | 1 + sources | 2 +- vertica-python.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c303886..2b2521f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /0.2.1.tar.gz /0.2.3.tar.gz /v0.3.0.tar.gz +/0.3.4.tar.gz diff --git a/sources b/sources index 62b017d..5adf6c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -32fae364820e51e04e6d74f7465a226c v0.3.0.tar.gz +0ac26d4f59b5445511403e17baddf923 0.3.4.tar.gz diff --git a/vertica-python.spec b/vertica-python.spec index 165dd7a..6a133f5 100644 --- a/vertica-python.spec +++ b/vertica-python.spec @@ -2,14 +2,14 @@ %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: vertica-python -Version: 0.3.0 +Version: 0.3.4 Release: 1%{?dist} Summary: A native Python adapter for the Vertica database Group: Development/Languages License: MIT URL: https://github.com/uber/vertica-python -Source0: https://github.com/uber/vertica-python/archive/v%{version}.tar.gz +Source0: https://github.com/uber/vertica-python/archive/%{version}.tar.gz # EPEL 6 patch Patch0: vertica-python-0.2.0-dateutil15.patch @@ -57,6 +57,9 @@ vertica-python is a native Python adapter for the Vertica %changelog +* Wed Jan 21 2015 Jakub Jedelsky - 0.3.4-1 +- update to version 0.3.3 + * Wed Oct 15 2014 Jakub Jedelsky - 0.3.0-1 - update to version 0.3.0 From da7d3f6e6e05f535b1db81f752ded97522c387cc Mon Sep 17 00:00:00 2001 From: Jakub Jedelsky Date: Fri, 3 Jul 2015 14:28:55 +0200 Subject: [PATCH 5/5] Edit dateutil patch for epel 6 --- vertica-python-0.2.0-dateutil15.patch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/vertica-python-0.2.0-dateutil15.patch b/vertica-python-0.2.0-dateutil15.patch index e40dff9..82d9e71 100644 --- a/vertica-python-0.2.0-dateutil15.patch +++ b/vertica-python-0.2.0-dateutil15.patch @@ -1,5 +1,5 @@ diff --git a/vertica_python/vertica/column.py b/vertica_python/vertica/column.py -index 75d87a2..9eeef08 100644 +index cc0bb27..3266d74 100644 --- a/vertica_python/vertica/column.py +++ b/vertica_python/vertica/column.py @@ -5,6 +5,11 @@ from collections import namedtuple @@ -8,9 +8,8 @@ index 75d87a2..9eeef08 100644 from datetime import datetime +from pkg_resources import require,VersionConflict +try: -+ require("python_dateutil>=1.5") ++ require("python_dateutil>=1.5") +except VersionConflict: -+ pass ++ pass from dateutil import parser - - import pytz + from vertica_python import errors