#3 WIP: update to 0.8.0
Closed 4 months ago by music. Opened 10 months ago by ankursinha.
rpms/ ankursinha/python-pyspike 0.7.0-rawhide-update-pull_from_upstream  into  rawhide

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

  /python-pyspike-0.6.0.tar.gz

  /python-pyspike-0.7.0.tar.gz

+ /PySpike-0.8.0.tar.gz

file added
+3
@@ -0,0 +1,3 @@ 

+ This repository is maintained by packit.

+ https://packit.dev/

+ The file was generated using packit 0.79.0.post2+g93f33d9.

file modified
+14 -18
@@ -1,7 +1,3 @@ 

- # Require deprecated nose so disabled

- # we test in mock though and all tes pass

- # Upstream issue filed:

- # https://github.com/mariomulansky/PySpike/issues/48

  %bcond_with tests

  

  %global _description %{expand:
@@ -40,15 +36,20 @@ 

  

  Documentation is available at http://mariomulansky.github.io/PySpike/

  }

+ %global forgeurl  https://github.com/mariomulansky/PySpike/

  

  Name:           python-pyspike

- Version:        0.7.0

+ Version:        0.8.0

  Release:        %autorelease

  Summary:        Library for the numerical analysis of spike train similarity

  

- License:        BSD

- URL:            https://github.com/mariomulansky/PySpike/

- Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz

+ %global tag %{version}

+ %forgemeta

+ 

+ License:        BSD-2-Clause

+ URL:            %forgeurl

+ Source0:        %forgesource

+ 

  BuildRequires:  python3-devel

  

  %description %_description
@@ -59,16 +60,15 @@ 

  # https://github.com/mariomulansky/PySpike/issues/70

  BuildRequires:  python3-Cython < 3~~

  BuildRequires:  gcc

- 

  %if %{with tests}

- BuildRequires:  python3-nose

- BuildRequires:  %{py3_dist scipy}

+ BuildRequires:  python3-pytest

+ BuildRequires:  python3-scipy

  %endif

  

  %description -n python3-pyspike %_description

  

  %prep

- %autosetup -n PySpike-%{version}

+ %forgesetup

  

  # Comment out to remove /usr/bin/env shebangs

  # Can use something similar to correct/remove /usr/bin/python shebangs also
@@ -92,15 +92,11 @@ 

  %pyproject_save_files pyspike

  

  %check

- %if %{with tests}

- # https://github.com/mariomulansky/PySpike/blob/master/.travis.yml

- nosetests

- nosetests test/numeric

- %endif

+ %{pytest} -v

  

  %files -n python3-pyspike -f %{pyproject_files}

  %license License.txt

- %doc Readme.rst Changelog Contributors.txt 

+ %doc Readme.rst Changelog Contributors.txt

  

  %changelog

  %autochangelog

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

- SHA512 (python-pyspike-0.7.0.tar.gz) = 0b75512756d3ac882734c187897e391233ff0a3327336298e10730511859aa39ef1a538bb1a0c8ee90eac3e982252d01b7b265b91eb975c6fe68310bf4075158

+ SHA512 (PySpike-0.8.0.tar.gz) = 391530325f2ca597abdf308d0bd7d031c27df54307d1570979a6ed6bc60698f81904526e5a4b7f5c416e48949ffde4b36a24fba35b8dc327100222ba5d829810

Does not currently build, probably because of new Cython. Needs investigation.

rebased onto 19c2a67

9 months ago

Still WIP: upstream has released 0.8.0 on pypi but not tagged on GH, will update to it as soon as they do (moves to pytest etc.)

Pull-Request has been closed by music

4 months ago