update to 3.5.8.1

This commit is contained in:
Jens Petersen 2023-01-22 23:32:01 +08:00
parent 534a118a99
commit 6e55281305
4 changed files with 30 additions and 137 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/esqueleto-3.5.2.0.tar.gz
/esqueleto-3.5.2.1.tar.gz
/esqueleto-3.5.3.1.tar.gz
/esqueleto-3.5.8.1.tar.gz

View File

@ -1,129 +0,0 @@
cabal-version: 1.12
name: esqueleto
version: 3.5.3.1
x-revision: 1
synopsis: Type-safe EDSL for SQL queries on persistent backends.
description: @esqueleto@ is a bare bones, type-safe EDSL for SQL queries that works with unmodified @persistent@ SQL backends. Its language closely resembles SQL, so you don't have to learn new concepts, just new syntax, and it's fairly easy to predict the generated SQL and optimize it for your backend. Most kinds of errors committed when writing SQL are caught as compile-time errors---although it is possible to write type-checked @esqueleto@ queries that fail at runtime.
.
@persistent@ is a library for type-safe data serialization. It has many kinds of backends, such as SQL backends (@persistent-mysql@, @persistent-postgresql@, @persistent-sqlite@) and NoSQL backends (@persistent-mongoDB@). While @persistent@ is a nice library for storing and retrieving records, including with filters, it does not try to support some of the features that are specific to SQL backends. In particular, @esqueleto@ is the recommended library for type-safe @JOIN@s on @persistent@ SQL backends. (The alternative is using raw SQL, but that's error prone and does not offer any composability.)
.
Currently, @SELECT@s, @UPDATE@s, @INSERT@s and @DELETE@s are supported. Not all SQL features are available, but most of them can be easily added (especially functions), so please open an issue or send a pull request if you need anything that is not covered by @esqueleto@ on <https://github.com/bitemyapp/esqueleto>.
.
The name of this library means \"skeleton\" in Portuguese and contains all three SQL letters in the correct order =). It was inspired by Scala's Squeryl but created from scratch.
category: Database
homepage: https://github.com/bitemyapp/esqueleto
author: Felipe Lessa
maintainer: cma@bitemyapp.com
copyright: (c) 2012-2016 Felipe Almeida Lessa
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
changelog.md
source-repository head
type: git
location: git://github.com/bitemyapp/esqueleto.git
library
exposed-modules:
Database.Esqueleto
Database.Esqueleto.Legacy
Database.Esqueleto.Experimental
Database.Esqueleto.Internal.Internal
Database.Esqueleto.Internal.ExprParser
Database.Esqueleto.MySQL
Database.Esqueleto.PostgreSQL
Database.Esqueleto.PostgreSQL.JSON
Database.Esqueleto.SQLite
Database.Esqueleto.Experimental.From
Database.Esqueleto.Experimental.From.CommonTableExpression
Database.Esqueleto.Experimental.From.Join
Database.Esqueleto.Experimental.From.SqlSetOperation
Database.Esqueleto.Experimental.ToAlias
Database.Esqueleto.Experimental.ToAliasReference
Database.Esqueleto.Experimental.ToMaybe
other-modules:
Database.Esqueleto.PostgreSQL.JSON.Instances
Database.Esqueleto.Internal.PersistentImport
Paths_esqueleto
hs-source-dirs:
src/
build-depends:
base >=4.8 && <5.0
, aeson >=1.0
, attoparsec >= 0.13 && < 0.15
, blaze-html
, bytestring
, conduit >=1.3
, containers
, monad-logger
, persistent >=2.13 && <3
, resourcet >=1.2
, tagged >=0.2
, text >=0.11 && <1.3
, time >=1.5.0.1 && <=1.13
, transformers >=0.2
, unliftio
, unordered-containers >=0.2
ghc-options:
-Wall
-Wno-redundant-constraints
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wpartial-fields
-Wmissing-home-modules
-Widentities
-Wcpp-undef
-Wcpp-undef
default-language: Haskell2010
test-suite specs
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Common.Test
Common.Test.Models
Common.Test.Import
Common.Test.Select
PostgreSQL.MigrateJSON
SQLite.Test
PostgreSQL.Test
MySQL.Test
default-extensions:
RankNTypes
hs-source-dirs:
test
ghc-options: -Wall -threaded
build-depends:
base >=4.8 && <5.0
, aeson
, attoparsec
, blaze-html
, bytestring
, conduit
, containers
, esqueleto
, exceptions
, hspec
, hspec-core
, monad-logger
, mtl
, mysql
, mysql-simple
, persistent
, persistent-mysql
, persistent-postgresql
, persistent-sqlite
, postgresql-simple
, QuickCheck
, resourcet
, tagged
, text
, time
, transformers
, unliftio
, unordered-containers
default-language: Haskell2010

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name esqueleto
@ -7,21 +7,37 @@
# testsuite missing deps: mysql mysql-simple persistent-mysql persistent-postgresql postgresql-simple
Name: ghc-%{pkg_name}
Version: 3.5.3.1
Release: 2%{?dist}
Version: 3.5.8.1
Release: 1%{?dist}
Summary: Type-safe EDSL for SQL queries on persistent backends
License: BSD
License: BSD-3-Clause
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: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-attoparsec-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-blaze-html-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-monad-logger-devel
BuildRequires: ghc-persistent-devel
BuildRequires: ghc-resourcet-devel
BuildRequires: ghc-tagged-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unliftio-devel
BuildRequires: ghc-unordered-containers-devel
%if %{with ghc_prof}
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
@ -33,11 +49,13 @@ BuildRequires: ghc-monad-logger-prof
BuildRequires: ghc-persistent-prof
BuildRequires: ghc-resourcet-prof
BuildRequires: ghc-tagged-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unliftio-prof
BuildRequires: ghc-unordered-containers-prof
%endif
# End cabal-rpm deps
%description
@ -106,7 +124,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -144,6 +161,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 3.5.8.1-1
- https://hackage.haskell.org/package/esqueleto-3.5.8.1/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (esqueleto-3.5.3.1.tar.gz) = fc41bd6211505c246625c57707285aa696db5446b8d309b56b7e85c500da462b8ef39f2220f133b26e54035e1fb87e88b26b04e5ed210472615b7c3a579acadd
SHA512 (esqueleto-3.5.8.1.tar.gz) = 3b84a6f9241c8f307d4c8dbc2de9713181ea1d58e6a942969daa22a100e5c23233e38b4edc50b7782cf66a4b7326221b03d5e4255809380807581d28b7554ba4