app-text/pandoc: huge version bump

This commit is contained in:
nemunaire 2018-11-16 04:34:05 +01:00
commit 72b537171f
131 changed files with 2697 additions and 0 deletions

View file

@ -0,0 +1,3 @@
DIST scientific-0.3.6.2.tar.gz 23510 BLAKE2B 096cd305cdbc4856f48e81de5387b229c4f23fdbfc641243ffa56a74422ec7b224fb2979f22cbdcf747d56c6073ce74ff6ca773093570a8d0a774e2b33d26697 SHA512 47a74524c8fb25d381adf868d823a6b6772f3f69b0b3cf9f9de015a03bc941857ef3fca1b4f8cbf23e998164e71a914e167221e753c6f32dc8644047d1ef57ee
EBUILD scientific-0.3.6.2.ebuild 1242 BLAKE2B 498370c1ceb8d43b9770ffc90b37dc1e5a0cd3bc0c03f5fda3200b124273ed9d3ce86fdf0386c16fda49003f87c93644ab1c5400b8c1317c4a2ceab616afda70 SHA512 57cbce129cae09a01c4da14aa98e499f3792e4159d48286cb3745d32681fd141416b3405e1542ed7c80396df389fee0096b5f170b4af65a7f76854f7a9cb1e54
MISC metadata.xml 1953 BLAKE2B 2cfe56e981e9948f36303b3e02d07a36c6f88f6e4140c7f0ff5db3bbacf81683f1cced48d9f460a9339086de99f21028f0e0b3b548b57d4bc93e60f4ede3a278 SHA512 8727d35a9e72f9f9e1ecec1e2172c9f84497a6d04cf877619a5e53487cd44b185e9c655afcef70948f286b46b3238f4e0840115ff842cb7b3d29eff98b74c0ee

View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<longdescription>
&quot;Data.Scientific&quot; provides the number type &#39;Scientific&#39;. Scientific numbers are
arbitrary precision and space efficient. They are represented using
&lt;http://en.wikipedia.org/wiki/Scientific_notation scientific notation&gt;.
The implementation uses a coefficient @c :: &#39;Integer&#39;@ and a base-10 exponent
@e :: &#39;Int&#39;@. A scientific number corresponds to the
&#39;Fractional&#39; number: @&#39;fromInteger&#39; c * 10 &#39;^^&#39; e@.
Note that since we&#39;re using an &#39;Int&#39; to represent the exponent these numbers
aren&#39;t truly arbitrary precision. I intend to change the type of the exponent
to &#39;Integer&#39; in a future release.
The main application of &#39;Scientific&#39; is to be used as the target of parsing
arbitrary precision numbers coming from an untrusted source. The advantages
over using &#39;Rational&#39; for this are that:
* A &#39;Scientific&#39; is more efficient to construct. Rational numbers need to be
constructed using &#39;%&#39; which has to compute the &#39;gcd&#39; of the &#39;numerator&#39; and
&#39;denominator&#39;.
* &#39;Scientific&#39; is safe against numbers with huge exponents. For example:
@1e1000000000 :: &#39;Rational&#39;@ will fill up all space and crash your
program. Scientific works as expected:
&gt;&gt;&gt; read &quot;1e1000000000&quot; :: Scientific
1.0e1000000000
* Also, the space usage of converting scientific numbers with huge exponents to
@&#39;Integral&#39;s@ (like: &#39;Int&#39;) or @&#39;RealFloat&#39;s@ (like: &#39;Double&#39; or &#39;Float&#39;)
will always be bounded by the target type.
</longdescription>
</pkgmetadata>

View file

@ -0,0 +1,42 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# ebuild generated by hackport 0.5.6
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Numbers represented using scientific notation"
HOMEPAGE="https://github.com/basvandijk/scientific"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="integer-simple"
RDEPEND=">=dev-haskell/bytestring-builder-0.10.4:=[profile?] <dev-haskell/bytestring-builder-0.11:=[profile?]
>=dev-haskell/hashable-1.1.2:=[profile?]
>=dev-haskell/integer-logarithms-1:=[profile?]
>=dev-haskell/primitive-0.1:=[profile?]
>=dev-haskell/text-0.8:=[profile?]
>=dev-lang/ghc-7.4.1:=
integer-simple? ( dev-haskell/integer-simple:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.10
test? ( >=dev-haskell/quickcheck-2.5
>=dev-haskell/smallcheck-1.0
>=dev-haskell/tasty-0.5
>=dev-haskell/tasty-ant-xml-1.0
>=dev-haskell/tasty-hunit-0.8
>=dev-haskell/tasty-quickcheck-0.8
>=dev-haskell/tasty-smallcheck-0.2 )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag integer-simple integer-simple)
}