commit ce10bb88103161f2cfb284e2b2317485f67c37d2c0d2a70023622c1041eb195e Author: Dominique Leuenberger Date: Sat Jun 2 10:01:20 2018 +0000 Accepting request 612052 from devel:languages:python Python interface to UMFPACK sparse direct solver OBS-URL: https://build.opensuse.org/request/show/612052 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-scikit-umfpack?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-scikit-umfpack.changes b/python-scikit-umfpack.changes new file mode 100644 index 0000000..d2f2581 --- /dev/null +++ b/python-scikit-umfpack.changes @@ -0,0 +1,54 @@ +------------------------------------------------------------------- +Thu May 24 17:43:10 UTC 2018 - toddrme2178@gmail.com + +- spec file cleanups + +------------------------------------------------------------------- +Thu Apr 19 16:47:53 UTC 2018 - toddrme2178@gmail.com + +- Update to 0.3.1 + * FIX: replace scipy with scikit.umfpack + * setup: require scipy 1.0 + * FIX: define Suitesparse_long as UF_long if not defined + * BUG: type Suitesparse_long to be UF_long. + * FIX: revert the int32 type conversion + * setup: set the correct install_requires + * FIX: use explicit bit-width types in UmfpackContext._getIndx() + * BUG: fix UmfpackContext family selection in UmfpackLU.__init__() + * replace suppress_warnings() by warnings.catch_warnings() + +------------------------------------------------------------------- +Fri Jul 14 15:45:55 UTC 2017 - toddrme2178@gmail.com + +- Update to 0.3.0 official release +- Use the scikits namespace package +- Implement single-spec version +- Fix source URL. + +------------------------------------------------------------------- +Mon Jan 11 10:48:03 UTC 2016 - toddrme2178@gmail.com + +- Use proper package name (python-scikit-umfpack) +- Update to 0.2.1 official release +- Implement update-alternatives for scikits/__init__.py + +------------------------------------------------------------------- +Thu Oct 24 11:14:01 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Sun Jun 3 12:18:14 UTC 2012 - toddrme2178@gmail.com + +- Clean up spec file + +------------------------------------------------------------------- +Wed Mar 7 23:00:55 UTC 2012 - scorot@free.fr + +- build requires suitesparse-devel instead of umfpack-devel + +------------------------------------------------------------------- +Sun Mar 3 00:00:00 UTC 2011 - scorot@gtt.fr + +- first package + diff --git a/python-scikit-umfpack.spec b/python-scikit-umfpack.spec new file mode 100644 index 0000000..cf9bc41 --- /dev/null +++ b/python-scikit-umfpack.spec @@ -0,0 +1,86 @@ +# +# spec file for package python-scikit-umfpack +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python +Name: python-scikit-umfpack +Version: 0.3.1 +Release: 0 +Summary: Python interface to UMFPACK sparse direct solver +License: BSD-3-Clause +Group: Development/Languages/Python +Url: https://pypi.python.org/pypi/scikit-umfpack/ +Source0: https://files.pythonhosted.org/packages/source/s/scikit-umfpack/scikit-umfpack-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module numpy-devel >= 1.14.3} +BuildRequires: %{python_module scipy >= 1.0.0rc1} +BuildRequires: %{python_module scikits.example} +BuildRequires: c++_compiler +BuildRequires: fdupes +BuildRequires: gcc-fortran +BuildRequires: openblas-devel +BuildRequires: python-rpm-macros +BuildRequires: suitesparse-devel +BuildRequires: swig +# SECTION test requirements +BuildRequires: %{python_module nose} +# /SECTION +Requires: python-numpy >= 1.14.3 +Requires: python-scipy >= 1.0.0rc1 +Requires: python-scikits.example +%ifpython2 +Provides: %{oldpython}-scikits-umfpack = %{version} +Obsoletes: %{oldpython}-scikits-umfpack < %{version} +%endif + +%python_subpackages + +%description +The scikit-umfpack package provides wrapper of UMFPACK sparse direct solver to SciPy. + +%prep +%setup -q -n scikit-umfpack-%{version} +sed -i -e '/^#!\//, 1d' scikits/umfpack/setup.py +sed -i -e '/^#!\//, 1d' scikits/umfpack/tests/try_umfpack.py + +%build +export LANG=en_US.UTF-8 +export CFLAGS="%{optflags}" +%python_build + +%install +export LANG=en_US.UTF-8 +%python_install +%python_expand rm %{buildroot}%{$python_sitearch}/scikits/__init__.py* +%python_expand rm %{buildroot}%{$python_sitearch}/MANIFEST.in +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +export LANG=en_US.UTF-8 +export CFLAGS="%{optflags}" +%python_exec setup.py test + +%files %{python_files} +%doc README.rst +%license LICENSE +%dir %{python_sitearch}/scikits/ +%{python_sitearch}/scikits/umfpack/ +%{python_sitearch}/scikit_umfpack-%{version}-py*.egg-info + +%changelog diff --git a/scikit-umfpack-0.3.1.tar.gz b/scikit-umfpack-0.3.1.tar.gz new file mode 100644 index 0000000..6e7b34e --- /dev/null +++ b/scikit-umfpack-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6236856ed34a74a541028a80989372e956ccfbd2751de0ee74b7e0800f50f3b7 +size 24627