From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-haskell/asn1-encoding/Manifest | 10 ++++++ .../asn1-encoding/asn1-encoding-0.8.1.3.ebuild | 36 ++++++++++++++++++++++ .../asn1-encoding/asn1-encoding-0.9.0.ebuild | 34 ++++++++++++++++++++ .../asn1-encoding/asn1-encoding-0.9.3.ebuild | 30 ++++++++++++++++++ .../asn1-encoding/asn1-encoding-0.9.4.ebuild | 30 ++++++++++++++++++ .../files/asn1-encoding-0.9.0-32bit-tests.patch | 24 +++++++++++++++ dev-haskell/asn1-encoding/metadata.xml | 14 +++++++++ 7 files changed, 178 insertions(+) create mode 100644 dev-haskell/asn1-encoding/Manifest create mode 100644 dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild create mode 100644 dev-haskell/asn1-encoding/asn1-encoding-0.9.0.ebuild create mode 100644 dev-haskell/asn1-encoding/asn1-encoding-0.9.3.ebuild create mode 100644 dev-haskell/asn1-encoding/asn1-encoding-0.9.4.ebuild create mode 100644 dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch create mode 100644 dev-haskell/asn1-encoding/metadata.xml (limited to 'dev-haskell/asn1-encoding') diff --git a/dev-haskell/asn1-encoding/Manifest b/dev-haskell/asn1-encoding/Manifest new file mode 100644 index 000000000000..14f6039fb7bf --- /dev/null +++ b/dev-haskell/asn1-encoding/Manifest @@ -0,0 +1,10 @@ +AUX asn1-encoding-0.9.0-32bit-tests.patch 905 BLAKE2B 802bab879e05a5c2a2dbfa9c910cb7ca0c21ac0d67f50618368f41032e67b6d1ca9782d46f85b4130b41cbcce350f046cfd1b1066c3b67e2a78e08adff1d8d94 SHA512 707cc6f1106cecb0ca88616b30bbff033c8bc160d3c40393eef3bf3f501154201b841379b4304401ce23b763e87d0f691a2c5f0f608f4f6cf34611bd5ee70138 +DIST asn1-encoding-0.8.1.3.tar.gz 16099 BLAKE2B ef97e3cc0d40fcaa98d319f373efb7807cfbb890ce9b23f3e1f3af7ad56e005478ea387f5a35cbc59a719cddbe98bcf5b6e75a75c71106570f5f959a5f8e6d42 SHA512 be5d97db5904cb71fd99db919a6da8e958b3e0aedaea6bbd21d316fc41dd79852d8567edecb75eb212279a9f6af3d566d3e8aa5f5f22f46a8d9ca0883af64dd9 +DIST asn1-encoding-0.9.0.tar.gz 15997 BLAKE2B 3e5aa3aadec8495303528d868b7eb76c3ebaa8f915fd73149cefc2fc7f87eae053456dd02a986f86e08ab0e25fa7f21ec7dbbd2898934af54b6bf9aeaa02deb8 SHA512 b7693c74ba01d46d93371faa1df14bdef233b8b0fcbd4de0d6a853e41795622e1edc79c278372976454107d97f8a6ba10c44cab2539103796d56b9df4fa4b0ee +DIST asn1-encoding-0.9.3.tar.gz 16069 BLAKE2B 6929de8cccb95ce918f74951650b8ca49007da16cb9ad7417ad7434d0bb4031d2d5b906c0fbb4d643ae6fc290da90b47546b9f6cd171fdbcb51328226dd12c1c SHA512 c6e2f45403504da1740fb581083306ce1fbdaa54f9aa05f5c80a67517ad1d82140fde887cc88e0a6c9b9d778ada2013b6725c4debd1e7522729434b246ce1160 +DIST asn1-encoding-0.9.4.tar.gz 16127 BLAKE2B 247a3561aa9113c6b5c4cea846404cbdb00c1800f07fd636b0e79da109ef9c39d98ea04bd360bfcee26e0386ad2a314195ec4855fb72fc35e644048d2821ba6f SHA512 d9d8d6208a9d4eb6e106918b2c35ce026c5c5f0108263378b10dc1bffaf46c5737a557bbcb68f912bbe3c89b01e8be9c7c6dd0125fe29e19dcbcd30840317955 +EBUILD asn1-encoding-0.8.1.3.ebuild 991 BLAKE2B 8cb4c5644854f38fee86251887e60c68b4da5f276725568d04fae1f6da35ead08f8a43fb33c874394ed869e22f4d3617c831a97d0a39faeda7734b5378c90657 SHA512 578ff18bd0bd384d330471eddc0928aa38252c10e3239f356d87cd0fe62c3674fc04330577d270d6367bd8d2c117221044908ad58a4a9993fc834f29ae125153 +EBUILD asn1-encoding-0.9.0.ebuild 865 BLAKE2B 7df2792504b07f58c502447781a0d75d9129f8f70bd1443f5736dfe0916bec21428546df450df2863b33a8f3691057e47871ce51279f884f5889bd1e830cf2e1 SHA512 04d50ddf06b5ffbc7baf6ab8cd2943cf74d8a5140db3240346a204eafa374018435ca591111e5425cf4549876ac3746d4c87dd52e80dd40d09c120ef8202744f +EBUILD asn1-encoding-0.9.3.ebuild 797 BLAKE2B 7f97d5e9d70b04767252cda21c152a3cfe4c1106c855888123032f15f97fbd9c95b4b02608853612218591ca89a8a692b8a9157a1de18fdcac344e4b47456f46 SHA512 4342c181f873b316624a67e05b9ca20e177f5670d6f57e9f7e4cb8720a89c6d4876497bd2ad530be028fab000a53c716f4046ee9ec9afeb95dd06699eaa9d729 +EBUILD asn1-encoding-0.9.4.ebuild 795 BLAKE2B 2b57487f484d4113e2b6c4bb8375c377a3ab35836990c660be8b00bfdf08a8905b932ca8d37ec76a81b453b1f95a44d6854dbe28858d06daac7e6a157f642373 SHA512 0a4453166d3243d7d93cf73e18194fb35c9eb5cacd3ae699279fe7f556f4d679e55cb4229edb606b51921a2676ec75d69207dc6b059101dda1345102f5463d75 +MISC metadata.xml 471 BLAKE2B 8493c1867169f6ad2d77b3f5b815df797b4f921b3c7452d080fc3d4cf9b2375a14a566129886766888e4c7b9ec0e37fd1bdbe1f0e2b7d706c4237ad8c47223eb SHA512 36969d3c6f726261b2be7cb03b8e7ae968ea156462536ced2eb900962d812ea47b021b4eeb8923d99225f41e0c046d73eedac4a26512a96334df5f2a103d93b2 diff --git a/dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild b/dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild new file mode 100644 index 000000000000..17f5f1743591 --- /dev/null +++ b/dev-haskell/asn1-encoding/asn1-encoding-0.8.1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.6.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="ASN1 data reader and writer in RAW, BER and DER forms" +HOMEPAGE="https://github.com/vincenthz/hs-asn1" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-haskell/asn1-types-0.2.1:=[profile?] =dev-haskell/text-0.11:=[profile?] + >=dev-lang/ghc-6.12.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8.0.2 + test? ( dev-haskell/hunit:=[profile?] + >=dev-haskell/quickcheck-2:2=[profile?] + >=dev-haskell/test-framework-0.3:=[profile?] + >=dev-haskell/test-framework-quickcheck2-0.2:=[profile?] ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag test test) +} diff --git a/dev-haskell/asn1-encoding/asn1-encoding-0.9.0.ebuild b/dev-haskell/asn1-encoding/asn1-encoding-0.9.0.ebuild new file mode 100644 index 000000000000..02ae67ec2063 --- /dev/null +++ b/dev-haskell/asn1-encoding/asn1-encoding-0.9.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.3 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="ASN1 data reader and writer in RAW, BER and DER forms" +HOMEPAGE="https://github.com/vincenthz/hs-asn1" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-haskell/asn1-types-0.3.0:=[profile?] =dev-haskell/hourglass-0.2.6:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( dev-haskell/tasty + dev-haskell/tasty-quickcheck + dev-haskell/text ) +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-32bit-tests.patch +} diff --git a/dev-haskell/asn1-encoding/asn1-encoding-0.9.3.ebuild b/dev-haskell/asn1-encoding/asn1-encoding-0.9.3.ebuild new file mode 100644 index 000000000000..fcc3ca5fda2a --- /dev/null +++ b/dev-haskell/asn1-encoding/asn1-encoding-0.9.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="ASN1 data reader and writer in RAW, BER and DER forms" +HOMEPAGE="https://github.com/vincenthz/hs-asn1" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/asn1-types-0.3.0:=[profile?] =dev-haskell/hourglass-0.2.6:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( dev-haskell/mtl + dev-haskell/tasty + dev-haskell/tasty-quickcheck + dev-haskell/text ) +" diff --git a/dev-haskell/asn1-encoding/asn1-encoding-0.9.4.ebuild b/dev-haskell/asn1-encoding/asn1-encoding-0.9.4.ebuild new file mode 100644 index 000000000000..0c9ec8d2de8b --- /dev/null +++ b/dev-haskell/asn1-encoding/asn1-encoding-0.9.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="ASN1 data reader and writer in RAW, BER and DER forms" +HOMEPAGE="https://github.com/vincenthz/hs-asn1" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/asn1-types-0.3.0:=[profile?] =dev-haskell/hourglass-0.2.6:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( dev-haskell/mtl + dev-haskell/tasty + dev-haskell/tasty-quickcheck + dev-haskell/text ) +" diff --git a/dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch b/dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch new file mode 100644 index 000000000000..2b45be985bba --- /dev/null +++ b/dev-haskell/asn1-encoding/files/asn1-encoding-0.9.0-32bit-tests.patch @@ -0,0 +1,24 @@ +On 32-bit systems Hourglass silently breaks dates +out of range '1970 +- 68' years due to use of +'time_t' and 'gmtime_r' from installed libc. + +Workaround test failures by not testing times out of this range. + +Github-bug: https://github.com/vincenthz/hs-hourglass/issues/21 +Github-bug: https://github.com/vincenthz/hs-asn1/issues/12 +diff --git a/tests/Tests.hs b/tests/Tests.hs +index 5a82ec9..525de82 100644 +--- a/tests/Tests.hs ++++ b/tests/Tests.hs +@@ -88,7 +88,10 @@ instance Arbitrary BitArray where + + instance Arbitrary Date where + arbitrary = do +- y <- choose (1951, 2050) ++ -- 2037 and not 2050 ++ -- due to a limitation of 'timeConvert' on 32-bit systems: ++ -- https://github.com/vincenthz/hs-hourglass/issues/21 ++ y <- choose (1951, 2037) + m <- elements [ January .. December] + d <- choose (1, 30) + return $ normalizeDate $ Date y m d diff --git a/dev-haskell/asn1-encoding/metadata.xml b/dev-haskell/asn1-encoding/metadata.xml new file mode 100644 index 000000000000..798454e0e839 --- /dev/null +++ b/dev-haskell/asn1-encoding/metadata.xml @@ -0,0 +1,14 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER). + + + vincenthz/hs-asn1 + + -- cgit v1.2.3