commit ghc-base16-bytestring for openSUSE:Factory

2023-10-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-base16-bytestring for 
openSUSE:Factory checked in at 2023-10-13 23:14:51

Comparing /work/SRC/openSUSE:Factory/ghc-base16-bytestring (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.20540 (New)


Package is "ghc-base16-bytestring"

Fri Oct 13 23:14:51 2023 rev:15 rq:1117073 version:1.0.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-base16-bytestring/ghc-base16-bytestring.changes  
2023-04-04 21:18:37.072500860 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.20540/ghc-base16-bytestring.changes
   2023-10-13 23:15:55.521744925 +0200
@@ -1,0 +2,6 @@
+Wed Oct  4 14:05:26 UTC 2023 - Peter Simons 
+
+- Update base16-bytestring to version 1.0.2.0 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+---

New:

  base16-bytestring.cabal



Other differences:
--
++ ghc-base16-bytestring.spec ++
--- /var/tmp/diff_new_pack.CzL3ky/_old  2023-10-13 23:15:56.013762771 +0200
+++ /var/tmp/diff_new_pack.CzL3ky/_new  2023-10-13 23:15:56.021763061 +0200
@@ -26,6 +26,7 @@
 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
@@ -88,6 +89,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ base16-bytestring.cabal ++
cabal-version:  1.12
name:   base16-bytestring
version:1.0.2.0
x-revision: 1
synopsis:   RFC 4648-compliant Base16 encodings for ByteStrings
description:
  This package provides support for encoding and decoding binary data according
  to @base16@ (see also ) for
  strict (see "Data.ByteString.Base16") and lazy @ByteString@s (see 
"Data.ByteString.Base16.Lazy").
  .
  See the  package which 
provides superior encoding and decoding performance as well as support for 
lazy, short, and strict variants of 'Text' and 'ByteString' values. 
Additionally, see the  package which
  provides an uniform API providing conversion paths between more binary and 
textual types.

homepage:   http://github.com/haskell/base16-bytestring
bug-reports:http://github.com/haskell/base16-bytestring/issues
license:BSD3
license-file:   LICENSE
copyright:
  Copyright 2011 MailRank, Inc.;
  Copyright 2010-2020 Bryan O'Sullivan et al.

author: Bryan O'Sullivan 
maintainer:
  Herbert Valerio Riedel ,
  Mikhail Glushenkov ,
  Emily Pillmore 

category:   Data
build-type: Simple
extra-source-files:
  README.md
  CHANGELOG.md

tested-with:
  GHC == 9.8.0
  GHC == 9.6.3
  GHC == 9.4.7
  GHC == 9.2.8
  GHC == 9.0.2
  GHC == 8.10.7
  GHC == 8.8.4
  GHC == 8.6.5
  GHC == 8.4.4
  GHC == 8.2.2
  GHC == 8.0.2

source-repository head
  type: git
  location: http://github.com/haskell/base16-bytestring

library
  other-modules:Data.ByteString.Base16.Internal
  exposed-modules:
Data.ByteString.Base16
Data.ByteString.Base16.Lazy

  build-depends:
  base>=4.9 && <5
, bytestring  >=0.9 && <0.13

  ghc-options:  -Wall -funbox-strict-fields
  default-language: Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  hs-source-dirs:   tests
  main-is:  Tests.hs
  build-depends:
  base
, base16-bytestring
, bytestring
, HUnit
, QuickCheck
, test-framework
, test-framework-hunit
, test-framework-quickcheck2

  default-language: Haskell2010

benchmark bench
  type: exitcode-stdio-1.0
  hs-source-dirs:   benchmarks
  main-is:  Benchmarks.hs
  build-depends:
  base   >=4 && <5
, base16-bytestring
, bytestring
, criterion
, deepseq

  default-language: Haskell2010


commit ghc-base16-bytestring for openSUSE:Factory

2023-04-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-base16-bytestring for 
openSUSE:Factory checked in at 2023-04-04 21:18:33

Comparing /work/SRC/openSUSE:Factory/ghc-base16-bytestring (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.19717 (New)


Package is "ghc-base16-bytestring"

Tue Apr  4 21:18:33 2023 rev:14 rq:1075773 version:1.0.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-base16-bytestring/ghc-base16-bytestring.changes  
2021-11-11 21:36:15.764881682 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.19717/ghc-base16-bytestring.changes
   2023-04-04 21:18:37.072500860 +0200
@@ -1,0 +2,5 @@
+Thu Mar 30 17:05:53 UTC 2023 - Peter Simons 
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+---



Other differences:
--
++ ghc-base16-bytestring.spec ++
--- /var/tmp/diff_new_pack.SOPwG1/_old  2023-04-04 21:18:37.684504762 +0200
+++ /var/tmp/diff_new_pack.SOPwG1/_new  2023-04-04 21:18:37.688504787 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-base16-bytestring
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %global pkg_name base16-bytestring
+%global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:   ghc-%{pkg_name}
 Version:1.0.2.0
@@ -26,15 +27,23 @@
 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-bytestring-devel
+BuildRequires:  ghc-bytestring-prof
 BuildRequires:  ghc-rpm-macros
 ExcludeArch:%{ix86}
 %if %{with tests}
 BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-HUnit-prof
 BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-QuickCheck-prof
 BuildRequires:  ghc-test-framework-devel
 BuildRequires:  ghc-test-framework-hunit-devel
+BuildRequires:  ghc-test-framework-hunit-prof
+BuildRequires:  ghc-test-framework-prof
 BuildRequires:  ghc-test-framework-quickcheck2-devel
+BuildRequires:  ghc-test-framework-quickcheck2-prof
 %endif
 
 %description
@@ -61,6 +70,22 @@
 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}
 
@@ -85,4 +110,9 @@
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md README.md
 
+%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


commit ghc-base16-bytestring for openSUSE:Factory

2021-11-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-base16-bytestring for 
openSUSE:Factory checked in at 2021-11-11 21:36:11

Comparing /work/SRC/openSUSE:Factory/ghc-base16-bytestring (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.1890 (New)


Package is "ghc-base16-bytestring"

Thu Nov 11 21:36:11 2021 rev:13 rq:930306 version:1.0.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/ghc-base16-bytestring/ghc-base16-bytestring.changes  
2020-12-22 11:35:27.661258487 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-base16-bytestring.new.1890/ghc-base16-bytestring.changes
2021-11-11 21:36:15.764881682 +0100
@@ -1,0 +2,8 @@
+Mon Nov  1 08:26:56 UTC 2021 - psim...@suse.com
+
+- Update base16-bytestring to version 1.0.2.0.
+  # 1.0.2.0
+
+  * Support sized primitive types in GHC 9.2 
([#16](https://github.com/haskell/base16-bytestring/pull/16) - thanks Bodigrim!)
+
+---

Old:

  base16-bytestring-1.0.1.0.tar.gz

New:

  base16-bytestring-1.0.2.0.tar.gz



Other differences:
--
++ ghc-base16-bytestring.spec ++
--- /var/tmp/diff_new_pack.KY4v9t/_old  2021-11-11 21:36:16.212882009 +0100
+++ /var/tmp/diff_new_pack.KY4v9t/_new  2021-11-11 21:36:16.216882012 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-base16-bytestring
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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 base16-bytestring
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:1.0.1.0
+Version:1.0.2.0
 Release:0
 Summary:RFC 4648-compliant Base16 encodings for ByteStrings
 License:BSD-3-Clause

++ base16-bytestring-1.0.1.0.tar.gz -> base16-bytestring-1.0.2.0.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base16-bytestring-1.0.1.0/CHANGELOG.md 
new/base16-bytestring-1.0.2.0/CHANGELOG.md
--- old/base16-bytestring-1.0.1.0/CHANGELOG.md  2001-09-09 03:46:40.0 
+0200
+++ new/base16-bytestring-1.0.2.0/CHANGELOG.md  2001-09-09 03:46:40.0 
+0200
@@ -1,6 +1,10 @@
+# 1.0.2.0
+
+* Support sized primitive types in GHC 9.2 
([#16](https://github.com/haskell/base16-bytestring/pull/16) - thanks Bodigrim!)
+
 # 1.0.1.0
 
-* Backwards-compatible support for `bytestring ^>= 0.11` 
([#15](https://github.com/haskell/base16-bytestring/pull/15)) 
+* Backwards-compatible support for `bytestring ^>= 0.11` 
([#15](https://github.com/haskell/base16-bytestring/pull/15))
 
 # 1.0.0.0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/base16-bytestring-1.0.1.0/Data/ByteString/Base16/Internal.hs 
new/base16-bytestring-1.0.2.0/Data/ByteString/Base16/Internal.hs
--- old/base16-bytestring-1.0.1.0/Data/ByteString/Base16/Internal.hs
2001-09-09 03:46:40.0 +0200
+++ new/base16-bytestring-1.0.2.0/Data/ByteString/Base16/Internal.hs
2001-09-09 03:46:40.0 +0200
@@ -10,13 +10,12 @@
 , c2w
 , aix
 , reChunk
-, unsafeShiftR
 , withBS
 , mkBS
 ) where
 
 
-import Data.Bits ((.&.), (.|.))
+import Data.Bits ((.&.), (.|.), unsafeShiftR)
 import qualified Data.ByteString as B
 import Data.ByteString.Internal (ByteString(..))
 import Data.Char (ord)
@@ -26,7 +25,7 @@
 import Foreign.Storable (Storable(poke, peek))
 
 import GHC.Word (Word8(..))
-import GHC.Exts (Int(I#), Addr#, indexWord8OffAddr#, word2Int#, 
uncheckedShiftRL#)
+import GHC.Exts (Int(I#), Addr#, indexWord8OffAddr#)
 
 #if __GLASGOW_HASKELL__ >= 702
 import System.IO.Unsafe (unsafeDupablePerformIO)
@@ -135,7 +134,9 @@
 -- Utils
 
 aix :: Word8 -> Addr# -> Word8
-aix (W8# w) table = W8# (indexWord8OffAddr# table (word2Int# w))
+aix w table = W8# (indexWord8OffAddr# table i)
+  where
+!(I# i) = fromIntegral w
 {-# INLINE aix #-}
 
 -- | Form a list of chunks, and rechunk the list of bytestrings
@@ -157,10 +158,6 @@
 in q' : reChunk as'
   else cont_ q' as
 
-unsafeShiftR :: Word8 -> Int -> Word8
-unsafeShiftR (W8# x#) (I# i#) = W8# (x# `uncheckedShiftRL#` i#)
-{-# INLINE unsafeShiftR #-}
-
 c2w :: Char -> Word8
 c2w = fromIntegral . ord
 {-# INLINE c2w #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base16-bytestring-1.0.1.0/base16-bytestring.cabal 
new/base16-bytestring-1.0.2.0/base16-bytestring.cabal
--- old/base16-bytestring-1.0.1.0/base16-bytestring.cabal   2001-09-09 
03:46:40.0 +0200
+++ new/base16-bytestring-1.0.2.0/base16-bytestring.cabal   2001-09-09 
03:4