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/network-bytestring | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/network-bytestring')
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-haskell/network-bytestring/Manifest b/dev-haskell/network-bytestring/Manifest new file mode 100644 index 000000000000..5373fda08fc3 --- /dev/null +++ b/dev-haskell/network-bytestring/Manifest @@ -0,0 +1,4 @@ +AUX network-bytestring-0.1.3.4-ghc-7.6.patch 1162 BLAKE2B 74e782e8bf6da88912cddfb76acbadf5f4cc838ca9b1a0ed27e0d01d60ed276dfb717f42910acd7852dca49a081af65f35c1382e0801e5c3c41b89308dc096a7 SHA512 e8da8d66d1b3ee3e8a49260c758f9cbeb0ef32c504f6a7d948fa6b3058659cb92c3fbbbc80d9127e8caa2d1517330724ebdd03ac378d6d5790823afd4baea538 +DIST network-bytestring-0.1.3.4.tar.gz 9182 BLAKE2B d36a2e56aa2c024ef2e42f1580d9f149863b50ec92ff7b50db14ba4fd7d49da5631b989276f9d9efeea411d367d1314a970461e0eb5c95b2c91532ffa4b31681 SHA512 eba844a3d8927c08d119342f196a6cfbb0c54eb194abb4e4da5614cddbdd685923950a339494e17fdae47eae4249896c5f68390d4abb5d0321fb358612cd3a76 +EBUILD network-bytestring-0.1.3.4.ebuild 775 BLAKE2B ecb38597600fd5952710873057b06aebd35c92313362991e139f2bba6f2166b69eb72c8e09de1c6968fbadb21b4d4dcdeb9352ac9cf14950eca4098f580ca22c SHA512 64f19a6c43fa6a097b9f0179ff524108ee740fcad7484a7b54caa31af08ea0260720dfceefda8f5d0062d9d2faaa4004f0da5c217e14dcb970c3fc7922c83cbf +MISC metadata.xml 482 BLAKE2B 8f5d486d10b59d08bfa75cef7a9ae629b485be125e61035f188b18eb184e2dc2534b7f9c733d83a8e0e05bea499961695a213467136a729169820c63182c06dc SHA512 56424f93007e34687fc1a6d16ec941124541ef0f522743865b647ab3ba52b43963395a4fab00b2337da1f76552905af7225aaa67b1c8341893988f1d5b6fbc74 diff --git a/dev-haskell/network-bytestring/files/network-bytestring-0.1.3.4-ghc-7.6.patch b/dev-haskell/network-bytestring/files/network-bytestring-0.1.3.4-ghc-7.6.patch new file mode 100644 index 000000000000..7ba2e0f465b6 --- /dev/null +++ b/dev-haskell/network-bytestring/files/network-bytestring-0.1.3.4-ghc-7.6.patch @@ -0,0 +1,29 @@ +diff --git a/Network/Socket/ByteString.hs b/Network/Socket/ByteString.hs +index 2fbeaa3..adf3116 100644 +--- a/Network/Socket/ByteString.hs ++++ b/Network/Socket/ByteString.hs +@@ -45,7 +45,7 @@ import Data.ByteString (ByteString) + import Data.ByteString.Internal (createAndTrim) + import Data.ByteString.Unsafe (unsafeUseAsCStringLen) + import Data.Word (Word8) +-import Foreign.C.Types (CInt) ++import Foreign.C.Types + import Foreign.Marshal.Alloc (allocaBytes) + import Foreign.Ptr (Ptr, castPtr) + import Network.Socket (SockAddr, Socket(..), sendBufTo, recvBufFrom) +diff --git a/Network/Socket/ByteString/Internal.hs b/Network/Socket/ByteString/Internal.hs +index c6a835b..eb41194 100644 +--- a/Network/Socket/ByteString/Internal.hs ++++ b/Network/Socket/ByteString/Internal.hs +@@ -11,9 +11,9 @@ module Network.Socket.ByteString.Internal + import System.IO.Error (ioeSetErrorString, mkIOError) + + #if !defined(mingw32_HOST_OS) +-import Foreign.C.Types (CInt) ++import Foreign.C.Types + import Foreign.Ptr (Ptr) +-import System.Posix.Types (CSsize) ++import System.Posix.Types + + import Network.Socket.ByteString.IOVec (IOVec) + import Network.Socket.ByteString.MsgHdr (MsgHdr) diff --git a/dev-haskell/network-bytestring/metadata.xml b/dev-haskell/network-bytestring/metadata.xml new file mode 100644 index 000000000000..ff0b4d01a27a --- /dev/null +++ b/dev-haskell/network-bytestring/metadata.xml @@ -0,0 +1,15 @@ +<?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> + Fast, memory-efficient, low-level socket functions + that use 'Data.ByteString's instead of 'String's. + </longdescription> + <upstream> + <remote-id type="github">tibbe/network-bytestring</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-haskell/network-bytestring/network-bytestring-0.1.3.4.ebuild b/dev-haskell/network-bytestring/network-bytestring-0.1.3.4.ebuild new file mode 100644 index 000000000000..ded2df7614b0 --- /dev/null +++ b/dev-haskell/network-bytestring/network-bytestring-0.1.3.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.3.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit eutils haskell-cabal + +DESCRIPTION="Fast, memory-efficient, low-level networking" +HOMEPAGE="https://github.com/tibbe/network-bytestring" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/network-2.2.1.1:=[profile?] + >=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ghc-7.6.patch + cabal_chdeps \ + 'network >= 2.2.1.1 && < 2.3' 'network >= 2.2.1.1' \ + 'base < 4.4' 'base' +} |