Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37578531
en ru br
ALT Linux repos
S:2.3.0-alt2.1

Group :: Development/Python3
RPM: python3-module-pygsl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname pygsl

Name: python3-module-%oname
Version: 2.3.0
Release: alt2.1

Summary: Python interface for GNU Scientific Library (GSL)
License: GPLv2
Group: Development/Python3
Url: http://pygsl.sourceforge.net/

Source: %oname-%version.tar.gz
Patch0: port-to-python3.patch

BuildRequires(pre): rpm-build-python3
BuildRequires: libgsl-devel libnumpy-py3-devel
BuildRequires: python3-module-numpy swig

%add_python3_self_prov_path %buildroot%python3_sitelibdir/%oname/gsl_dist

%description
This project provides a python interface for the GNU scientific library
(GSL).

%package devel
Summary: Development files of Python interface for GSL
Group: Development/Python3
BuildArch: noarch
Requires: %name = %version-%release

%description devel
This project provides a python interface for the GNU scientific library
(GSL).

This package contains development files of Python interface for GSL.

%package testing
Summary: Tests for Python interface for GSL
Group: Development/Python3
Requires: %name = %version-%release

%description testing
This project provides a python interface for the GNU scientific library
(GSL).

This package contains tests for Python interface for GSL.

%package docs
Summary: Documentation for Python interface for GSL
Group: Development/Documentation
BuildArch: noarch

%description docs
This project provides a python interface for the GNU scientific library
(GSL).

This package contains documentation for Python interface for GSL.

%package examples
Summary: Examples for Python interface for GSL
Group: Development/Documentation
BuildArch: noarch
Requires: %name = %version-%release

%description examples
This project provides a python interface for the GNU scientific library
(GSL).

This package contains examples for Python interface for GSL.

%prep
%setup
%patch0 -p2

rm -f swig_src/*

%build
%__python3 setup.py config
%python3_build_debug

%install
%python3_install

%check
%__python3 setup.py test

%files
%doc CREDITS ChangeLog README TODO
%python3_sitelibdir/*
%exclude %python3_sitelibdir/%oname/testing

%files devel
%_includedir/*/*

%files testing
%python3_sitelibdir/%oname/testing

%files docs
%doc doc/*.html

%files examples
%doc examples/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin