Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| cf7a68bae6 |
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 11 13:18:31 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- 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]
|
||||
------------------
|
||||
* Replace `test-framework` with `tasty` in the test suite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 12:27:01 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update half to version 0.3.2.
|
||||
0.3.2 [2024.12.04]
|
||||
------------------
|
||||
* Drop support for pre-8.0 versions of GHC.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 23 10:33:06 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-half
|
||||
#
|
||||
# Copyright (c) 2024 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
|
||||
@@ -20,13 +20,13 @@
|
||||
%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/2.cabal#/%{pkg_name}.cabal
|
||||
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
|
||||
@@ -43,10 +43,10 @@ BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-QuickCheck-prof
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-test-framework-devel
|
||||
BuildRequires: ghc-test-framework-prof
|
||||
BuildRequires: ghc-test-framework-quickcheck2-devel
|
||||
BuildRequires: ghc-test-framework-quickcheck2-prof
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-prof
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
||||
@@ -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
|
||||
53
half.cabal
53
half.cabal
@@ -1,7 +1,7 @@
|
||||
cabal-version: >=1.10
|
||||
name: half
|
||||
version: 0.3.1
|
||||
x-revision: 2
|
||||
version: 0.3.3
|
||||
x-revision: 1
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
copyright: Copyright (C) 2014 Edward A. Kmett
|
||||
@@ -20,20 +20,23 @@ extra-source-files:
|
||||
README.markdown
|
||||
CHANGELOG.markdown
|
||||
|
||||
tested-with: GHC == 7.4.2
|
||||
, GHC == 7.6.3
|
||||
, GHC == 7.8.4
|
||||
, GHC == 7.10.3
|
||||
, GHC == 8.0.2
|
||||
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.3
|
||||
, 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: git://github.com/ekmett/half.git
|
||||
location: https://github.com/ekmett/half.git
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
@@ -42,33 +45,19 @@ library
|
||||
Numeric.Half.Internal
|
||||
hs-source-dirs: src
|
||||
other-extensions: BangPatterns CPP DeriveDataTypeable DeriveGeneric
|
||||
ForeignFunctionInterface
|
||||
ghc-options: -Wall -fwarn-tabs -O2
|
||||
DeriveLift ForeignFunctionInterface PatternSynonyms
|
||||
StandaloneDeriving
|
||||
ghc-options: -Wall -Wtabs -O2 -Wno-missing-pattern-synonym-signatures
|
||||
build-depends:
|
||||
base >=4.5 && <5,
|
||||
base >=4.9 && <5,
|
||||
binary >=0.5.1.0 && <0.9,
|
||||
deepseq >=1.3.0.0 && <1.6,
|
||||
template-haskell
|
||||
deepseq >=1.4.2.0 && <1.6,
|
||||
template-haskell >=2.11
|
||||
|
||||
if !impl(ghcjs)
|
||||
c-sources:
|
||||
cbits/half.c
|
||||
|
||||
if impl(ghc >= 8.0)
|
||||
other-extensions: DeriveLift StandaloneDeriving
|
||||
else
|
||||
other-extensions: TemplateHaskell
|
||||
|
||||
if impl(ghc >=7.8)
|
||||
other-extensions: PatternSynonyms
|
||||
|
||||
if impl(ghc <7.6)
|
||||
build-depends:
|
||||
ghc-prim
|
||||
|
||||
if impl(ghc >=8)
|
||||
ghc-options: -Wno-missing-pattern-synonym-signatures
|
||||
|
||||
test-suite spec
|
||||
default-language: Haskell2010
|
||||
type: exitcode-stdio-1.0
|
||||
@@ -81,6 +70,6 @@ test-suite spec
|
||||
binary,
|
||||
bytestring,
|
||||
half,
|
||||
QuickCheck >=2.14.1 && <2.16,
|
||||
test-framework,
|
||||
test-framework-quickcheck2
|
||||
QuickCheck >=2.14.1 && <2.18,
|
||||
tasty >= 1.4 && < 1.6,
|
||||
tasty-quickcheck >= 0.10 && < 0.12
|
||||
|
||||
Reference in New Issue
Block a user