Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-tagged for openSUSE:Factory checked in at 2025-12-19 16:45:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-tagged (Old) and /work/SRC/openSUSE:Factory/.ghc-tagged.new.1928 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-tagged" Fri Dec 19 16:45:40 2025 rev:28 rq:1323029 version:0.8.10 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-tagged/ghc-tagged.changes 2024-12-20 23:11:52.031556573 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-tagged.new.1928/ghc-tagged.changes 2025-12-19 16:49:06.102040996 +0100 @@ -1,0 +2,14 @@ +Mon Dec 8 00:55:42 UTC 2025 - Peter Simons <[email protected]> + +- Update tagged to version 0.8.10. + 0.8.10 [2025.12.07] + ------------------- + * Deprecate `Data.Proxy.TH.{pr,pr1}`, as their functionality has been subsumed + by using `Proxy` with `TypeApplications` syntax. For instance, uses of + `[pr|T|]` should be migrated to `Proxy @T`. `Data.Proxy.TH` will be removed + in the next `tagged` release. + * Allow disabling the `template-haskell` dependency by disabling a `cabal` flag + of the same name. + * Support building with MicroHs. + +------------------------------------------------------------------- Old: ---- tagged-0.8.9.tar.gz New: ---- tagged-0.8.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-tagged.spec ++++++ --- /var/tmp/diff_new_pack.v6fZLo/_old 2025-12-19 16:49:09.662189877 +0100 +++ /var/tmp/diff_new_pack.v6fZLo/_new 2025-12-19 16:49:09.666190045 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-tagged # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global pkg_name tagged %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.8.9 +Version: 0.8.10 Release: 0 Summary: Haskell 98 phantom types to avoid unsafely passing dummy arguments License: BSD-3-Clause @@ -33,8 +33,6 @@ 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 ++++++ tagged-0.8.9.tar.gz -> tagged-0.8.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tagged-0.8.9/CHANGELOG.markdown new/tagged-0.8.10/CHANGELOG.markdown --- old/tagged-0.8.9/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200 +++ new/tagged-0.8.10/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,13 @@ +0.8.10 [2025.12.07] +------------------- +* Deprecate `Data.Proxy.TH.{pr,pr1}`, as their functionality has been subsumed + by using `Proxy` with `TypeApplications` syntax. For instance, uses of + `[pr|T|]` should be migrated to `Proxy @T`. `Data.Proxy.TH` will be removed + in the next `tagged` release. +* Allow disabling the `template-haskell` dependency by disabling a `cabal` flag + of the same name. +* Support building with MicroHs. + 0.8.9 [2024.12.03] ------------------ * Allow building with GHC 9.12. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tagged-0.8.9/src/Data/Proxy/TH.hs new/tagged-0.8.10/src/Data/Proxy/TH.hs --- old/tagged-0.8.9/src/Data/Proxy/TH.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/tagged-0.8.10/src/Data/Proxy/TH.hs 2001-09-09 03:46:40.000000000 +0200 @@ -37,6 +37,12 @@ -- @Proxy :: Proxy [A,B,C]@. -- TODO: parse a richer syntax for the types involved here so we can include spaces, applications, etc. +{-# DEPRECATED + pr + [ "'pr' will be removed in the next release. Use 'Proxy' with @TypeApplications@ instead. " + , "Instead of using @[pr|T|]@, use @Proxy \\@T@ instead. " + , "Instead of using @[pr|A,B,C|]@, use @Proxy \\@[A,B,C]@ instead. " + ] #-} pr :: QuasiQuoter pr = QuasiQuoter (mkProxy proxyExpQ) (mkProxy proxyPatQ) (mkProxy proxyTypeQ) undefined where mkProxy :: (TypeQ -> r) -> String -> r @@ -56,6 +62,11 @@ -- of types. -- TODO: parse a richer syntax for the types involved here so we can include spaces, applications, etc. +{-# DEPRECATED + pr1 + [ "'pr1' will be removed in the next release. Use 'Proxy' with @TypeApplications@ instead. " + , "Instead of using @[pr1|T|]@, use @Proxy \\@'[T]@ instead. " + ] #-} pr1 :: QuasiQuoter pr1 = QuasiQuoter (mkProxy proxyExpQ) (mkProxy proxyPatQ) (mkProxy proxyTypeQ) undefined where sing x = AppT (AppT PromotedConsT x) PromotedNilT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tagged-0.8.9/src/Data/Tagged.hs new/tagged-0.8.10/src/Data/Tagged.hs --- old/tagged-0.8.9/src/Data/Tagged.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/tagged-0.8.10/src/Data/Tagged.hs 2001-09-09 03:46:40.000000000 +0200 @@ -42,13 +42,9 @@ #ifdef MIN_VERSION_deepseq import Control.DeepSeq (NFData(..)) #endif -#ifdef MIN_VERSION_transformers import Data.Functor.Classes ( Eq1(..), Ord1(..), Read1(..), Show1(..) -# if !(MIN_VERSION_transformers(0,4,0)) || MIN_VERSION_transformers(0,5,0) , Eq2(..), Ord2(..), Read2(..), Show2(..) -# endif ) -#endif import Control.Monad (liftM) import Data.Bifunctor #if MIN_VERSION_base(4,10,0) @@ -65,9 +61,14 @@ import Data.Ix (Ix(..)) import Data.Semigroup (Semigroup(..)) import Data.String (IsString(..)) +#ifdef __MHS__ +import Data.Traversable (Traversable(..)) +#endif import Foreign.Ptr (castPtr) import Foreign.Storable (Storable(..)) +#ifdef __GLASGOW_HASKELL__ import GHC.Generics (Generic, Generic1) +#endif -- | A @'Tagged' s b@ value is a value @b@ with an attached phantom type @s@. -- This can be used in place of the more traditional but less safe idiom of @@ -80,7 +81,11 @@ -- 'Tagged' has kind @k -> * -> *@ if the compiler supports @PolyKinds@, therefore -- there is an extra @k@ showing in the instance haddocks that may cause confusion. newtype Tagged s b = Tagged { unTagged :: b } - deriving (Eq, Ord, Ix, Bounded, Generic, Generic1) + deriving ( Eq, Ord, Ix, Bounded +#ifdef __GLASGOW_HASKELL__ + , Generic, Generic1 +#endif + ) #ifdef __GLASGOW_HASKELL__ instance (Data s, Data b) => Data (Tagged s b) where @@ -154,7 +159,6 @@ rnf (Tagged b) = rnf b #endif -#ifdef MIN_VERSION_transformers instance Eq1 (Tagged s) where liftEq eq (Tagged a) (Tagged b) = eq a b @@ -184,7 +188,6 @@ liftShowsPrec2 _ _ sp _ n (Tagged b) = showParen (n > 10) $ showString "Tagged " . sp 11 b -#endif instance Applicative (Tagged s) where pure = Tagged diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tagged-0.8.9/tagged.cabal new/tagged-0.8.10/tagged.cabal --- old/tagged-0.8.9/tagged.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/tagged-0.8.10/tagged.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: tagged -version: 0.8.9 +version: 0.8.10 license: BSD3 license-file: LICENSE author: Edward A. Kmett @@ -41,11 +41,11 @@ default: True manual: True -flag transformers +flag template-haskell description: - You can disable the use of the `transformers` and `transformers-compat` packages using `-f-transformers`. + You can disable the use of the `template-haskell` package using `-f-template-haskell`. . - Disable this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. default: True manual: True @@ -53,12 +53,10 @@ default-language: Haskell98 other-extensions: CPP build-depends: - base >= 4.9 && < 5, - template-haskell >= 2.11 && < 2.24 + base >= 4.9 && < 5 ghc-options: -Wall hs-source-dirs: src exposed-modules: - Data.Proxy.TH Data.Tagged if impl(ghc >= 9.0) @@ -69,5 +67,7 @@ if flag(deepseq) build-depends: deepseq >= 1.1 && < 1.6 - if flag(transformers) - build-depends: transformers >= 0.4.2.0 && < 0.7 + if flag(template-haskell) && impl(ghc) + build-depends: template-haskell >= 2.11 && < 2.24 + exposed-modules: + Data.Proxy.TH
