forked from pool/ghc-gridtables
osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-gridtables revision:7, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-gridtables?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 30 16:29:12 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update gridtables to version 0.1.0.0.
|
||||||
|
## gridtables-0.1.0.0
|
||||||
|
|
||||||
|
Release pending.
|
||||||
|
|
||||||
|
- Added support for table foots.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 31 11:28:11 UTC 2022 - Peter Simons <psimons@suse.com>
|
Wed Aug 31 11:28:11 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@@ -17,26 +17,35 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name gridtables
|
%global pkg_name gridtables
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.0.3.0
|
Version: 0.1.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Parser for reStructuredText-style grid tables
|
Summary: Parser for reStructuredText-style grid tables
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
|
BuildRequires: ghc-array-prof
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-containers-prof
|
||||||
BuildRequires: ghc-doclayout-devel
|
BuildRequires: ghc-doclayout-devel
|
||||||
|
BuildRequires: ghc-doclayout-prof
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
|
BuildRequires: ghc-parsec-prof
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-text-prof
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-tasty-devel
|
BuildRequires: ghc-tasty-devel
|
||||||
BuildRequires: ghc-tasty-hunit-devel
|
BuildRequires: ghc-tasty-hunit-devel
|
||||||
|
BuildRequires: ghc-tasty-hunit-prof
|
||||||
|
BuildRequires: ghc-tasty-prof
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,9 +63,24 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
|||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
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
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
@@ -79,4 +103,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
|||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
|
|
||||||
|
%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
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bea762be9a545e38fcf913c09a911f81db14d6f7feb0a4476fa62b4b5dea71aa
|
|
||||||
size 11689
|
|
3
gridtables-0.1.0.0.tar.gz
Normal file
3
gridtables-0.1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d6ac341bc7997d39a3b1f6cd811f70ab69689d9c3117ce3bc44bfb2ec55ab0ea
|
||||||
|
size 12279
|
@@ -1,80 +0,0 @@
|
|||||||
cabal-version: 2.4
|
|
||||||
name: gridtables
|
|
||||||
version: 0.0.3.0
|
|
||||||
x-revision: 1
|
|
||||||
synopsis: Parser for reStructuredText-style grid tables.
|
|
||||||
description: Provides a parser for plain-text representations of
|
|
||||||
tables. This package supports table headers, cells
|
|
||||||
spanning multiple columns or rows, as well as a way
|
|
||||||
to specfiy column alignments.
|
|
||||||
homepage: https://github.com/tarleb/gridtables
|
|
||||||
bug-reports: https://github.com/tarleb/gridtables/issues
|
|
||||||
license: MIT
|
|
||||||
license-file: LICENSE
|
|
||||||
author: Albert Krewinkel
|
|
||||||
maintainer: Albert Krewinkel <albert@zeitkraut.de>
|
|
||||||
copyright: © 2022 RStudio, PBC
|
|
||||||
category: Text
|
|
||||||
extra-doc-files: README.md
|
|
||||||
, CHANGELOG.md
|
|
||||||
tested-with: GHC == 8.6.5
|
|
||||||
GHC == 8.8.4
|
|
||||||
GHC == 8.10.7
|
|
||||||
GHC == 9.0.2
|
|
||||||
GHC == 9.2.2
|
|
||||||
|
|
||||||
source-repository head
|
|
||||||
type: git
|
|
||||||
location: https://github.com/tarleb/gridtables.git
|
|
||||||
|
|
||||||
common common-options
|
|
||||||
build-depends: base >= 4.12 && < 5
|
|
||||||
, array
|
|
||||||
, parsec >= 3.1 && < 3.2
|
|
||||||
, text >= 1.1.1.0 && < 1.3 || >= 2.0 && < 2.1
|
|
||||||
default-language: Haskell2010
|
|
||||||
default-extensions: OverloadedStrings
|
|
||||||
other-extensions: FlexibleContexts
|
|
||||||
, LambdaCase
|
|
||||||
ghc-options: -Wall
|
|
||||||
-Wcompat
|
|
||||||
-Widentities
|
|
||||||
-Wincomplete-record-updates
|
|
||||||
-Wincomplete-uni-patterns
|
|
||||||
-Wmissing-export-lists
|
|
||||||
-Wpartial-fields
|
|
||||||
-Wredundant-constraints
|
|
||||||
-fhide-source-paths
|
|
||||||
if impl(ghc >= 8.8)
|
|
||||||
ghc-options: -Wmissing-deriving-strategies
|
|
||||||
|
|
||||||
if impl(ghc >= 8.10)
|
|
||||||
ghc-options: -Wunused-packages
|
|
||||||
|
|
||||||
if impl(ghc >= 9.0)
|
|
||||||
ghc-options: -Winvalid-haddock
|
|
||||||
|
|
||||||
library
|
|
||||||
import: common-options
|
|
||||||
hs-source-dirs: src
|
|
||||||
build-depends: containers
|
|
||||||
, doclayout
|
|
||||||
exposed-modules: Text.GridTable
|
|
||||||
, Text.GridTable.ArrayTable
|
|
||||||
, Text.GridTable.Parse
|
|
||||||
, Text.GridTable.Trace
|
|
||||||
other-extensions: DeriveFunctor
|
|
||||||
, DerivingStrategies
|
|
||||||
, GeneralizedNewtypeDeriving
|
|
||||||
|
|
||||||
test-suite test-gridtables
|
|
||||||
import: common-options
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
hs-source-dirs: test
|
|
||||||
main-is: test-gridtables.hs
|
|
||||||
build-depends: gridtables
|
|
||||||
, tasty >= 0.11
|
|
||||||
, tasty-hunit >= 0.9
|
|
||||||
ghc-options: -threaded
|
|
||||||
-rtsopts
|
|
||||||
-with-rtsopts=-N
|
|
Reference in New Issue
Block a user