jjames pushed to python-BTrees (master). "New upstream version."

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 15 01:51:13 UTC 2015


>From 033c928c569f1bb3e86648f6f307f28580252e5e Mon Sep 17 00:00:00 2001
From: Jerry James <loganjerry at gmail.com>
Date: Tue, 14 Apr 2015 19:51:01 -0600
Subject: New upstream version.


diff --git a/.gitignore b/.gitignore
index b9251a6..8848305 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /BTrees-4.1.1.tar.gz
+/BTrees-4.1.2.tar.gz
diff --git a/python-BTrees-overflow.patch b/python-BTrees-overflow.patch
deleted file mode 100644
index daa3183..0000000
--- a/python-BTrees-overflow.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- BTrees-4.1.1/BTrees/tests/test_OLBTree.py.orig	2014-12-27 14:18:55.000000000 -0700
-+++ BTrees-4.1.1/BTrees/tests/test_OLBTree.py	2015-01-05 12:30:00.000000000 -0700
-@@ -115,8 +115,16 @@ class OLBTreeTest(BTreeTests, TestLongIn
-         from BTrees.tests.common import LARGEST_NEGATIVE_65_BITS
-         btree = self._makeOne()
-         btree['ZERO'] = 0
--        btree['SMALLEST_64_BITS'] = SMALLEST_64_BITS
--        btree['LARGEST_64_BITS'] = LARGEST_64_BITS
-+        try:
-+            btree['SMALLEST_64_BITS'] = SMALLEST_64_BITS
-+        except OverflowError:
-+            self.assertRaises(OverflowError, btree.__setitem__,
-+                'SMALLEST_64_BITS', SMALLEST_64_BITS)
-+        try:
-+            btree['LARGEST_64_BITS'] = LARGEST_64_BITS
-+        except OverflowError:
-+            self.assertRaises(OverflowError, btree.__setitem__,
-+                'LARGEST_64_BITS', LARGEST_64_BITS)
-         self.assertRaises((ValueError, OverflowError), btree.__setitem__,
-             'SMALLEST_POSITIVE_65_BITS', SMALLEST_POSITIVE_65_BITS)
-         self.assertRaises((ValueError, OverflowError), btree.__setitem__,
diff --git a/python-BTrees.spec b/python-BTrees.spec
index 7dbf6a1..29ebc7b 100644
--- a/python-BTrees.spec
+++ b/python-BTrees.spec
@@ -5,16 +5,13 @@
 %global pkgname BTrees
 
 Name:           python-%{pkgname}
-Version:        4.1.1
+Version:        4.1.2
 Release:        1%{?dist}
 Summary:        Scalable persistent object containers
 
 License:        ZPLv2.1
 URL:            http://www.zodb.org/
 Source0:        https://pypi.python.org/packages/source/B/%{pkgname}/%{pkgname}-%{version}.tar.gz
-# Fix integer overflow in one test on 32-bit python 3.4; see
-# https://github.com/zopefoundation/BTrees/issues/9.
-Patch0:         %{name}-overflow.patch
 
 BuildRequires:  python-devel
 BuildRequires:  python-nose
@@ -60,7 +57,6 @@ Requires:       python3-zope-interface%{?_isa}
 
 %prep
 %setup -q -c
-%patch0
 
 # Remove prebuilt egg and documentation
 rm -fr %{pkgname}-%{version}/%{pkgname}.egg-info \
@@ -100,7 +96,7 @@ pushd python3-%{pkgname}-%{version}
 popd
 %endif
 
-# Remove unwanted documentation and source files; fix persmission (Python 2)
+# Remove unwanted documentation and source files; fix permissions (Python 2)
 rm -f %{pkgname}-%{version}/docs/_build/html/.buildinfo
 rm -f %{buildroot}%{python2_sitearch}/%{pkgname}/*.{c,h}
 chmod 0755 %{buildroot}%{python2_sitearch}/%{pkgname}/*.so
@@ -136,6 +132,9 @@ popd
 %endif
 
 %changelog
+* Tue Apr 14 2015 Jerry James <loganjerry at gmail.com> - 4.1.2-1
+- New upstream version
+
 * Mon Jan  5 2015 Jerry James <loganjerry at gmail.com> - 4.1.1-1
 - New upstream version
 - Drop upstreamed -overflow patch
diff --git a/sources b/sources
index 113e919..235c524 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-62b3c7e486dd6932fb8f48f668d7401f  BTrees-4.1.1.tar.gz
+2e074ff0bf0eece3467793b3f27762a6  BTrees-4.1.2.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-BTrees.git/commit/?h=master&id=033c928c569f1bb3e86648f6f307f28580252e5e


More information about the scm-commits mailing list