diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-lang/whitespace | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
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 <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-lang/whitespace')
-rw-r--r-- | dev-lang/whitespace/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/whitespace/files/whitespace-cabal.patch | 24 | ||||
-rw-r--r-- | dev-lang/whitespace/metadata.xml | 11 | ||||
-rw-r--r-- | dev-lang/whitespace/whitespace-0.3.ebuild | 34 |
4 files changed, 70 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>yac@gentoo.org</email> + <name>Jan Matejka</name> + </maintainer> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> + 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"; } +} |