commit 45cf3e2133441a06cba82608f13a31b864272ee624f33a8d97fe5c5fd16e4b57 Author: Peter Simons Date: Tue Dec 10 11:25:56 2024 +0000 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-tagged revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-tagged?expand=0&rev=86 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ghc-tagged.changes b/ghc-tagged.changes new file mode 100644 index 0000000..1d006dd --- /dev/null +++ b/ghc-tagged.changes @@ -0,0 +1,207 @@ +------------------------------------------------------------------- +Tue Dec 3 12:15:57 UTC 2024 - Peter Simons + +- Update tagged to version 0.8.9. + 0.8.9 [2024.12.03] + ------------------ + * Allow building with GHC 9.12. + * Drop support for GHC 7.10 and earlier. + +------------------------------------------------------------------- +Sat Mar 16 15:19:10 UTC 2024 - Peter Simons + +- Update tagged to version 0.8.8 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Tue Aug 8 10:32:28 UTC 2023 - Peter Simons + +- Update tagged to version 0.8.8. + 0.8.8 [2023.08.08] + ------------------ + * Allow building with GHC 9.8. + +------------------------------------------------------------------- +Thu Mar 30 17:08:29 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Sat Feb 18 14:37:44 UTC 2023 - Peter Simons + +- Update tagged to version 0.8.7. + 0.8.7 [2023.02.18] + ------------------ + * Define `Foldable1` and `Bifoldable1` instances for `Tagged`. These instances + were originally defined in the `semigroupoids` library, and they have now + been migrated to `tagged` as a side effect of adapting to + [this Core Libraries Proposal](https://github.com/haskell/core-libraries-committee/issues/9), + which adds `Foldable1` and `Bifoldable1` to `base`. + +------------------------------------------------------------------- +Sat Jul 23 17:28:49 UTC 2022 - Peter Simons + +- Update tagged to version 0.8.6.1 revision 3. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Tue Jul 27 07:51:20 UTC 2021 - psimons@suse.com + +- Update tagged to version 0.8.6.1 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Thu Apr 22 10:06:06 UTC 2021 - psimons@suse.com + +- Update tagged to version 0.8.6.1 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Tue Dec 29 21:16:44 UTC 2020 - psimons@suse.com + +- Update tagged to version 0.8.6.1. + 0.8.6.1 [2020.12.28] + -------------------- + * Mark all modules as explicitly Safe or Trustworthy. + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Tue Oct 6 08:56:30 UTC 2020 - psimons@suse.com + +- Update tagged to version 0.8.6 revision 3. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Mon Aug 31 09:34:32 UTC 2020 - psimons@suse.com + +- Update tagged to version 0.8.6 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Tue Aug 18 10:46:09 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 16 11:14:39 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +------------------------------------------------------------------- +Fri Nov 8 16:14:53 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +------------------------------------------------------------------- +Tue Jun 11 14:29:19 UTC 2019 - Peter Simons + +- Update Cabal file for more accurate build dependencies. + +------------------------------------------------------------------- +Sat Oct 20 11:32:04 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +------------------------------------------------------------------- +Wed Jul 18 14:26:42 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Fri Jul 13 14:31:51 UTC 2018 - psimons@suse.com + +- Update tagged to version 0.8.6. + 0.8.6 [2018.07.02] + ------------------ + * Make the `Read(1)` instances for `Proxy` ignore the precedence argument, + mirroring similar changes to `base` + [here](http://git.haskell.org/ghc.git/commitdiff/8fd959998e900dffdb7f752fcd42df7aaedeae6e). + * Fix a bug in the `Floating` instance for `Tagged` in which `logBase` was + defined in terms of `(**)`. + * Avoid incurring some dependencies when using recent GHCs. + +------------------------------------------------------------------- +Wed May 16 14:36:29 UTC 2018 - psimons@suse.com + +- Prefer the new %license attribute over %doc. +- Update Cabal file to revision 2. + * add support for GHC 8.4.x + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Thu Dec 8 11:03:19 UTC 2016 - psimons@suse.com + +- Update to version 0.8.5 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Thu Sep 15 07:10:20 UTC 2016 - psimons@suse.com + +- Update to version 0.8.5 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:17:11 UTC 2016 - psimons@suse.com + +- Update to version 0.8.4 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Tue Apr 26 08:55:10 UTC 2016 - mimi.vx@gmail.com + +- update to 0.8.4 +* Backport the Alternative, MonadPlus, and MonadZip instances for Proxy from base-4.9 +* Add Bits, FiniteBits, IsString, and Storable instances for Tagged + +------------------------------------------------------------------- +Fri Jan 29 13:14:41 UTC 2016 - mimi.vx@gmail.com + +- update to 0.8.3 +* Manual Generic1 support to work around a bug in GHC 7.6 +* Invert the dependency to supply the Semigroup instance ourselves + when building on GHC 8 + +------------------------------------------------------------------- +Sun Nov 8 20:50:03 UTC 2015 - mimi.vx@gmail.com + +- update to 0.8.2 +* deepseq support + +------------------------------------------------------------------- +Fri Aug 7 08:29:50 UTC 2015 - mimi.vx@gmail.com + +- update to 0.8.1 +* Add KProxy to the backwards compatibility Data.Proxy module. +* Add a Generic instance to Proxy. +* Added Data.Proxy.TH, based on the code from Frames by Anthony Cowley. +* Removed reproxy from Data.Proxy. This is a bad API decision, but it isn't present + in GHC's Data.Proxy, and this makes the API more stable. + +------------------------------------------------------------------- +Sat Apr 25 17:34:25 UTC 2015 - mimi.vx@gmail.com + +- update to 0.7.3 +* Support `Data.Bifunctor` in `base` for GHC 7.9+. +* Fixed warning on GHC 7.8 +* Added `tagWith`. + +------------------------------------------------------------------- +Wed Oct 9 06:45:39 UTC 2013 - sbahling@suse.com + +- Update to 0.7 using cabal-rpm template + +------------------------------------------------------------------- +Fri Jun 8 17:05:42 UTC 2012 - peter.trommler@ohm-hochschule.de + +- use cabal2spec 0.25.5 spec file template + +------------------------------------------------------------------- +Sat Jan 21 11:20:55 UTC 2012 - herbert@graeber-clan.de + +- initial packaging for Fedora automatically generated by cabal2spec-0.24.1 diff --git a/ghc-tagged.spec b/ghc-tagged.spec new file mode 100644 index 0000000..e6a289b --- /dev/null +++ b/ghc-tagged.spec @@ -0,0 +1,95 @@ +# +# spec file for package ghc-tagged +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global pkg_name tagged +%global pkgver %{pkg_name}-%{version} +Name: ghc-%{pkg_name} +Version: 0.8.9 +Release: 0 +Summary: Haskell 98 phantom types to avoid unsafely passing dummy arguments +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 +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof +ExcludeArch: %{ix86} + +%description +Haskell 98 phantom types to avoid unsafely passing dummy arguments. + +%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}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +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} + +%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 CHANGELOG.markdown README.markdown + +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog diff --git a/tagged-0.8.8.tar.gz b/tagged-0.8.8.tar.gz new file mode 100644 index 0000000..7d2c77c --- /dev/null +++ b/tagged-0.8.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a083fa7835516203c168433a1c8dfc0290a94b05fedab566ad0640fc9137a6a7 +size 10094 diff --git a/tagged-0.8.9.tar.gz b/tagged-0.8.9.tar.gz new file mode 100644 index 0000000..1780b24 --- /dev/null +++ b/tagged-0.8.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6daad88ebb414ba6a556d2898d2cbe7650e4276010e3a6eed939daf54b956784 +size 8151 diff --git a/tagged.cabal b/tagged.cabal new file mode 100644 index 0000000..6a9d9e1 --- /dev/null +++ b/tagged.cabal @@ -0,0 +1,97 @@ +name: tagged +version: 0.8.8 +x-revision: 1 +license: BSD3 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: experimental +category: Data, Phantom Types +synopsis: Haskell 98 phantom types to avoid unsafely passing dummy arguments +homepage: http://github.com/ekmett/tagged +bug-reports: http://github.com/ekmett/tagged/issues +copyright: 2009-2015 Edward A. Kmett +description: Haskell 98 phantom types to avoid unsafely passing dummy arguments. +build-type: Simple +cabal-version: >= 1.10 +extra-source-files: .hlint.yaml CHANGELOG.markdown README.markdown +tested-with: + GHC == 7.0.4 + GHC == 7.2.2 + GHC == 7.4.2 + GHC == 7.6.3 + GHC == 7.8.4 + GHC == 7.10.3 + GHC == 8.0.2 + GHC == 8.2.2 + GHC == 8.4.4 + GHC == 8.6.5 + GHC == 8.8.4 + GHC == 8.10.7 + GHC == 9.0.2 + GHC == 9.2.8 + GHC == 9.4.8 + GHC == 9.6.4 + GHC == 9.8.2 + GHC == 9.10.0 + +source-repository head + type: git + location: https://github.com/ekmett/tagged.git + +flag deepseq + description: + You can disable the use of the `deepseq` package using `-f-deepseq`. + . + Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +flag transformers + description: + You can disable the use of the `transformers` and `transformers-compat` packages using `-f-transformers`. + . + Disable this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: True + +library + default-language: Haskell98 + other-extensions: CPP + build-depends: base >= 2 && < 5 + ghc-options: -Wall + hs-source-dirs: src + exposed-modules: Data.Tagged + + if impl(ghc >= 9.0) + -- these flags may abort compilation with GHC-8.10 + -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295 + ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode + + if !impl(hugs) + cpp-options: -DLANGUAGE_DeriveDataTypeable + other-extensions: DeriveDataTypeable + + if impl(ghc<7.7) + hs-source-dirs: old + exposed-modules: Data.Proxy + other-modules: Paths_tagged + + if impl(ghc>=7.2 && <7.5) + build-depends: ghc-prim + + if impl(ghc>=7.6) + exposed-modules: Data.Proxy.TH + build-depends: template-haskell >= 2.8 && < 2.23 + + if flag(deepseq) + build-depends: deepseq >= 1.1 && < 1.6 + + if flag(transformers) + build-depends: transformers >= 0.2 && < 0.7 + + -- Ensure Data.Functor.Classes is always available + if impl(ghc >= 7.10) || impl(ghcjs) + build-depends: transformers >= 0.4.2.0 + else + build-depends: transformers-compat >= 0.5 && < 1