diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/regex-posix | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/regex-posix')
-rw-r--r-- | dev-haskell/regex-posix/Manifest | 4 | ||||
-rw-r--r-- | dev-haskell/regex-posix/files/regex-posix-0.95.1-ghc-7.5.patch | 12 | ||||
-rw-r--r-- | dev-haskell/regex-posix/metadata.xml | 14 | ||||
-rw-r--r-- | dev-haskell/regex-posix/regex-posix-0.95.2.ebuild | 23 |
4 files changed, 53 insertions, 0 deletions
diff --git a/dev-haskell/regex-posix/Manifest b/dev-haskell/regex-posix/Manifest new file mode 100644 index 000000000000..eddd0a8e58c5 --- /dev/null +++ b/dev-haskell/regex-posix/Manifest @@ -0,0 +1,4 @@ +AUX regex-posix-0.95.1-ghc-7.5.patch 554 BLAKE2B ceec0b6593f49a6ec9965c988e8b440a87ee11b5bc1e210d4466c8a84bc8044c34fcda91b8a359b763b9ef47b697f59fe1bdf5711f9a71ea2a33e00bbb717c44 SHA512 ea77dfc50967f5d3c8beb82ece23a1c48168fa59c08d7ce58b16c22c708fb4e49c76ab8b8aac0ef5306a2babb8666385f916295bd77f57b149cad5991ebb5516 +DIST regex-posix-0.95.2.tar.gz 42916 BLAKE2B 3b0192bf2eac5cf2376a5cfd73be4f138be2074fd3b80fe43c659015a2a731a61f1cf6537dd207c36e8fa893737b30f61516f23e815a8da52dc8866b36fc58d0 SHA512 2d22951f0302de144483d2c11d0711dc2cbd2fc6a0eac0126011eaa6f577837ae8c2a9516badb4beed6c18311241458dd6ad9f82a11d6f3763891880ebbc8c41 +EBUILD regex-posix-0.95.2.ebuild 684 BLAKE2B 30ce2e8cc3be54f65142b784bc47149499a046a9cc56d787145fa3670d5b51c91ff481925a646b659687f0bdab6c37c77f4ff15a0df6774d0f19aabfdffaa0a1 SHA512 92c3b8580784baffc72482db654fb46d589f665a4f044d09000e81fc93780aab4011423fa9763e5b11cd859b68f711d65b82235b8d17255def74e7433568d0f1 +MISC metadata.xml 409 BLAKE2B 521ecdf88b2947d4a498d4efd608950ac471dd05d501d767e047711f77c4847e0ce1d32d5710ce274d77591e2b7da7ea60f1e71a797e3b22166b531d67108f9e SHA512 7268260f6f6f43ac70640d2dcdedf01bb465c7e5d34c0aec154e67be1e1a13560be1653c6a47e38cd9aed0fa02fcbc64ecb3fc9cd13ab4221968d9c9f5965626 diff --git a/dev-haskell/regex-posix/files/regex-posix-0.95.1-ghc-7.5.patch b/dev-haskell/regex-posix/files/regex-posix-0.95.1-ghc-7.5.patch new file mode 100644 index 000000000000..e0de5a751637 --- /dev/null +++ b/dev-haskell/regex-posix/files/regex-posix-0.95.1-ghc-7.5.patch @@ -0,0 +1,12 @@ +--- regex-posix-0.95.1-orig/Text/Regex/Posix/Wrap.hsc 2011-05-10 01:55:41.000000000 +1000 ++++ regex-posix-0.95.1/Text/Regex/Posix/Wrap.hsc 2012-05-13 18:06:06.314466286 +1000 +@@ -133,6 +133,9 @@ + import Foreign.Marshal.Alloc(mallocBytes) + import Foreign.C(CSize,CInt,CChar) + import Foreign.C.String(peekCAString, CString) ++#if (__GLASGOW_HASKELL__>=705) ++import Foreign.C.Types(CInt(..), CSize(..)) ++#endif + import Text.Regex.Base.RegexLike(RegexOptions(..),RegexMaker(..),RegexContext(..),MatchArray) + import qualified System.IO.Error as IOERROR(try) + diff --git a/dev-haskell/regex-posix/metadata.xml b/dev-haskell/regex-posix/metadata.xml new file mode 100644 index 000000000000..8bfefc76efaa --- /dev/null +++ b/dev-haskell/regex-posix/metadata.xml @@ -0,0 +1,14 @@ +<?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> + The posix regex backend for regex-base + </longdescription> + <upstream> + <remote-id type="sourceforge">lazy-regex</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/regex-posix/regex-posix-0.95.2.ebuild b/dev-haskell/regex-posix/regex-posix-0.95.2.ebuild new file mode 100644 index 000000000000..5b6881c88ed0 --- /dev/null +++ b/dev-haskell/regex-posix/regex-posix-0.95.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +CABAL_FEATURES="lib profile haddock hscolour hoogle" +inherit base haskell-cabal + +DESCRIPTION="Replaces/Enhances Text.Regex" +HOMEPAGE="https://sourceforge.net/projects/lazy-regex" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="" + +RDEPEND=">=dev-haskell/regex-base-0.93[profile?] + >=dev-lang/ghc-6.8.2" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2" + +PATCHES=("${FILESDIR}/${PN}-0.95.1-ghc-7.5.patch") |