From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C6BC139086 for ; Mon, 16 Jan 2017 22:14:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05BF0E0C77; Mon, 16 Jan 2017 22:14:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDA98E0C77 for ; Mon, 16 Jan 2017 22:14:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E54EF340EE8 for ; Mon, 16 Jan 2017 22:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D9952875 for ; Mon, 16 Jan 2017 22:14:49 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1484604872.90e67db3caafd32550bc21674b8996655e47c215.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/hackport/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/hackport/Manifest app-portage/hackport/hackport-0.5.1.ebuild app-portage/hackport/hackport-9999.ebuild app-portage/hackport/metadata.xml X-VCS-Directories: app-portage/hackport/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 90e67db3caafd32550bc21674b8996655e47c215 X-VCS-Branch: master Date: Mon, 16 Jan 2017 22:14:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e58a6bc4-cb5e-4963-abfe-a2ac4f988578 X-Archives-Hash: 19cd4534b70c27e8bc5230e83b879ce4 commit: 90e67db3caafd32550bc21674b8996655e47c215 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Jan 16 22:14:20 2017 +0000 Commit: Sergei Trofimovich gentoo 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 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + A command line tool to manage an overlay of Gentoo ebuilds + that are generated from a hackage repo of Cabal packages. + +