osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-hi-file-parser revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hi-file-parser?expand=0&rev=1
This commit is contained in:
commit
75d76b00b2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
5
ghc-hi-file-parser.changes
Normal file
5
ghc-hi-file-parser.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 15 08:37:42 UTC 2019 - psimons@suse.com
|
||||||
|
|
||||||
|
- Add hi-file-parser at version 0.1.0.0.
|
||||||
|
|
79
ghc-hi-file-parser.spec
Normal file
79
ghc-hi-file-parser.spec
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ghc-hi-file-parser
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global pkg_name hi-file-parser
|
||||||
|
%bcond_with tests
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 0.1.0.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Parser for GHC's hi files
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Development/Libraries/Haskell
|
||||||
|
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-binary-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
|
BuildRequires: ghc-rio-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-vector-devel
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: ghc-hspec-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
Parser for GHC's hi files.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Group: Development/Libraries/Haskell
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
|
%build
|
||||||
|
%ghc_lib_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%ghc_lib_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
%cabal_test
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
%postun devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
|
%doc ChangeLog.md README.md
|
||||||
|
|
||||||
|
%changelog
|
3
hi-file-parser-0.1.0.0.tar.gz
Normal file
3
hi-file-parser-0.1.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:54ac6750d5e4ef93c64b255f672261ae4c80ef11f20d92c382736e09be11fa25
|
||||||
|
size 9344
|
73
hi-file-parser.cabal
Normal file
73
hi-file-parser.cabal
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
cabal-version: 1.12
|
||||||
|
|
||||||
|
-- This file has been generated from package.yaml by hpack version 0.31.1.
|
||||||
|
--
|
||||||
|
-- see: https://github.com/sol/hpack
|
||||||
|
--
|
||||||
|
-- hash: db65ce562f5a86a76d8eea816fde4c04ee3f75ab314861414f627cce3ae22187
|
||||||
|
|
||||||
|
name: hi-file-parser
|
||||||
|
version: 0.1.0.0
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: Parser for GHC's hi files
|
||||||
|
description: Please see the README on Github at <https://github.com/commercialhaskell/stack/blob/master/subs/hi-file-parser/README.md>
|
||||||
|
category: Development
|
||||||
|
homepage: https://github.com/commercialhaskell/stack#readme
|
||||||
|
bug-reports: https://github.com/commercialhaskell/stack/issues
|
||||||
|
author: Hussein Ait-Lahcen
|
||||||
|
maintainer: michael@snoyman.com
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files:
|
||||||
|
README.md
|
||||||
|
ChangeLog.md
|
||||||
|
test-files/iface/x64/ghc844/Main.hi
|
||||||
|
test-files/iface/x64/ghc844/X.hi
|
||||||
|
test-files/iface/x64/ghc822/Main.hi
|
||||||
|
test-files/iface/x64/ghc822/X.hi
|
||||||
|
test-files/iface/x64/ghc864/Main.hi
|
||||||
|
test-files/iface/x64/ghc864/X.hi
|
||||||
|
test-files/iface/x32/ghc844/Main.hi
|
||||||
|
test-files/iface/x32/ghc802/Main.hi
|
||||||
|
test-files/iface/x32/ghc7103/Main.hi
|
||||||
|
test-files/iface/x32/ghc822/Main.hi
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/commercialhaskell/stack
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules:
|
||||||
|
HiFileParser
|
||||||
|
other-modules:
|
||||||
|
Paths_hi_file_parser
|
||||||
|
hs-source-dirs:
|
||||||
|
src
|
||||||
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
|
||||||
|
build-depends:
|
||||||
|
base >=4.10 && <5
|
||||||
|
, binary (>=0.8.5.1 && <0.9) || (>=0.8.6.0 && <0.9)
|
||||||
|
, bytestring >=0.10.8.2 && <0.11
|
||||||
|
, rio >=0.1.9.2 && <0.2
|
||||||
|
, vector (>=0.12.0.1 && <0.13) || (>=0.12.0.2 && <0.13) || (>=0.12.0.3 && <0.13)
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite hi-file-parser-test
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Spec.hs
|
||||||
|
other-modules:
|
||||||
|
HiFileParserSpec
|
||||||
|
Paths_hi_file_parser
|
||||||
|
hs-source-dirs:
|
||||||
|
test
|
||||||
|
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
|
||||||
|
build-depends:
|
||||||
|
base >=4.10 && <5
|
||||||
|
, binary (>=0.8.5.1 && <0.9) || (>=0.8.6.0 && <0.9)
|
||||||
|
, bytestring >=0.10.8.2 && <0.11
|
||||||
|
, hi-file-parser
|
||||||
|
, hspec (>=2.4.8 && <2.5) || (>=2.5.5 && <2.6) || (>=2.7.1 && <2.8)
|
||||||
|
, rio >=0.1.9.2 && <0.2
|
||||||
|
, vector (>=0.12.0.1 && <0.13) || (>=0.12.0.2 && <0.13) || (>=0.12.0.3 && <0.13)
|
||||||
|
default-language: Haskell2010
|
Loading…
Reference in New Issue
Block a user