Accepting request 1251606 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1251606 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-th-abstraction?expand=0&rev=23
This commit is contained in:
commit
f5a3377ccd
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 2 13:35:52 UTC 2025 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update th-abstraction to version 0.7.1.0 revision 1.
|
||||
Upstream has revised the Cabal build instructions on Hackage.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 11:48:06 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-th-abstraction
|
||||
#
|
||||
# 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
|
||||
@ -26,6 +26,7 @@ Summary: Nicer interface for reified information about data types
|
||||
License: ISC
|
||||
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
|
||||
@ -70,6 +71,7 @@ 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
|
||||
|
53
th-abstraction.cabal
Normal file
53
th-abstraction.cabal
Normal file
@ -0,0 +1,53 @@
|
||||
name: th-abstraction
|
||||
version: 0.7.1.0
|
||||
x-revision: 1
|
||||
synopsis: Nicer interface for reified information about data types
|
||||
description: This package normalizes variations in the interface for
|
||||
inspecting datatype information via Template Haskell
|
||||
so that packages and support a single, easier to use
|
||||
informational datatype while supporting many versions
|
||||
of Template Haskell.
|
||||
license: ISC
|
||||
license-file: LICENSE
|
||||
author: Eric Mertens
|
||||
maintainer: emertens@gmail.com
|
||||
copyright: 2017 Eric Mertens
|
||||
homepage: https://github.com/glguy/th-abstraction
|
||||
bug-reports: https://github.com/glguy/th-abstraction/issues
|
||||
category: Development
|
||||
build-type: Simple
|
||||
extra-source-files: ChangeLog.md README.md
|
||||
cabal-version: >=1.10
|
||||
tested-with: GHC==9.12.1, GHC==9.10.1, GHC==9.8.4, GHC==9.6.6, GHC==9.4.8, GHC==9.2.8, GHC==9.0.2, GHC==8.10.7, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/glguy/th-abstraction.git
|
||||
|
||||
library
|
||||
exposed-modules: Language.Haskell.TH.Datatype
|
||||
Language.Haskell.TH.Datatype.TyVarBndr
|
||||
other-modules: Language.Haskell.TH.Datatype.Internal
|
||||
build-depends: base >=4.9 && <5,
|
||||
ghc-prim,
|
||||
template-haskell >=2.11 && <2.24,
|
||||
containers >=0.4 && <0.9
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
|
||||
if impl(ghc >= 9.0)
|
||||
-- these flags may abort compilation with GHC-8.10
|
||||
-- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295
|
||||
ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode
|
||||
|
||||
test-suite unit-tests
|
||||
other-modules: Harness
|
||||
Types
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Main.hs
|
||||
build-depends: th-abstraction, base, containers, template-haskell
|
||||
hs-source-dirs: test
|
||||
default-language: Haskell2010
|
||||
|
||||
if impl(ghc >= 8.6)
|
||||
ghc-options: -Wno-star-is-type
|
Loading…
x
Reference in New Issue
Block a user