diff options
author | eroen <eroen@occam.eroen.eu> | 2012-12-12 01:20:42 +0100 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2012-12-12 01:20:42 +0100 |
commit | 9733f91e67d99f05e433a94fc36dc2b4c995f624 (patch) | |
tree | 31f33bd0a2ac45a8452f171f5f17a41de851a74f /www-apps | |
parent | imported kdelibs-4.9.4-r1 from portage (diff) | |
download | eroen-9733f91e67d99f05e433a94fc36dc2b4c995f624.tar.gz eroen-9733f91e67d99f05e433a94fc36dc2b4c995f624.tar.bz2 eroen-9733f91e67d99f05e433a94fc36dc2b4c995f624.zip |
imported gitit-0.10.0.2-r1.ebuild from haskell-overlay, 73a94310
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/gitit/Manifest | 3 | ||||
-rw-r--r-- | www-apps/gitit/gitit-0.10.0.2-r1.ebuild | 77 | ||||
-rw-r--r-- | www-apps/gitit/metadata.xml | 43 |
3 files changed, 123 insertions, 0 deletions
diff --git a/www-apps/gitit/Manifest b/www-apps/gitit/Manifest new file mode 100644 index 0000000..21dcb56 --- /dev/null +++ b/www-apps/gitit/Manifest @@ -0,0 +1,3 @@ +DIST gitit-0.10.0.2.tar.gz 207370 SHA256 3180e38c2d1b35cd1e215ac95a57c5e4b0cfbfae4d8c57bdba585102cba0d832 SHA512 49254bf535e84566c23ff8d2d782026adc1304751361052334414d5f52f9af8e9b2ce485433552e69ed285e492533dac56012dcabab1e05581211fbf8d5f0aea WHIRLPOOL 6d67c2552d4da9f94d1cacb927955739d4e57331bf22eef9ad2f84e1299c4fff4335731d1055ae6a273078c81098dfba0737fbc538efbd07410ff8b82a4263f7 +EBUILD gitit-0.10.0.2-r1.ebuild 2528 SHA256 41f983451e40813d0cc2ac13ce1ff843723899f808f19455ab60144eae3f199d SHA512 eeda5272ef680c27320d213ed0c305e1b06c476a82f5a7eb0046cfcd4a3ead55e2dc50e326f5b7cfde5458dbfad4988924ba248e74d1415e28bd77d1069cbbc3 WHIRLPOOL 441e0415ae862eea27e2d0dafac155ecaa23a158450c983bb4f6e3722971b63b2fb809d92f2f24186adda43ff69ea1f9390158cba62fca8c076718fb718aba37 +MISC metadata.xml 1380 SHA256 d883bc02a50e8d79d9e0506c8c599eb87c16dc91994828b282617551334b2da9 SHA512 ff202931512091c414f311eb89c6e8488f768d067089205972535efc6e14f2ac70abd46875badcb8152ebf1dfbc0c1f3799d293e3cb0361534ebfed7b0ed04eb WHIRLPOOL b69fcbe4fbddee74d5514ea17b5f38887b8e10f10ff75284b184c3001d15b25ad7faf0008483befee667bd68d6cce1ca1d93ffe42c094472171307354d74bd8e diff --git a/www-apps/gitit/gitit-0.10.0.2-r1.ebuild b/www-apps/gitit/gitit-0.10.0.2-r1.ebuild new file mode 100644 index 0000000..83e8144 --- /dev/null +++ b/www-apps/gitit/gitit-0.10.0.2-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Wiki using happstack, git or darcs, and pandoc." +HOMEPAGE="http://gitit.net" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+plugins" + +RDEPEND=">=app-text/pandoc-1.9.0.5:=[profile?] + <app-text/pandoc-1.10:=[profile?] + >=dev-haskell/base64-bytestring-0.1:=[profile?] + <dev-haskell/base64-bytestring-1.1:=[profile?] + >=dev-haskell/blaze-html-0.4:=[profile?] + <dev-haskell/blaze-html-0.6:=[profile?] + dev-haskell/cgi:=[profile?] + >=dev-haskell/configfile-1:=[profile?] + <dev-haskell/configfile-1.2:=[profile?] + >=dev-haskell/feed-0.3.6:=[profile?] + <dev-haskell/feed-0.4:=[profile?] + =dev-haskell/filestore-0.5*:=[profile?] + dev-haskell/ghc-paths:=[profile?] + >=dev-haskell/happstack-server-7.0:=[profile?] + <dev-haskell/happstack-server-7.2:=[profile?] + >=dev-haskell/highlighting-kate-0.5.0.1:=[profile?] + <dev-haskell/highlighting-kate-0.6:=[profile?] + >=dev-haskell/hslogger-1:=[profile?] + <dev-haskell/hslogger-1.3:=[profile?] + =dev-haskell/hstringtemplate-0.6*:=[profile?] + >=dev-haskell/http-4000.0:=[profile?] + <dev-haskell/http-4000.3:=[profile?] + >=dev-haskell/json-0.4:=[profile?] + <dev-haskell/json-0.8:=[profile?] + dev-haskell/mtl:=[profile?] + >=dev-haskell/network-2.1.0.0:=[profile?] + <dev-haskell/network-2.5:=[profile?] + >=dev-haskell/pandoc-types-1.9.0.2:=[profile?] + <dev-haskell/pandoc-types-1.10:=[profile?] + dev-haskell/parsec:=[profile?] + dev-haskell/random:=[profile?] + >=dev-haskell/recaptcha-0.1:=[profile?] + dev-haskell/safe:=[profile?] + >dev-haskell/sha-1:=[profile?] + <dev-haskell/sha-1.7:=[profile?] + dev-haskell/syb:=[profile?] + =dev-haskell/tagsoup-0.12*:=[profile?] + dev-haskell/text:=[profile?] + =dev-haskell/url-2.1*:=[profile?] + =dev-haskell/utf8-string-0.3*:=[profile?] + dev-haskell/xhtml:=[profile?] + >=dev-haskell/xml-1.3.5:=[profile?] + =dev-haskell/xss-sanitize-0.3*:=[profile?] + =dev-haskell/zlib-0.5*:=[profile?] + >=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.6" + +src_prepare() { + SHA > 1 && < 1.6 + sed -e 's@SHA > 1 && < 1.6@SHA > 1 \&\& < 1.7@' \ + -i "${S}/${PN}.cabal" || die "Could not loosen dependencies" +} + +src_configure() { + cabal_src_configure $(cabal_flag plugins) +} diff --git a/www-apps/gitit/metadata.xml b/www-apps/gitit/metadata.xml new file mode 100644 index 0000000..dea82ac --- /dev/null +++ b/www-apps/gitit/metadata.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> + <longdescription> + Gitit is a wiki backed by a git, darcs, or mercurial + filestore. Pages and uploaded files can be modified either + directly via the VCS's command-line tools or through + the wiki's web interface. Pandoc is used for markup + processing, so pages may be written in + (extended) markdown, reStructuredText, LaTeX, HTML, + or literate Haskell, and exported in ten different + formats, including LaTeX, ConTeXt, DocBook, RTF, + OpenOffice ODT, and MediaWiki markup. + + Notable features include + + * plugins: dynamically loaded page + transformations written in Haskell (see + "Network.Gitit.Interface") + + * conversion of TeX math to MathML for display in + web browsers + + * syntax highlighting of source code + files and code snippets + + * Atom feeds (site-wide and per-page) + + * a library, "Network.Gitit", that makes it simple + to include a gitit wiki in any happstack application + + You can see a running demo at <http://gitit.net>. + + For usage information: @gitit --help@ + </longdescription> + <use> + <flag name="plugins">enables optional plugin runtime loader</flag> + </use> +</pkgmetadata> |