diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-30 08:54:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-30 08:54:25 +0000 |
commit | 100e24b170f9b651950b39df7aee914739671acd (patch) | |
tree | d73d3cf0d42d96a4fa05a1356ed4bf0135afbe25 | |
parent | ac8661a03f520ae1ea26f0a16ee3eca1e599c950 (diff) |
automatic import of ghc-uniplateopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ghc-uniplate.spec | 111 | ||||
-rw-r--r-- | sources | 1 | ||||
-rwxr-xr-x | uniplate.cabal | 88 |
4 files changed, 201 insertions, 0 deletions
@@ -0,0 +1 @@ +/uniplate-1.6.13.tar.gz diff --git a/ghc-uniplate.spec b/ghc-uniplate.spec new file mode 100644 index 0000000..f5ce4d7 --- /dev/null +++ b/ghc-uniplate.spec @@ -0,0 +1,111 @@ +%global pkg_name uniplate +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 1.6.13 +Release: 1 +Summary: Help writing simple, concise and fast generic operations +License: BSD-3-Clause +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-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-hashable-devel +BuildRequires: ghc-hashable-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-syb-devel +BuildRequires: ghc-syb-prof +BuildRequires: ghc-unordered-containers-devel +BuildRequires: ghc-unordered-containers-prof +ExcludeArch: %{ix86} + +%description +Uniplate is library for writing simple and concise generic operations. +Uniplate has similar goals to the original Scrap Your Boilerplate work, but is +substantially simpler and faster. + +To get started with Uniplate you should import one of the three following +modules: + +* "Data.Generics.Uniplate.Data" - to quickly start writing generic functions. +Most users should start by importing this module. + +* "Data.Generics.Uniplate.Direct" - a replacement for +"Data.Generics.Uniplate.Data" with substantially higher performance (around 5 +times), but requires writing instance declarations. + +* "Data.Generics.Uniplate.Operations" - definitions of all the operations +defined by Uniplate. Both the above two modules re-export this module. + +In addition, some users may want to make use of the following modules: + +* "Data.Generics.Uniplate.Zipper" - a zipper built on top of Uniplate +instances. + +* "Data.Generics.SYB" - users transitioning from the Scrap Your Boilerplate +library. + +* "Data.Generics.Compos" - users transitioning from the Compos library. + +* "Data.Generics.Uniplate.DataOnly" - users making use of both 'Data' and +'Direct' to avoid getting instance conflicts. + +%package devel +Summary: Haskell %{pkg_name} library development files +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. + +%package -n ghc-%{pkg_name}-help +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch + +%description -n ghc-%{pkg_name}-help +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + +%prep +%autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license LICENSE + +%files devel -f %{name}-devel.files +%doc CHANGES.txt README.md + +%files -n ghc-%{pkg_name}-help -f ghc-%{pkg_name}-help.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog +* Tue Aug 22 2023 Lin Runze <lrzlin@163.com> 1.6.13-1 +- Initial packaging (Version 1.6.13) @@ -0,0 +1 @@ +51ba18d666946596d18cfd2b226e2452 uniplate-1.6.13.tar.gz diff --git a/uniplate.cabal b/uniplate.cabal new file mode 100755 index 0000000..6815428 --- /dev/null +++ b/uniplate.cabal @@ -0,0 +1,88 @@ +cabal-version: >= 1.18
+build-type: Simple
+name: uniplate
+version: 1.6.13
+x-revision: 1
+author: Neil Mitchell <ndmitchell@gmail.com>
+maintainer: Neil Mitchell <ndmitchell@gmail.com>
+copyright: Neil Mitchell 2006-2020
+homepage: https://github.com/ndmitchell/uniplate#readme
+bug-reports: https://github.com/ndmitchell/uniplate/issues
+license: BSD3
+license-file: LICENSE
+synopsis: Help writing simple, concise and fast generic operations.
+category: Generics
+description:
+ Uniplate is library for writing simple and concise generic operations.
+ Uniplate has similar goals to the original Scrap Your Boilerplate work,
+ but is substantially simpler and faster.
+ .
+ To get started with Uniplate you should import one of the three following
+ modules:
+ .
+ * "Data.Generics.Uniplate.Data" - to quickly start writing generic functions.
+ Most users should start by importing this module.
+ .
+ * "Data.Generics.Uniplate.Direct" - a replacement for "Data.Generics.Uniplate.Data"
+ with substantially higher performance (around 5 times), but requires writing
+ instance declarations.
+ .
+ * "Data.Generics.Uniplate.Operations" - definitions of all the operations defined
+ by Uniplate. Both the above two modules re-export this module.
+ .
+ In addition, some users may want to make use of the following modules:
+ .
+ * "Data.Generics.Uniplate.Zipper" - a zipper built on top of Uniplate instances.
+ .
+ * "Data.Generics.SYB" - users transitioning from the Scrap Your Boilerplate library.
+ .
+ * "Data.Generics.Compos" - users transitioning from the Compos library.
+ .
+ * "Data.Generics.Uniplate.DataOnly" - users making use of both @Data@ and @Direct@
+ to avoid getting instance conflicts.
+
+extra-source-files:
+ Data/Generics/Uniplate/Internal/DataInc.hs
+ Data/Generics/Uniplate/Internal/OperationsInc.hs
+extra-doc-files:
+ README.md
+ CHANGES.txt
+tested-with: GHC==8.10, GHC==8.8, GHC==8.6, GHC==8.4, GHC==8.2, GHC==8.0
+
+source-repository head
+ type: git
+ location: https://github.com/ndmitchell/uniplate.git
+
+library
+ default-language: Haskell2010
+ build-depends:
+ base >=4.10 && <5, containers, syb, ghc-prim,
+ hashable >= 1.1.2.3,
+ unordered-containers >= 0.2.1
+
+ exposed-modules:
+ Data.Generics.Str
+ Data.Generics.Compos
+ Data.Generics.SYB
+ Data.Generics.Uniplate.Data
+ Data.Generics.Uniplate.Data.Instances
+ Data.Generics.Uniplate.DataOnly
+ Data.Generics.Uniplate.Direct
+ Data.Generics.Uniplate.Operations
+ Data.Generics.Uniplate.Typeable
+ Data.Generics.Uniplate.Zipper
+
+ -- DEPRECATED
+ Data.Generics.Uniplate
+ Data.Generics.UniplateOn
+ Data.Generics.UniplateStr
+ Data.Generics.UniplateStrOn
+ Data.Generics.Biplate
+ Data.Generics.PlateDirect
+ Data.Generics.PlateTypeable
+ Data.Generics.PlateData
+
+ other-modules:
+ Data.Generics.Uniplate.Internal.Data
+ Data.Generics.Uniplate.Internal.DataOnlyOperations
+ Data.Generics.Uniplate.Internal.Utils
|