From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-lang/whitespace/Manifest | 1 + dev-lang/whitespace/files/whitespace-cabal.patch | 24 +++++++++++++++++ dev-lang/whitespace/metadata.xml | 11 ++++++++ dev-lang/whitespace/whitespace-0.3.ebuild | 34 ++++++++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 dev-lang/whitespace/Manifest create mode 100644 dev-lang/whitespace/files/whitespace-cabal.patch create mode 100644 dev-lang/whitespace/metadata.xml create mode 100644 dev-lang/whitespace/whitespace-0.3.ebuild (limited to 'dev-lang/whitespace') diff --git a/dev-lang/whitespace/Manifest b/dev-lang/whitespace/Manifest new file mode 100644 index 000000000000..dc1f50556e89 --- /dev/null +++ b/dev-lang/whitespace/Manifest @@ -0,0 +1 @@ +DIST wspace-0.3.tgz 15471 SHA256 53e47bf05df991c1d0f88a75cf5208bfc42d42b87f8fe3e8ee6a05ac78544a73 SHA512 d162e804b0b6c4cba164552678ef3a094153e89a0df5f684e52b93229d88699cf9c7fd31641b88fd8c4653c158b1e77193ebd9cd1edfc47863a09798f67d3487 WHIRLPOOL 48f71bab55c281607d0d537d9b532b95439744f7e11a6fd96b60145ef2489413ebd85617a3292b2a016eadc9d4cf6146505b614d50fba0d1c9b156be1ba87db9 diff --git a/dev-lang/whitespace/files/whitespace-cabal.patch b/dev-lang/whitespace/files/whitespace-cabal.patch new file mode 100644 index 000000000000..f686d8c4851d --- /dev/null +++ b/dev-lang/whitespace/files/whitespace-cabal.patch @@ -0,0 +1,24 @@ +diff -u -N WSpace/Setup.lhs WSpace.patched/Setup.lhs +--- WSpace/Setup.lhs 1970-01-01 01:00:00.000000000 +0100 ++++ WSpace.patched/Setup.lhs 2013-08-09 01:14:00.415264165 +0200 +@@ -0,0 +1,3 @@ ++#!/usr/bin/env runhaskell ++> import Distribution.Simple ++> main = defaultMain +diff -u -N WSpace/WSpace.cabal WSpace.patched/WSpace.cabal +--- WSpace/WSpace.cabal 1970-01-01 01:00:00.000000000 +0100 ++++ WSpace.patched/WSpace.cabal 2013-08-09 01:44:19.129339177 +0200 +@@ -0,0 +1,10 @@ ++name: WSpace ++version: 0.3 ++synopsis: Whitespace implementation in Haskell. ++category: Language ++Build-Type: Simple ++cabal-version: >= 1.2 ++ ++Executable wspace ++ Main-Is: main.hs ++ Build-Depends: haskell98 +Common subdirectories: WSpace/docs and WSpace.patched/docs +Common subdirectories: WSpace/emacs and WSpace.patched/emacs +Common subdirectories: WSpace/examples and WSpace.patched/examples diff --git a/dev-lang/whitespace/metadata.xml b/dev-lang/whitespace/metadata.xml new file mode 100644 index 000000000000..410c5e5c0b8d --- /dev/null +++ b/dev-lang/whitespace/metadata.xml @@ -0,0 +1,11 @@ + + + + + yac@gentoo.org + Jan Matejka + + + + + diff --git a/dev-lang/whitespace/whitespace-0.3.ebuild b/dev-lang/whitespace/whitespace-0.3.ebuild new file mode 100644 index 000000000000..6915b81adfbe --- /dev/null +++ b/dev-lang/whitespace/whitespace-0.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +CABAL_FEATURES="bin" + +inherit haskell-cabal + +DESCRIPTION="Whitespace language interpreter in haskell" +HOMEPAGE="http://compsoc.dur.ac.uk/whitespace/" +SRC_URI="http://compsoc.dur.ac.uk/whitespace/downloads/wspace-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="dev-lang/ghc" +RDEPEND="" + +S="${WORKDIR}/WSpace" + +src_prepare() { + epatch -p1 "${FILESDIR}/${PN}-cabal.patch" +} + +src_install() { + cabal_src_install + + dohtml docs/tutorial.html || die "dohtml failed" + use examples && { dodoc -r examples || die "dodoc failed"; } +} -- cgit v1.2.3-65-gdbad