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 /www-apps/rocketwiki-lqfb | |
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 'www-apps/rocketwiki-lqfb')
-rw-r--r-- | www-apps/rocketwiki-lqfb/Manifest | 1 | ||||
-rw-r--r-- | www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch | 44 | ||||
-rw-r--r-- | www-apps/rocketwiki-lqfb/metadata.xml | 12 | ||||
-rw-r--r-- | www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild | 32 |
4 files changed, 89 insertions, 0 deletions
diff --git a/www-apps/rocketwiki-lqfb/Manifest b/www-apps/rocketwiki-lqfb/Manifest new file mode 100644 index 000000000000..b4e1afa68e46 --- /dev/null +++ b/www-apps/rocketwiki-lqfb/Manifest @@ -0,0 +1 @@ +DIST rocketwiki-lqfb-v0.4.tar.gz 5274 SHA256 d4035e01026585eab69d135e70cf3e5b8cfd93c078d09303902f3862f885c830 SHA512 fa90b317007c42e2e6d36c79773948ab7ab68ee914bd20825e0d5acbb8bf0add2c0a48119440d8a5b4c991f2d1f59bc83a1835b02d9070ae67fca1d4ffb73caf WHIRLPOOL 41dc9f02ed196f7c1881c33f0092cb267d45299dc6eb479afda9fa9adde30be06405af60faebd1cfa85e7c5ee16a8f161f59f5881824326ddc05d97489f3bf29 diff --git a/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch b/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch new file mode 100644 index 000000000000..0156686ee29c --- /dev/null +++ b/www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch @@ -0,0 +1,44 @@ +--- rocketwiki-lqfb.hs.old 2013-04-25 21:41:34.044588280 +0200 ++++ rocketwiki-lqfb.hs 2013-04-25 21:42:33.108020316 +0200 +@@ -2,6 +2,7 @@ + import Text.ParserCombinators.Parsec + import Control.Applicative ((<$>), (<*>)) + import Data.List (intercalate) ++import System.IO (hSetEncoding, stdin, stdout, utf8) + + + ----------------------------------------------------- +@@ -405,7 +406,10 @@ + return htmlEntity + + +-main = interact wikiParse ++main = do ++ hSetEncoding stdin utf8 ++ hSetEncoding stdout utf8 ++ interact wikiParse + + wikiParse str + | success parseResult = html +--- rocketwiki-lqfb-compat.hs.old 2013-04-25 21:41:41.340518231 +0200 ++++ rocketwiki-lqfb-compat.hs 2013-04-25 21:43:21.299557312 +0200 +@@ -2,6 +2,7 @@ + import Text.ParserCombinators.Parsec + import Control.Applicative ((<$>), (<*>)) + import Data.List (intercalate) ++import System.IO (hSetEncoding, stdin, stdout, utf8) + + + ----------------------------------------------------- +@@ -412,7 +413,10 @@ + return htmlEntity + + +-main = interact wikiParse ++main = do ++ hSetEncoding stdin utf8 ++ hSetEncoding stdout utf8 ++ interact wikiParse + + wikiParse str + | success parseResult = html diff --git a/www-apps/rocketwiki-lqfb/metadata.xml b/www-apps/rocketwiki-lqfb/metadata.xml new file mode 100644 index 000000000000..bfa841b3dcf5 --- /dev/null +++ b/www-apps/rocketwiki-lqfb/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> +<email>tupone@gentoo.org</email> +<name>Alfredo Tupone</name> +</maintainer> +<longdescription lang="en"> +RocketWiki is a small parser written in Haskell which translates a wiki dialect to HTML. It uses Parsec, a monadic parser combinator library. The compressed source code of RocketWiki has a size of only 5162 bytes. +</longdescription> +</pkgmetadata> + diff --git a/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild b/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild new file mode 100644 index 000000000000..bb7398e6a975 --- /dev/null +++ b/www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils +MY_P=${PN}-v${PV} + +DESCRIPTION="Small parser which translates a wiki dialect to HTML" +HOMEPAGE="http://www.public-software-group.org/rocketwiki" +SRC_URI="http://www.public-software-group.org/pub/projects/rocketwiki/liquid_feedback_edition/v${PV}/${MY_P}.tar.gz" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/gmp" +DEPEND="${RDEPEND} + dev-haskell/parsec + dev-lang/ghc" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-utf8.patch +} + +src_install() { + dobin ${PN}{,-compat} +} |