dev-haskell/base-noprelude: add package

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Jack Todaro
2020-07-29 12:37:44 +10:00
committed by Sergei Trofimovich
parent ef7a96db93
commit eb03da1399
3 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST base-noprelude-4.13.0.0.tar.gz 2864 BLAKE2B 25d13ae8a2cbee524d46cfe351abbe77321b61dd118bc26b8d275179fdaa5d429450c3e99a12518646bfaa13258a5ffaa9eaf0cb0bd7bb84a93187ae175f6d36 SHA512 658ff8e23648d490d97de1083a8412194076f8a0a07fe5843d0d68887225294f296ad2e1c32b9bae3fa32e1f94261aaeb350eec47642edb35ca5ba1dd1a69ecf

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# ebuild generated by hackport 0.6.4.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="\"base\" package sans \"Prelude\" module"
HOMEPAGE="https://github.com/hvr/base-noprelude"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-lang/ghc-8.8.1:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.2.0.0
"
src_prepare() {
default
cabal_chdeps \
'build-depends: base ==4.13.0.0' 'build-depends: base >=4.13.0.0'
}

View File

@@ -0,0 +1,27 @@
<?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>
This package simplifies defining custom &quot;Prelude&quot;s without having
to use @-XNoImplicitPrelude@ by re-exporting the full module-hierarchy of
the [base-4.13.0.0](https://hackage.haskell.org/package/base-4.13.0.0)
package /except/ for the &quot;Prelude&quot; module.
An usage example for such a &quot;Prelude&quot;-replacement is available with
the [Prelude](http://hackage.haskell.org/package/Prelude) package.
Starting with GHC 7.10 &amp; Cabal-1.22 this package makes use of the
package-level @reexported-modules@ feature.
Each version of @base-noprelude@ depends on a specific
@base@-version and thus mirrors @base@&#39;s
versioning (with the exception that @base-noprelude@ needs to add an
/additional/ 5th version component in case of bug-fix releases).
See &lt;https://github.com/hvr/base-noprelude&gt; for more information.
</longdescription>
</pkgmetadata>