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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hslua-module-text?expand=0&rev=37
This commit is contained in:
Peter Simons 2022-06-29 12:18:14 +00:00 committed by Git OBS Bridge
parent e4c82a4588
commit 1a49d12d33
5 changed files with 13 additions and 77 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Feb 19 14:38:23 UTC 2022 - Peter Simons <psimons@suse.com>
- Update hslua-module-text to version 1.0.2.
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-text-1.0.2/src/CHANGELOG.md
-------------------------------------------------------------------
Sun Jan 30 08:00:08 UTC 2022 - Peter Simons <psimons@suse.com>

View File

@ -19,13 +19,12 @@
%global pkg_name hslua-module-text
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.0.1
Version: 1.0.2
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
@ -58,7 +57,6 @@ 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:691c9680deeb177c0218a243fed689af535b4b3f270ab69c4f299dd377e1ce5c
size 4615

View File

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

View File

@ -1,71 +0,0 @@
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: © 20172022 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