forked from pool/python-annoy
Accepting request 765053 from home:mcalabkova:branches:devel:languages:python
- update to 1.16.3 * some error message improvements * doing more stack allocations instead of heap * fixes to a few tests that were failing on other platforms - Rebase patch reproducible.patch OBS-URL: https://build.opensuse.org/request/show/765053 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-annoy?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
84991ed546
commit
c7b41ed25a
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 16 17:16:30 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 1.16.3
|
||||
* some error message improvements
|
||||
* doing more stack allocations instead of heap
|
||||
* fixes to a few tests that were failing on other platforms
|
||||
- Rebase patch reproducible.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 07:35:21 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-annoy
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,12 +18,12 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-annoy
|
||||
Version: 1.16.0
|
||||
Version: 1.16.3
|
||||
Release: 0
|
||||
Summary: Approximation of Nearest Neighbors
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/spotify/annoy
|
||||
URL: https://github.com/spotify/annoy
|
||||
Source: https://github.com/spotify/annoy/archive/v%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE boo#1100677
|
||||
Patch0: reproducible.patch
|
||||
|
||||
@@ -3,22 +3,14 @@ Date: 2018-07-10
|
||||
|
||||
https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
|
||||
|
||||
Index: annoy-1.16.0/setup.py
|
||||
Index: annoy-1.16.3/setup.py
|
||||
===================================================================
|
||||
--- annoy-1.16.0.orig/setup.py
|
||||
+++ annoy-1.16.0/setup.py
|
||||
@@ -36,29 +36,10 @@ with codecs.open('README.rst', encoding=
|
||||
long_description = readme_note + fobj.read()
|
||||
|
||||
# Various platform-dependent extras
|
||||
+cputune = []
|
||||
extra_compile_args = []
|
||||
--- annoy-1.16.3.orig/setup.py
|
||||
+++ annoy-1.16.3/setup.py
|
||||
@@ -38,22 +38,6 @@ with codecs.open('README.rst', encoding=
|
||||
extra_compile_args = ['-D_CRT_SECURE_NO_WARNINGS']
|
||||
extra_link_args = []
|
||||
|
||||
-if os.environ.get('TRAVIS') == 'true':
|
||||
- # Resolving some annoying issue
|
||||
- extra_compile_args += ['-mno-avx']
|
||||
-
|
||||
-# Not all CPUs have march as a tuning parameter
|
||||
-cputune = ['-march=native',]
|
||||
-if platform.machine() == 'ppc64le':
|
||||
@@ -35,6 +27,6 @@ Index: annoy-1.16.0/setup.py
|
||||
- extra_compile_args += ['-std=c++11', '-mmacosx-version-min=10.9']
|
||||
- extra_link_args += ['-stdlib=libc++', '-mmacosx-version-min=10.9']
|
||||
-
|
||||
setup(name='annoy',
|
||||
version='1.16.0',
|
||||
description='Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk.',
|
||||
# Manual configuration, you're on your own here.
|
||||
manual_compiler_args = os.environ.get('ANNOY_COMPILER_ARGS', None)
|
||||
if manual_compiler_args:
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e3364fc1c3ff870ffeb6634af5092df40f17ca399160178529869f792ab231b7
|
||||
size 670002
|
||||
3
v1.16.3.tar.gz
Normal file
3
v1.16.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7f37a81414ad1e1782565269fa57008643ef6c4d29cc348061da522f317a63b0
|
||||
size 670455
|
||||
Reference in New Issue
Block a user