mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
This change inlines mirror://hackage in all ebuilds, and updates URIs to the modern form (old URIs redirect to that). The change has been made using the following command: find -name '*.ebuild' -exec sed -r -i \ -e 's@mirror://hackage/@https://hackage.haskell.org/@g' \ -e 's@https://hackage.haskell.org/packages/archive/([^/]*)/([^/]*)/@https://hackage.haskell.org/package/\1-\2/@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{PV}@${P}@g' \ -e '/hackage\.haskell\.org/s@\$\{MY_PN}-\$\{PV}@${MY_P}@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{MY_PV}@${MY_P}@g' \ {} + Signed-off-by: Michał Górny <mgorny@gentoo.org>
33 lines
860 B
Bash
33 lines
860 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
# ebuild generated by hackport 0.4.5.9999
|
|
|
|
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Binary serialisation for Haskell values using lazy ByteStrings"
|
|
HOMEPAGE="https://github.com/kolmodin/binary"
|
|
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/${PV}"
|
|
# keep in sync with latest ghc-7.10
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-lang/ghc-7.4.1:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-1.8
|
|
test? ( dev-haskell/hunit
|
|
>=dev-haskell/quickcheck-2.8
|
|
>=dev-haskell/random-1.0.1.0
|
|
dev-haskell/test-framework
|
|
>=dev-haskell/test-framework-quickcheck2-0.3 )
|
|
"
|
|
|
|
CABAL_CORE_LIB_GHC_PV="PM:7.10.2_rc2 PM:7.10.2 PM:7.10.2-r1"
|