Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| cf7a68bae6 |
@@ -1,29 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 5 12:05:36 UTC 2021 - psimons@suse.com
|
||||
Sat Oct 11 13:18:31 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update half to version 0.3.1.
|
||||
0.3.1 [2021-01-04]
|
||||
- Update half to version 0.3.3 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 11:55:34 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update half to version 0.3.3.
|
||||
0.3.3 [2025.06.17]
|
||||
------------------
|
||||
* Downgraded testing claims that NaNs will round-trip, as 32-bit GHCs aren't fulfilling that promise.
|
||||
Now we merely claim that a NaN will return as a NaN.
|
||||
* Always provide `NFData Half` instance
|
||||
* Add `Binary Half` instance
|
||||
* Explicitly mark module as `Trustworthy`
|
||||
* Fix `isInfinite`
|
||||
* Add experimental support for GHCJS, add pure conversion functions.
|
||||
* Replace `test-framework` with `tasty` in the test suite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- disable %{ix86} build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 18 10:44:57 UTC 2020 - Peter Simons <psimons@suse.com>
|
||||
Wed Dec 4 12:27:01 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Replace %setup -q with the more modern %autosetup macro.
|
||||
- Update half to version 0.3.2.
|
||||
0.3.2 [2024.12.04]
|
||||
------------------
|
||||
* Drop support for pre-8.0 versions of GHC.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 8 16:47:59 UTC 2020 - psimons@suse.com
|
||||
Tue Apr 23 10:33:06 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Add half at version 0.3.
|
||||
- Update half to version 0.3.1 revision 2.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 18 12:35:03 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Add half at version 0.3.1 revision 1.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-half
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,25 +17,36 @@
|
||||
|
||||
|
||||
%global pkg_name half
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.1
|
||||
Version: 0.3.3
|
||||
Release: 0
|
||||
Summary: Half-precision floating-point
|
||||
License: BSD-2-Clause
|
||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-binary-devel
|
||||
BuildRequires: ghc-binary-prof
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
BuildRequires: ghc-deepseq-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-template-haskell-devel
|
||||
BuildRequires: ghc-template-haskell-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-QuickCheck-prof
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-test-framework-devel
|
||||
BuildRequires: ghc-test-framework-quickcheck2-devel
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-prof
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -51,8 +62,25 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%package -n ghc-%{pkg_name}-doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
Requires: ghc-filesystem
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n ghc-%{pkg_name}-doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
|
||||
%package -n ghc-%{pkg_name}-prof
|
||||
Summary: Haskell %{pkg_name} profiling library
|
||||
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||
|
||||
%description -n ghc-%{pkg_name}-prof
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
@@ -75,4 +103,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGELOG.markdown README.markdown
|
||||
|
||||
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||
%license LICENSE
|
||||
|
||||
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2afc32724e11bf5c695d797b9169d9d9b2dc62a530aed31284c8187af1615d1
|
||||
size 8514
|
||||
3
half-0.3.3.tar.gz
Normal file
3
half-0.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f476049628d6ff79722fb073c01e85f2a11b2ef3835fdc3fc21a61f05d17ab02
|
||||
size 8359
|
||||
75
half.cabal
Normal file
75
half.cabal
Normal file
@@ -0,0 +1,75 @@
|
||||
cabal-version: >=1.10
|
||||
name: half
|
||||
version: 0.3.3
|
||||
x-revision: 1
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
copyright: Copyright (C) 2014 Edward A. Kmett
|
||||
maintainer: Edward A. Kmett <ekmett@gmail.com>
|
||||
author: Edward A. Kmett
|
||||
stability: provisional
|
||||
homepage: http://github.com/ekmett/half
|
||||
bug-reports: http://github.com/ekmett/half/issues
|
||||
synopsis: Half-precision floating-point
|
||||
description:
|
||||
Half-precision floating-point.
|
||||
category: Numeric
|
||||
build-type: Simple
|
||||
extra-source-files:
|
||||
.gitignore
|
||||
README.markdown
|
||||
CHANGELOG.markdown
|
||||
|
||||
tested-with: GHC == 8.0.2
|
||||
, GHC == 8.2.2
|
||||
, GHC == 8.4.4
|
||||
, GHC == 8.6.5
|
||||
, GHC == 8.8.4
|
||||
, GHC == 8.10.7
|
||||
, GHC == 9.0.2
|
||||
, GHC == 9.2.8
|
||||
, GHC == 9.4.8
|
||||
, GHC == 9.6.6
|
||||
, GHC == 9.8.4
|
||||
, GHC == 9.10.1
|
||||
, GHC == 9.12.1
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/ekmett/half.git
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
exposed-modules:
|
||||
Numeric.Half
|
||||
Numeric.Half.Internal
|
||||
hs-source-dirs: src
|
||||
other-extensions: BangPatterns CPP DeriveDataTypeable DeriveGeneric
|
||||
DeriveLift ForeignFunctionInterface PatternSynonyms
|
||||
StandaloneDeriving
|
||||
ghc-options: -Wall -Wtabs -O2 -Wno-missing-pattern-synonym-signatures
|
||||
build-depends:
|
||||
base >=4.9 && <5,
|
||||
binary >=0.5.1.0 && <0.9,
|
||||
deepseq >=1.4.2.0 && <1.6,
|
||||
template-haskell >=2.11
|
||||
|
||||
if !impl(ghcjs)
|
||||
c-sources:
|
||||
cbits/half.c
|
||||
|
||||
test-suite spec
|
||||
default-language: Haskell2010
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
hs-source-dirs: test
|
||||
ghc-options: -Wall
|
||||
|
||||
build-depends:
|
||||
base,
|
||||
binary,
|
||||
bytestring,
|
||||
half,
|
||||
QuickCheck >=2.14.1 && <2.18,
|
||||
tasty >= 1.4 && < 1.6,
|
||||
tasty-quickcheck >= 0.10 && < 0.12
|
||||
Reference in New Issue
Block a user