osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-hslua-module-system revision:17, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua-module-system?expand=0&rev=24
This commit is contained in:
Peter Simons 2022-02-10 14:36:52 +00:00 committed by Git OBS Bridge
parent 37c298cd2e
commit d14c318fe2
5 changed files with 93 additions and 5 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Feb 4 12:15:29 UTC 2022 - psimons@suse.com
- Update hslua-module-system to version 1.0.1 revision 1.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/hslua-module-system-1.0.1/src/CHANGELOG.md
-------------------------------------------------------------------
Mon Nov 1 08:48:28 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-hslua-module-system
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,12 +19,13 @@
%global pkg_name hslua-module-system
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.0.0
Version: 1.0.1
Release: 0
Summary: Lua module wrapper around Haskell's System module
License: MIT
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-directory-devel
BuildRequires: ghc-exceptions-devel
@ -61,6 +62,7 @@ files.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38516315524dda323a56af928d03748b308b1069632b2827c337c40a80106ce3
size 8461

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc53a1c952e8716d685f22c3c76f1730c576610dea32bdf575c7841aa03f7755
size 8457

77
hslua-module-system.cabal Normal file
View File

@ -0,0 +1,77 @@
cabal-version: 2.2
name: hslua-module-system
version: 1.0.1
x-revision: 1
synopsis: Lua module wrapper around Haskell's System module.
description: Provides access to system information and
functionality to Lua scripts via Haskell's `System`
module.
.
This package is part of HsLua, a Haskell framework
built around the embeddable scripting language
<https://lua.org Lua>.
homepage: https://github.com/hslua/hslua
license: MIT
license-file: LICENSE
author: Albert Krewinkel
maintainer: albert+hslua@zeitkraut.de
copyright: © 2019-2022 Albert Krewinkel <albert+hslua@zeitkraut.de>
category: Foreign
extra-source-files: CHANGELOG.md
, test/test-system.lua
tested-with: GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.3
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.1
source-repository head
type: git
location: https://github.com/hslua/hslua.git
subdir: hslua-module-system
common common-options
default-language: Haskell2010
build-depends: base >= 4.8 && < 5
, hslua-core >= 2.1 && < 2.2
, hslua-packaging >= 2.1 && < 2.2
, text >= 1.2 && < 2.1
default-extensions: LambdaCase
, OverloadedStrings
ghc-options: -Wall
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
-Werror=missing-home-modules
if impl(ghc >= 8.4)
ghc-options: -Widentities
-Wincomplete-uni-patterns
-Wpartial-fields
-fhide-source-paths
library
import: common-options
build-depends: directory >= 1.3 && < 1.4
, exceptions >= 0.8 && < 0.11
, hslua-marshalling >= 2.1 && < 2.2
, temporary >= 1.2 && < 1.4
exposed-modules: HsLua.Module.System
other-modules: HsLua.Module.SystemUtils
hs-source-dirs: src
test-suite test-hslua-module-system
import: common-options
type: exitcode-stdio-1.0
main-is: test-hslua-module-system.hs
hs-source-dirs: test
build-depends: hslua-module-system
, tasty >= 0.11
, tasty-hunit >= 0.9
, tasty-lua >= 1.0 && < 1.1
, text