Пакет python3-module-scikits.sparse: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | %define mname sksparse %define oname scikits.sparse %def_with check Name: python3-module-%oname Version: 0.4.13 Release: alt1 Summary: Sparse matrix tools extending scipy.sparse, but with incompatible licenses License: BSD-2-Clause Group: Development/Python3 Url: https://pypi.org/project/scikit-sparse/ VCS: https://github.com/scikit-sparse/scikit-sparse.git Source: %name-%version.tar BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel BuildRequires: python3-module-numpy BuildRequires: python3-module-Cython BuildRequires: libnumpy-py3-devel BuildRequires: libsuitesparse-devel BuildRequires: python3-module-sphinx %if_with check BuildRequires: python3-module-pytest BuildRequires: python3-module-numpy-testing BuildRequires: python3-module-scipy %endif %description This is a home for sparse matrix code in Python that plays well with scipy.sparse, but that is somehow unsuitable for inclusion in scipy proper. Usually this will be because it is released under the GPL. So far we have a wrapper for the CHOLMOD library for sparse cholesky decomposition. %package tests Summary: Tests for %oname Group: Development/Python3 Requires: %name = %EVR %description tests This is a home for sparse matrix code in Python that plays well with scipy.sparse, but that is somehow unsuitable for inclusion in scipy proper. Usually this will be because it is released under the GPL. So far we have a wrapper for the CHOLMOD library for sparse cholesky decomposition. This package contains tests for %oname. %package pickles Summary: Pickles for %oname Group: Development/Python3 %description pickles This is a home for sparse matrix code in Python that plays well with scipy.sparse, but that is somehow unsuitable for inclusion in scipy proper. Usually this will be because it is released under the GPL. So far we have a wrapper for the CHOLMOD library for sparse cholesky decomposition. This package contains pickles for %oname. %prep %setup sed -i 's|sphinx-build|sphinx-build-3|' doc/Makefile %build %pyproject_build %install %pyproject_install export PYTHONPATH=%buildroot%python3_sitelibdir %make -C doc pickle %make -C doc html install -d %buildroot%python3_sitelibdir/%oname cp -fR doc/_build/pickle %buildroot%python3_sitelibdir/%oname/ %ifnarch armh %ix86 %check export PYTHONPATH=%buildroot%python3_sitelibdir py.test-3 -ra --pyargs sksparse %endif %files %doc LICENSE.txt README.md doc/_build/html %python3_sitelibdir/%mname %python3_sitelibdir/%{pyproject_distinfo scikit_sparse} %exclude %python3_sitelibdir/%oname/pickle %exclude %python3_sitelibdir/%mname/test* %files tests %python3_sitelibdir/%mname/test* %files pickles %dir %python3_sitelibdir/%oname %python3_sitelibdir/%oname/pickle %changelog * Fri Mar 22 2024 Anton Vyatkin <toni@altlinux.org> 0.4.13-alt1 - New version 0.4.13. * Fri Dec 15 2023 Anton Vyatkin <toni@altlinux.org> 0.4.12-alt1 - New version 0.4.12. * Thu Mar 09 2023 Grigory Ustinov <grenka@altlinux.org> 0.4.8-alt1.1 - Fixed build dependencies. * Fri Mar 03 2023 Anton Vyatkin <toni@altlinux.org> 0.4.8-alt1 - new version 0.4.8 * Thu Jun 11 2020 Andrey Bychkov <mrdrew@altlinux.org> 0.4.4-alt1 - Version updated to 0.4.4. * Fri Feb 28 2020 Andrey Bychkov <mrdrew@altlinux.org> 0.4.2-alt3 - Build for python2 disabled. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.4.2-alt2.1.1 - (NMU) Rebuilt with python-3.6.4. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 0.4.2-alt2.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Fri Oct 20 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.4.2-alt2 - Fixed version in egg-info. * Mon Aug 21 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.4.2-alt1 - Updated to upstream version 0.4.2. - Updated build dependencies. * Wed Jul 12 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.2-alt2.dev.git20140718.1.2 - Rebuilt with new libsuitesparse * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.2-alt2.dev.git20140718.1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 0.2-alt2.dev.git20140718.1 - NMU: Use buildreq for BR. * Tue Apr 28 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2-alt2.dev.git20140718 - Rebuilt with updated NumPy * Sat Mar 21 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.2-alt1.dev.git20140718 - Initial build for Sisyphus |