ghc-hxt-regex-xmlschema package is retired on c9s for CS-611
This commit is contained in:
parent
3a77081f99
commit
e0b6e54831
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
/hxt-regex-xmlschema-9.2.0.3.tar.gz
|
|
1
dead.package
Normal file
1
dead.package
Normal file
@ -0,0 +1 @@
|
|||||||
|
ghc-hxt-regex-xmlschema package is retired on c9s for CS-611
|
@ -1,179 +0,0 @@
|
|||||||
# generated by cabal-rpm-2.0.6
|
|
||||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
|
||||||
|
|
||||||
%global pkg_name hxt-regex-xmlschema
|
|
||||||
%global pkgver %{pkg_name}-%{version}
|
|
||||||
|
|
||||||
%bcond_with tests
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
|
||||||
Version: 9.2.0.3
|
|
||||||
Release: 16%{?dist}
|
|
||||||
Summary: A regular expression library for W3C XML Schema regular expressions
|
|
||||||
|
|
||||||
License: MIT
|
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
|
||||||
# Begin cabal-rpm sources:
|
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
||||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
|
||||||
# End cabal-rpm sources
|
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
|
||||||
BuildRequires: ghc-rpm-macros
|
|
||||||
BuildRequires: ghc-base-prof
|
|
||||||
BuildRequires: ghc-bytestring-prof
|
|
||||||
BuildRequires: ghc-hxt-charproperties-prof
|
|
||||||
BuildRequires: ghc-parsec-prof
|
|
||||||
BuildRequires: ghc-text-prof
|
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: ghc-HUnit-devel
|
|
||||||
%endif
|
|
||||||
# End cabal-rpm deps
|
|
||||||
|
|
||||||
%description
|
|
||||||
This library supports full W3C XML Schema regular expressions inclusive all
|
|
||||||
Unicode character sets and blocks. The complete grammar can be found under
|
|
||||||
<http://www.w3.org/TR/xmlschema11-2/#regexs>. It is implemented by the
|
|
||||||
technique of derivations of regular expressions.
|
|
||||||
|
|
||||||
The W3C syntax is extended to support not only union of regular sets, but also
|
|
||||||
intersection, set difference, exor. Matching of subexpressions is also
|
|
||||||
supported.
|
|
||||||
|
|
||||||
The library can be used for constricting lightweight scanners and tokenizers.
|
|
||||||
It is a standalone library, no external regex libraries are used.
|
|
||||||
|
|
||||||
Extensions in 9.2: The library does nor only support String's, but also
|
|
||||||
ByteString's and Text in strict and lazy variants.
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: Haskell %{pkg_name} library development files
|
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
|
||||||
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
|
||||||
%if %{defined ghc_version}
|
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
|
||||||
%endif
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
This package provides the Haskell %{pkg_name} library development
|
|
||||||
files.
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with haddock}
|
|
||||||
%package doc
|
|
||||||
Summary: Haskell %{pkg_name} library documentation
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
This package provides the Haskell %{pkg_name} library
|
|
||||||
documentation.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with ghc_prof}
|
|
||||||
%package prof
|
|
||||||
Summary: Haskell %{pkg_name} profiling library
|
|
||||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
||||||
Supplements: (%{name}-devel and ghc-prof)
|
|
||||||
|
|
||||||
%description prof
|
|
||||||
This package provides the Haskell %{pkg_name} profiling library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
# Begin cabal-rpm setup:
|
|
||||||
%setup -q -n %{pkgver}
|
|
||||||
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
|
||||||
# End cabal-rpm setup
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
# Begin cabal-rpm build:
|
|
||||||
%ghc_lib_build
|
|
||||||
# End cabal-rpm build
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
# Begin cabal-rpm install
|
|
||||||
%ghc_lib_install
|
|
||||||
# End cabal-rpm install
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
|
||||||
%cabal_test
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
|
||||||
# Begin cabal-rpm files:
|
|
||||||
%license LICENSE
|
|
||||||
# End cabal-rpm files
|
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
|
||||||
%doc examples
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with haddock}
|
|
||||||
%files doc -f %{name}-doc.files
|
|
||||||
%license LICENSE
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with ghc_prof}
|
|
||||||
%files prof -f %{name}-prof.files
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 9.2.0.3-16
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.0.3-15
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.0.3-14
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 17 2020 Jens Petersen <petersen@redhat.com> - 9.2.0.3-13
|
|
||||||
- refresh to cabal-rpm-2.0.6
|
|
||||||
|
|
||||||
* Wed Feb 19 2020 Jens Petersen <petersen@redhat.com> - 9.2.0.3-12
|
|
||||||
- refresh to cabal-rpm-2.0.2
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.0.3-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Aug 02 2019 Jens Petersen <petersen@redhat.com> - 9.2.0.3-10
|
|
||||||
- add doc and prof subpackages (cabal-rpm-1.0.0)
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.0.3-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 9.2.0.3-8
|
|
||||||
- refresh to cabal-rpm-0.13
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.0.3-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 9.2.0.3-6
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.0.3-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.2.0.3-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 9.2.0.3-3
|
|
||||||
- rebuild
|
|
||||||
|
|
||||||
* Wed Oct 4 2017 Jens Petersen <petersen@redhat.com> - 9.2.0.3-2
|
|
||||||
- disable tests due to hanging
|
|
||||||
https://github.com/UweSchmidt/hxt/issues/72
|
|
||||||
|
|
||||||
* Sat Sep 16 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 9.2.0.3-1
|
|
||||||
- spec file generated by cabal-rpm-0.11.2
|
|
@ -1,116 +0,0 @@
|
|||||||
Name: hxt-regex-xmlschema
|
|
||||||
Version: 9.2.0.3
|
|
||||||
x-revision: 1
|
|
||||||
Synopsis: A regular expression library for W3C XML Schema regular expressions
|
|
||||||
Description: This library supports full W3C XML Schema regular expressions
|
|
||||||
inclusive all Unicode character sets and blocks.
|
|
||||||
The complete grammar can be found under <http://www.w3.org/TR/xmlschema11-2/#regexs>.
|
|
||||||
It is implemented by the technique of derivations of regular expressions.
|
|
||||||
.
|
|
||||||
The W3C syntax is extended to support not only union of regular sets,
|
|
||||||
but also intersection, set difference, exor.
|
|
||||||
Matching of subexpressions is also supported.
|
|
||||||
.
|
|
||||||
The library can be used for constricting lightweight scanners and tokenizers.
|
|
||||||
It is a standalone library, no external regex libraries are used.
|
|
||||||
.
|
|
||||||
Extensions in 9.2: The library does nor only support String's, but also
|
|
||||||
ByteString's and Text in strict and lazy variants
|
|
||||||
License: MIT
|
|
||||||
License-file: LICENSE
|
|
||||||
Author: Uwe Schmidt
|
|
||||||
Maintainer: Uwe Schmidt <uwe@fh-wedel.de>
|
|
||||||
Copyright: Copyright (c) 2010- Uwe Schmidt
|
|
||||||
Stability: stable
|
|
||||||
Category: Text
|
|
||||||
Homepage: http://www.haskell.org/haskellwiki/Regular_expressions_for_XML_Schema
|
|
||||||
Build-type: Simple
|
|
||||||
Cabal-version: >=1.10
|
|
||||||
|
|
||||||
extra-source-files:
|
|
||||||
examples/colorizeProgs/ColorizeSourceCode.hs
|
|
||||||
examples/colorizeProgs/Makefile
|
|
||||||
examples/performance/REtest.hs
|
|
||||||
examples/performance/Makefile
|
|
||||||
examples/RegexXMLSchema/Makefile
|
|
||||||
examples/RegexXMLSchema/REtest.hs
|
|
||||||
|
|
||||||
flag profile
|
|
||||||
description: turn profiling on
|
|
||||||
default: False
|
|
||||||
|
|
||||||
Library
|
|
||||||
Exposed-modules:
|
|
||||||
Text.Regex.Glob.String
|
|
||||||
Text.Regex.Glob.Generic
|
|
||||||
Text.Regex.Glob.Generic.RegexParser
|
|
||||||
Text.Regex.XMLSchema.String
|
|
||||||
Text.Regex.XMLSchema.Generic
|
|
||||||
Text.Regex.XMLSchema.Generic.Matching
|
|
||||||
Text.Regex.XMLSchema.Generic.RegexParser
|
|
||||||
Text.Regex.XMLSchema.Generic.Regex
|
|
||||||
Text.Regex.XMLSchema.Generic.StringLike
|
|
||||||
|
|
||||||
hs-source-dirs: src
|
|
||||||
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
|
|
||||||
|
|
||||||
if flag(profile)
|
|
||||||
ghc-prof-options: -caf-all
|
|
||||||
|
|
||||||
build-depends: base >= 4.5 && < 5
|
|
||||||
, bytestring >= 0.10
|
|
||||||
, hxt-charproperties >= 9 && < 10
|
|
||||||
, parsec >= 2.1 && < 4
|
|
||||||
, text >= 0.10
|
|
||||||
|
|
||||||
test-suite SimpleMatch
|
|
||||||
hs-source-dirs: test
|
|
||||||
main-is: SimpleTest.hs
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
default-language: Haskell2010
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
build-depends: base
|
|
||||||
, bytestring
|
|
||||||
, hxt-regex-xmlschema
|
|
||||||
, text
|
|
||||||
, HUnit
|
|
||||||
|
|
||||||
test-suite Date
|
|
||||||
hs-source-dirs: test
|
|
||||||
main-is: Date.hs
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
default-language: Haskell2010
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
build-depends: base
|
|
||||||
, bytestring
|
|
||||||
, hxt-regex-xmlschema
|
|
||||||
, parsec >= 2
|
|
||||||
, text
|
|
||||||
, HUnit
|
|
||||||
|
|
||||||
Benchmark Benchmark
|
|
||||||
hs-source-dirs: test
|
|
||||||
main-is: Benchmark.hs
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
|
|
||||||
default-language: Haskell2010
|
|
||||||
|
|
||||||
ghc-options: -Wall -O2
|
|
||||||
|
|
||||||
build-depends: base
|
|
||||||
, bytestring
|
|
||||||
, criterion >= 1
|
|
||||||
, deepseq >= 1.2
|
|
||||||
, hxt-regex-xmlschema
|
|
||||||
, parsec >= 2
|
|
||||||
, text
|
|
||||||
|
|
||||||
Source-Repository head
|
|
||||||
Type: git
|
|
||||||
Location: git://github.com/UweSchmidt/hxt.git
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user