Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
889e88e8ae | ||
|
ad6f4db59c | ||
|
943dd2806f | ||
|
318e7a9684 | ||
|
5c6d0a26f1 | ||
|
e9d8664dc1 | ||
|
da0ff2d9f3 | ||
|
eb21c4ddad | ||
|
f67d8ef314 | ||
|
e16ae05bb5 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@
|
||||
/math-functions-0.3.1.0.tar.gz
|
||||
/math-functions-0.3.3.0.tar.gz
|
||||
/math-functions-0.3.4.0.tar.gz
|
||||
/math-functions-0.3.4.1.tar.gz
|
||||
/math-functions-0.3.4.2.tar.gz
|
||||
|
66
changelog
Normal file
66
changelog
Normal file
@ -0,0 +1,66 @@
|
||||
* Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.3.4.2-5
|
||||
- refresh to cabal-rpm-2.1.0 with SPDX migration
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.3.4.2-3
|
||||
- rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.3.4.2-1
|
||||
- update to 0.3.4.2
|
||||
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.3.4.1-1
|
||||
- update to 0.3.4.1
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.0-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.3.4.0-1
|
||||
- update to 0.3.4.0
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.3.3.0-1
|
||||
- update to 0.3.3.0
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.3.1.0-1
|
||||
- update to 0.3.1.0
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.2.1.0-7
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Jul 29 2018 Jens Petersen <petersen@redhat.com> - 0.2.1.0-5
|
||||
- drop doc/ from docs
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.2.1.0-2
|
||||
- rebuild
|
||||
|
||||
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.1.0-1
|
||||
- spec file generated by cabal-rpm-0.11.2
|
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-2.0.6
|
||||
# generated by cabal-rpm-2.1.0
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name math-functions
|
||||
@ -7,25 +7,31 @@
|
||||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.4.0
|
||||
Release: 3%{?dist}
|
||||
Version: 0.3.4.2
|
||||
Release: %autorelease
|
||||
Summary: Collection of tools for numeric computations
|
||||
|
||||
License: BSD
|
||||
License: BSD-2-Clause
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-data-default-class-devel
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-primitive-devel
|
||||
BuildRequires: ghc-vector-devel
|
||||
%if %{with ghc_prof}
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-data-default-class-prof
|
||||
BuildRequires: ghc-deepseq-prof
|
||||
BuildRequires: ghc-primitive-prof
|
||||
BuildRequires: ghc-vector-prof
|
||||
%endif
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-erf-devel
|
||||
@ -60,6 +66,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%package doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
BuildArch: noarch
|
||||
Requires: ghc-filesystem
|
||||
|
||||
%description doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
@ -80,7 +87,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
@ -97,7 +103,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal_test
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
@ -122,45 +130,4 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.0-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.3.4.0-1
|
||||
- update to 0.3.4.0
|
||||
|
||||
* Fri Feb 14 2020 Jens Petersen <petersen@redhat.com> - 0.3.3.0-1
|
||||
- update to 0.3.3.0
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Jens Petersen <petersen@redhat.com> - 0.3.1.0-1
|
||||
- update to 0.3.1.0
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.2.1.0-7
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Jul 29 2018 Jens Petersen <petersen@redhat.com> - 0.2.1.0-5
|
||||
- drop doc/ from docs
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.2.1.0-2
|
||||
- rebuild
|
||||
|
||||
* Sat Nov 18 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.1.0-1
|
||||
- spec file generated by cabal-rpm-0.11.2
|
||||
%autochangelog
|
||||
|
@ -1,134 +0,0 @@
|
||||
name: math-functions
|
||||
version: 0.3.4.0
|
||||
x-revision: 1
|
||||
cabal-version: >= 1.10
|
||||
license: BSD2
|
||||
license-file: LICENSE
|
||||
author: Bryan O'Sullivan <bos@serpentine.com>,
|
||||
Alexey Khudyakov <alexey.skladnoy@gmail.com>
|
||||
maintainer: Alexey Khudyakov <alexey.skladnoy@gmail.com>
|
||||
homepage: https://github.com/bos/math-functions
|
||||
bug-reports: https://github.com/bos/math-functions/issues
|
||||
category: Math, Numeric
|
||||
build-type: Simple
|
||||
synopsis: Collection of tools for numeric computations
|
||||
description:
|
||||
|
||||
This library contain collection of various utilities for numerical
|
||||
computing. So far there're special mathematical functions,
|
||||
compensated summation algorithm, summation of series, root finding
|
||||
for real functions, polynomial summation and Chebyshev
|
||||
polynomials.
|
||||
|
||||
tested-with:
|
||||
GHC ==7.4.2
|
||||
|| ==7.6.3
|
||||
|| ==7.8.4
|
||||
|| ==7.10.3
|
||||
|| ==8.0.2
|
||||
|| ==8.2.2
|
||||
|| ==8.4.4
|
||||
|| ==8.6.5
|
||||
|| ==8.8.3
|
||||
|| ==8.10.1
|
||||
, GHCJS ==8.4
|
||||
|
||||
extra-source-files:
|
||||
changelog.md
|
||||
README.markdown
|
||||
tests/Tests/SpecFunctions/gen.py
|
||||
tests/tables/generate.py
|
||||
tests/tables/shell.nix
|
||||
tests/tables/*.dat
|
||||
tests/tables/inputs/*.dat
|
||||
doc/sinc.hs
|
||||
|
||||
flag system-expm1
|
||||
description: Use expm1 provided by system. For GHC newer that
|
||||
8.0, GHCJS, and on Windows has no effect. GHC>=8.0
|
||||
provides expm1 so it's used. On GHCJS and on Windows
|
||||
we don't have C implementation so bundled one is
|
||||
used instead.
|
||||
default: True
|
||||
manual: True
|
||||
|
||||
flag system-erf
|
||||
description: Use erf and erfc provided by system. On GHCJS
|
||||
version provided by library is used regardless of
|
||||
flag for that lack of libc.
|
||||
default: True
|
||||
manual: True
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
other-extensions:
|
||||
BangPatterns
|
||||
CPP
|
||||
DeriveDataTypeable
|
||||
FlexibleContexts
|
||||
MultiParamTypeClasses
|
||||
ScopedTypeVariables
|
||||
TypeFamilies
|
||||
DeriveGeneric
|
||||
|
||||
ghc-options: -Wall -O2
|
||||
build-depends: base >= 4.5 && < 5
|
||||
, deepseq
|
||||
, data-default-class >= 0.1.2.0
|
||||
, vector >= 0.11
|
||||
, primitive
|
||||
if flag(system-expm1) && !os(windows)
|
||||
cpp-options: -DUSE_SYSTEM_EXPM1
|
||||
if flag(system-erf) && !impl(ghcjs)
|
||||
cpp-options: -DUSE_SYSTEM_ERF
|
||||
exposed-modules:
|
||||
Numeric.MathFunctions.Constants
|
||||
Numeric.MathFunctions.Comparison
|
||||
Numeric.Polynomial
|
||||
Numeric.Polynomial.Chebyshev
|
||||
Numeric.RootFinding
|
||||
Numeric.SpecFunctions
|
||||
Numeric.SpecFunctions.Extra
|
||||
Numeric.SpecFunctions.Internal
|
||||
Numeric.Series
|
||||
Numeric.Sum
|
||||
other-modules:
|
||||
Numeric.SpecFunctions.Compat
|
||||
|
||||
test-suite tests
|
||||
default-language: Haskell2010
|
||||
other-extensions: ViewPatterns
|
||||
|
||||
type: exitcode-stdio-1.0
|
||||
ghc-options: -Wall -threaded
|
||||
if arch(i386)
|
||||
-- The Sum tests require SSE2 on i686 to pass (because of excess precision)
|
||||
ghc-options: -msse2
|
||||
hs-source-dirs: tests
|
||||
main-is: tests.hs
|
||||
other-modules:
|
||||
Tests.Helpers
|
||||
Tests.Chebyshev
|
||||
Tests.Comparison
|
||||
Tests.RootFinding
|
||||
Tests.SpecFunctions
|
||||
Tests.SpecFunctions.Tables
|
||||
Tests.Sum
|
||||
if flag(system-erf) && !impl(ghcjs)
|
||||
cpp-options: -DUSE_SYSTEM_ERF
|
||||
build-depends: base >=4.5 && <5
|
||||
, math-functions
|
||||
, data-default-class >= 0.1.2.0
|
||||
, deepseq
|
||||
, primitive
|
||||
, vector >= 0.7
|
||||
, vector-th-unbox
|
||||
, erf
|
||||
, QuickCheck >= 2.7
|
||||
, tasty >= 1.2
|
||||
, tasty-hunit >= 0.10
|
||||
, tasty-quickcheck >= 0.10
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/bos/math-functions
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (math-functions-0.3.4.0.tar.gz) = a4a8bdf14961f2ac60037b1af9ad17365aa1165ac4ae58901b66795f8b4440acc04e2363fa31a8e6c4c4501430f323c15196d0434a988d8276f9d173efe665e0
|
||||
SHA512 (math-functions-0.3.4.2.tar.gz) = cb29901294463edbba37e97445bb9ed039bdc43815c9bbd9b9bb92b87393e6e891f5840d337c6c06c7e30d26107d32a59c39ac51436be43dba00d0e2411a9053
|
||||
|
Loading…
Reference in New Issue
Block a user