#1 Recythonize the sources
Merged 4 years ago by qulogic. Opened 4 years ago by cstratak.
Unknown source master  into  master

file modified
+1
@@ -1,1 +1,2 @@

  /pykdtree-1.3.1.tar.gz

+ /v1.3.1.tar.gz

file modified
+9 -2
@@ -2,12 +2,12 @@

  

  Name:           python-%{srcname}

  Version:        1.3.1

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Fast kd-tree implementation with OpenMP-enabled queries

  

  License:        LGPLv3+

  URL:            https://github.com/storpipfugl/pykdtree

- Source0:        https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz

+ Source0:        https://github.com/storpipfugl/pykdtree/archive/v%{version}.tar.gz

  

  BuildRequires:  gcc

  
@@ -28,6 +28,7 @@

  BuildRequires:  python3dist(setuptools)

  BuildRequires:  python3dist(nose)

  BuildRequires:  python3dist(numpy)

+ BuildRequires:  python3dist(cython)

  

  Requires:       python3dist(numpy)

  
@@ -40,8 +41,11 @@

  # Remove bundled egg-info

  rm -rf %{srcname}.egg-info

  

+ # Remove the cythonized files in order to regenerate them during build.

+ rm $(grep -rl '/\* Generated by Cython')

  

  %build

+ cython pykdtree/kdtree.pyx

  %py3_build

  

  
@@ -60,6 +64,9 @@

  

  

  %changelog

+ * Sat Jun 01 2019 Charalampos Stratakis <cstratak@redhat.com> - 1.3.1-3

+ - Recythonize the sources

+ 

  * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@

- SHA512 (pykdtree-1.3.1.tar.gz) = 9ad67b198421d19323cdfb401f4f9e40121e17d0d060c9752a2cf363669a5a209394f6a3d6bf18014db643dc3584f5acf8d87ccb8f52c1eb73815ae37de21f21

+ SHA512 (v1.3.1.tar.gz) = 6c7c32f572b17ff6f88443eae2d2ef11cdb5ea1c6e9a662c09763ae74246edc3787d55370ccd1bec451a1487b2b8c6def3451ae427c63bb636aaa5a5547d7cc6

Also use the github tarball as a source as it contains the .pyx file

Metadata Update from @lbalhar:
- Request assigned

4 years ago

Changes look good to me. Installable and importable on rawhide.

Pull-Request has been merged by qulogic

4 years ago