Accepting request 953478 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/953478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-hslua-module-text?expand=0&rev=11
This commit is contained in:
commit
9b69ee6ceb
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 30 08:00:08 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update hslua-module-text to version 1.0.1 revision 1.
|
||||
Upstream has renamed and modified the change log file(s) in this
|
||||
release. Unfortunately, the automatic updater cannot reliable
|
||||
determine relevant entries for this release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 1 08:44:59 UTC 2021 - psimons@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-hslua-module-text
|
||||
#
|
||||
# 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-text
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.0
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: Lua module for text
|
||||
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-hslua-core-devel
|
||||
BuildRequires: ghc-hslua-marshalling-devel
|
||||
@ -57,6 +58,7 @@ files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
@ -77,6 +79,6 @@ files.
|
||||
%license LICENSE
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc ChangeLog.md
|
||||
%doc CHANGELOG.md
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e13911b715d08b317eff12ef9c8b5f3f91091a7808e8953d7c1cf66a9362b57a
|
||||
size 4600
|
3
hslua-module-text-1.0.1.tar.gz
Normal file
3
hslua-module-text-1.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:691c9680deeb177c0218a243fed689af535b4b3f270ab69c4f299dd377e1ce5c
|
||||
size 4615
|
71
hslua-module-text.cabal
Normal file
71
hslua-module-text.cabal
Normal file
@ -0,0 +1,71 @@
|
||||
cabal-version: 2.2
|
||||
name: hslua-module-text
|
||||
version: 1.0.1
|
||||
x-revision: 1
|
||||
synopsis: Lua module for text
|
||||
description: UTF-8 aware subset of Lua's `string` 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
|
||||
bug-reports: https://github.com/hslua/hslua/issues
|
||||
license: MIT
|
||||
license-file: LICENSE
|
||||
author: Albert Krewinkel
|
||||
maintainer: albert+hslua@zeitkraut.de
|
||||
copyright: © 2017–2022 Albert Krewinkel
|
||||
category: Foreign
|
||||
extra-source-files: CHANGELOG.md
|
||||
, test/test-text.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-text
|
||||
|
||||
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
|
||||
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
|
||||
exposed-modules: HsLua.Module.Text
|
||||
hs-source-dirs: src
|
||||
build-depends: hslua-marshalling >= 2.1 && < 2.2
|
||||
other-extensions: OverloadedStrings
|
||||
|
||||
test-suite test-hslua-module-text
|
||||
import: common-options
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: test-hslua-module-text.hs
|
||||
hs-source-dirs: test
|
||||
ghc-options: -Wall -threaded
|
||||
build-depends: hslua-module-text
|
||||
, tasty >= 0.11
|
||||
, tasty-hunit >= 0.9
|
||||
, tasty-lua >= 1.0 && < 1.1
|
||||
, text
|
Loading…
Reference in New Issue
Block a user