update to 1.0.2.2
This commit is contained in:
parent
9e0a4f19cf
commit
6a92c7a882
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
/integer-logarithms-1.0.2.tar.gz
|
/integer-logarithms-1.0.2.tar.gz
|
||||||
/integer-logarithms-1.0.1.tar.gz
|
/integer-logarithms-1.0.1.tar.gz
|
||||||
/integer-logarithms-1.0.2.1.tar.gz
|
/integer-logarithms-1.0.2.1.tar.gz
|
||||||
|
/integer-logarithms-1.0.2.2.tar.gz
|
||||||
|
@ -7,14 +7,15 @@
|
|||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 1.0.2.1
|
Version: 1.0.2.2
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Integer logarithms
|
Summary: Integer logarithms
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
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
|
# End cabal-rpm sources
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
@ -59,6 +60,7 @@ files.
|
|||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
@ -97,6 +99,9 @@ files.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 1.0.2.2-1
|
||||||
|
- update to 1.0.2.2
|
||||||
|
|
||||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.2.1-3
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.2.1-3
|
||||||
- refresh to cabal-rpm-0.13
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
|
114
integer-logarithms-1.0.2.2.cabal
Normal file
114
integer-logarithms-1.0.2.2.cabal
Normal file
@ -0,0 +1,114 @@
|
|||||||
|
name: integer-logarithms
|
||||||
|
version: 1.0.2.2
|
||||||
|
x-revision: 1
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
author: Daniel Fischer
|
||||||
|
copyright: (c) 2011 Daniel Fischer
|
||||||
|
license: MIT
|
||||||
|
license-file: LICENSE
|
||||||
|
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
|
||||||
|
build-type: Simple
|
||||||
|
stability: Provisional
|
||||||
|
homepage: https://github.com/Bodigrim/integer-logarithms
|
||||||
|
bug-reports: https://github.com/Bodigrim/integer-logarithms/issues
|
||||||
|
|
||||||
|
synopsis: Integer logarithms.
|
||||||
|
description:
|
||||||
|
"Math.NumberTheory.Logarithms" and "Math.NumberTheory.Powers.Integer"
|
||||||
|
from the arithmoi package.
|
||||||
|
.
|
||||||
|
Also provides "GHC.Integer.Logarithms.Compat" and
|
||||||
|
"Math.NumberTheory.Power.Natural" modules, as well as some
|
||||||
|
additional functions in migrated modules.
|
||||||
|
|
||||||
|
category: Math, Algorithms, Number Theory
|
||||||
|
|
||||||
|
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.3,
|
||||||
|
GHC==8.6.1
|
||||||
|
|
||||||
|
extra-source-files : readme.md changelog.md
|
||||||
|
|
||||||
|
flag integer-gmp
|
||||||
|
description: integer-gmp or integer-simple
|
||||||
|
default: True
|
||||||
|
manual: False
|
||||||
|
|
||||||
|
flag check-bounds
|
||||||
|
description: Replace unsafe array operations with safe ones
|
||||||
|
default: False
|
||||||
|
manual: True
|
||||||
|
|
||||||
|
library
|
||||||
|
default-language: Haskell2010
|
||||||
|
hs-source-dirs: src
|
||||||
|
build-depends:
|
||||||
|
base >= 4.3 && < 4.13,
|
||||||
|
array >= 0.3 && < 0.6,
|
||||||
|
ghc-prim < 0.6
|
||||||
|
if impl(ghc >= 7.10)
|
||||||
|
cpp-options: -DBase48
|
||||||
|
else
|
||||||
|
build-depends: nats >= 1.1 && <1.2
|
||||||
|
|
||||||
|
if flag(integer-gmp)
|
||||||
|
build-depends:
|
||||||
|
integer-gmp < 1.1
|
||||||
|
else
|
||||||
|
build-depends:
|
||||||
|
integer-simple
|
||||||
|
|
||||||
|
exposed-modules:
|
||||||
|
Math.NumberTheory.Logarithms
|
||||||
|
Math.NumberTheory.Powers.Integer
|
||||||
|
Math.NumberTheory.Powers.Natural
|
||||||
|
GHC.Integer.Logarithms.Compat
|
||||||
|
other-extensions:
|
||||||
|
BangPatterns
|
||||||
|
CPP
|
||||||
|
MagicHash
|
||||||
|
|
||||||
|
ghc-options: -O2 -Wall
|
||||||
|
if flag(check-bounds)
|
||||||
|
cpp-options: -DCheckBounds
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/Bodigrim/integer-logarithms
|
||||||
|
|
||||||
|
test-suite spec
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: test-suite
|
||||||
|
ghc-options: -Wall
|
||||||
|
main-is: Test.hs
|
||||||
|
default-language: Haskell2010
|
||||||
|
other-extensions:
|
||||||
|
StandaloneDeriving
|
||||||
|
FlexibleContexts
|
||||||
|
FlexibleInstances
|
||||||
|
GeneralizedNewtypeDeriving
|
||||||
|
MultiParamTypeClasses
|
||||||
|
build-depends:
|
||||||
|
base,
|
||||||
|
integer-logarithms,
|
||||||
|
tasty >= 0.10 && < 1.2,
|
||||||
|
tasty-smallcheck >= 0.8 && < 0.9,
|
||||||
|
tasty-quickcheck >= 0.8 && < 0.11,
|
||||||
|
tasty-hunit >= 0.9 && < 0.11,
|
||||||
|
QuickCheck >= 2.10 && < 2.13,
|
||||||
|
smallcheck >= 1.1.3 && < 1.2
|
||||||
|
if !impl(ghc >= 7.10)
|
||||||
|
build-depends: nats >= 1.1 && <1.2
|
||||||
|
|
||||||
|
other-modules:
|
||||||
|
Math.NumberTheory.LogarithmsTests
|
||||||
|
Math.NumberTheory.TestUtils
|
||||||
|
Orphans
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (integer-logarithms-1.0.2.1.tar.gz) = 2f19593609e579f83b7aac1ae310aa537c525d1ed1eeb0dbe982a1c3d62e699a68828eb7e8838a4ad5ab6f77e77463ee719b70483154b873f3ad76da7cbbc504
|
SHA512 (integer-logarithms-1.0.2.2.tar.gz) = 9c4d7906455febaa271372f1bd331ce0c869fd8c9858f7f84e239eb75fcf3c6ddde95b3587569b8ba334f06bacee8db6497857f9b5668a30587738da015206d4
|
||||||
|
Loading…
Reference in New Issue
Block a user