diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-01-16 22:14:20 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-01-16 22:14:32 +0000 |
commit | 90e67db3caafd32550bc21674b8996655e47c215 (patch) | |
tree | b4b1d8abe44ad2cff1720d0f89165e821d058db0 /app-portage | |
parent | dev-haskell/ed25519: new package, a depend of hackport (diff) | |
download | gentoo-90e67db3caafd32550bc21674b8996655e47c215.tar.gz gentoo-90e67db3caafd32550bc21674b8996655e47c215.tar.bz2 gentoo-90e67db3caafd32550bc21674b8996655e47c215.zip |
app-portage/hackport: new package
An ebuild generator from hackage index or even .cabal files
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/hackport/Manifest | 1 | ||||
-rw-r--r-- | app-portage/hackport/hackport-0.5.1.ebuild | 55 | ||||
-rw-r--r-- | app-portage/hackport/hackport-9999.ebuild | 61 | ||||
-rw-r--r-- | app-portage/hackport/metadata.xml | 12 |
4 files changed, 129 insertions, 0 deletions
diff --git a/app-portage/hackport/Manifest b/app-portage/hackport/Manifest new file mode 100644 index 000000000000..a357b0ff2b4c --- /dev/null +++ b/app-portage/hackport/Manifest @@ -0,0 +1 @@ +DIST hackport-0.5.1.tar.gz 1390428 SHA256 667af1dc76c2833dd1fec935c5e61cc331be3c7b20c77ff68206177f70eccdad SHA512 006e4457a9ebba9acff35787a73a321b903db2f6ff54423cd66e91a93390183d0ca2690e2d0c8b5c1256116c9f81cabeac45c6dcb21e537849afbb1109bd80af WHIRLPOOL afd0156c687193f658ff82a08e4b1f1dfc719f91ddac16541bde8b916e669d74475552d3552ad338c5a3f7272c8492d8bd7f1ef69abc65652372ea26c0834ae3 diff --git a/app-portage/hackport/hackport-0.5.1.ebuild b/app-portage/hackport/hackport-0.5.1.ebuild new file mode 100644 index 000000000000..95f7bcb38c5f --- /dev/null +++ b/app-portage/hackport/hackport-0.5.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.1.9999 + +CABAL_FEATURES="test-suite" +inherit haskell-cabal + +DESCRIPTION="Hackage and Portage integration tool" +HOMEPAGE="http://hackage.haskell.org/package/hackport" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT=test # tests are broken: need path to ebuild tree + +RDEPEND="dev-haskell/async:= + dev-haskell/base16-bytestring:= + dev-haskell/base64-bytestring:= + dev-haskell/cryptohash:= + dev-haskell/ed25519:= + dev-haskell/extensible-exceptions:= + dev-haskell/hashable:= + >=dev-haskell/http-4000.0.3:= + dev-haskell/missingh:= + dev-haskell/mtl:= + >=dev-haskell/network-2.6:= + >=dev-haskell/network-uri-2.6:= + dev-haskell/old-locale:= + dev-haskell/old-time:= + dev-haskell/parsec:= + dev-haskell/random:= + dev-haskell/regex-compat:= + dev-haskell/split:= + dev-haskell/stm:= + >=dev-haskell/tar-0.5:= + >=dev-haskell/xml-1.3.7:= + dev-haskell/zlib:= + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( dev-haskell/hunit ) +" + +src_install() { + haskell-cabal_src_install + doman man/hackport.1 +} diff --git a/app-portage/hackport/hackport-9999.ebuild b/app-portage/hackport/hackport-9999.ebuild new file mode 100644 index 000000000000..cd77b2bc9c1c --- /dev/null +++ b/app-portage/hackport/hackport-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.5.1.9999 + +CABAL_FEATURES="test-suite" +EGIT_REPO_URI="https://github.com/gentoo-haskell/hackport.git" + +inherit git-r3 haskell-cabal + +DESCRIPTION="Hackage and Portage integration tool" +HOMEPAGE="https://github.com/gentoo-haskell/hackport" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +RESTRICT=test # tests are broken: need path to ebuild tree + +RDEPEND="dev-haskell/async:= + dev-haskell/base16-bytestring:= + dev-haskell/base64-bytestring:= + dev-haskell/cryptohash:= + dev-haskell/ed25519:= + dev-haskell/extensible-exceptions:= + dev-haskell/hashable:= + >=dev-haskell/http-4000.0.3:= + dev-haskell/missingh:= + dev-haskell/mtl:= + >=dev-haskell/network-2.6:= + >=dev-haskell/network-uri-2.6:= + dev-haskell/old-locale:= + dev-haskell/old-time:= + dev-haskell/parsec:= + dev-haskell/random:= + dev-haskell/regex-compat:= + dev-haskell/split:= + dev-haskell/stm:= + >=dev-haskell/tar-0.5:= + >=dev-haskell/xml-1.3.7:= + dev-haskell/zlib:= + >=dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 + test? ( dev-haskell/hunit ) +" + +src_prepare() { + default + sed -e 's/^Version:.*/&.9999/' -i ${PN}.cabal || die # just to distinct from release install +} + +src_install() { + haskell-cabal_src_install + doman man/hackport.1 +} diff --git a/app-portage/hackport/metadata.xml b/app-portage/hackport/metadata.xml new file mode 100644 index 000000000000..b0660ce70097 --- /dev/null +++ b/app-portage/hackport/metadata.xml @@ -0,0 +1,12 @@ +<?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> + A command line tool to manage an overlay of Gentoo ebuilds + that are generated from a hackage repo of Cabal packages. + </longdescription> +</pkgmetadata> |