commit:     90e67db3caafd32550bc21674b8996655e47c215
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 22:14:20 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 22:14:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e67db3

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

 app-portage/hackport/Manifest              |  1 +
 app-portage/hackport/hackport-0.5.1.ebuild | 55 +++++++++++++++++++++++++++
 app-portage/hackport/hackport-9999.ebuild  | 61 ++++++++++++++++++++++++++++++
 app-portage/hackport/metadata.xml          | 12 ++++++
 4 files changed, 129 insertions(+)

diff --git a/app-portage/hackport/Manifest b/app-portage/hackport/Manifest
new file mode 100644
index 00000000..a357b0f
--- /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 00000000..95f7bcb
--- /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 00000000..cd77b2b
--- /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 00000000..b0660ce
--- /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>hask...@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>

Reply via email to