parent
cabe83175f
commit
46d0c85e09
@ -1,2 +1,3 @@
|
||||
DIST duff-0.4.tar.bz2 76582 SHA256 3d23e92b7467e4006a536d49b053b1c6ebc8cb3aff584c86d8561855841f4ac4 SHA512 ac2d89fa84fd3a4a1a606875d65e4472ffbf2167af29910dc5fb2dc6fbd4dd7718362bbd8b663a2f88dec9416249a6f0274993be18d270254e20bbadb1e4c03b WHIRLPOOL 830f47f9119b4bf907332206d60757f91b22e839dc2066ddae871bf36c6ac9e3bc50d06d817d48bd62f61ebdaddf686b5f2e932ffa5cacb3aaa104dd823996b6
|
||||
DIST duff-0.5.2.tar.bz2 174545 SHA256 5615ce50f971d29f6a13bbf4d4ab2d5a7134aad157741515c51d3921aa1b755d SHA512 5f64c28ab86523dd4dffaf26dac67d10bea71bd5cf7b4eaa3dfa27309cf8e7cf37a74ee62b5f3df3cb0114a847711b3147a083cbdd72ab8e4b5f9a45c908f333 WHIRLPOOL 4c212872dc07757b2b14f6a1d3e5c69f62c787ec6f3df3d4bcc15a7ca7a56f6c50eac218c8797d42e8e24cf6f429e5581d35a877ea1784512a91fc52352a0cb5
|
||||
DIST duff-0.5.tar.bz2 168991 SHA256 9e30f84d3d02bdaceb2a901db538906e66c227f80e3651b08bfad8c0f452ee5d SHA512 310eabfd4ef8719eca38229372485945d06aa5743a91d6f78823991d16ec4afa48aa96c956e006444f59ba60f9d13b746cd289e3361f163b9b0de630c11dd6f7 WHIRLPOOL 92d7da08e91b11cd74d2ad20df5b39912f9f77acfddd5989e5ae31eb8a40994dee010260ced4411ea27789c19e99e21c3ed50f67c80934919c4843456b6f8c08
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/duff/duff-0.5.2.ebuild,v 1.1 2013/06/19 03:33:57 patrick Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Command-line utility for quickly finding duplicates in a given set of files"
|
||||
HOMEPAGE="http://duff.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE=""
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Failed emake install"
|
||||
dodoc AUTHORS ChangeLog HACKING NEWS README* TODO
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST unar1.1_src.zip 3530742 SHA256 478f5ffd9707f3f295e088df42e1cd26dcf203590297a4bd35a95e9de186ed0e SHA512 9d2ca145497961cc9b8c786e49810394c0abed8077e806d873420c65eabef70b57a70f93741890f8e7ee231d145d45c9b3a614ddc8ef5d17f8f1603c7ac419a2 WHIRLPOOL 5494edc1b488ddc516fd7abd1e3697eb5b95b6046bcd99b308318f450049008252b781bc74411c716de38ecef523afbc684867db047d72f5cb020e3d68df03ec
|
||||
DIST unar1.2_src.zip 3599730 SHA256 653ebb2bb6568e6de9f5513aeaabf13b12ae55159e64709a6c20a4f45387c8d6 SHA512 9d78b90e04a4200a77cddcbc33b655d9ea841602ee1d2e59e77e7d103abeba0609e2fed6183d243b6a7ad24ed4680d2001206b6663b70df3d4bc404ecc116267 WHIRLPOOL 7dffdb3bc1a92ccec6496d3344df0ce528bd0f792ccec338f17f7dea6b645b3d2f2a79355ff5d6d613486405a116619638e3420ab1e3ce1a8a9034cc55dec046
|
||||
DIST unar1.5_src.zip 2530160 SHA256 22e9b6c31fb6dea27e59222bfaaa8aee08af92aed1cfcbff407d1cf11be6ea78 SHA512 a6239279b9706f43feb02f7a80993c360ed21d79e448f08fcc40f14ef078f24b21daf3974fc7f5880f3e5188880e903e028e5aaeaeb4565593d9945fbeced27b WHIRLPOOL 7242af7ba9c7a470bf31ca4860b35d00b1e88611083c6fcab872b0c2a6e2e53a6bcf03309c76f322e4334ead736ac0d7f93f5e66863268d334ea1fcf9ab57bf3
|
||||
DIST unar1.6_src.zip 2531920 SHA256 818e6b8c3a6d54218acb13693191fdeb99d6d622e9eb480e615f68267dc6ff51 SHA512 4d48d04e89c67d35fb3b186850b4426ba90e1cbb7afca70bdea2d0dd1e92178c773494fda23fa58d44e8e92d5342b9a2efa3695d25f6d1104e481b9f6234b3a1 WHIRLPOOL e9bba9f6fadf3ef0537b653ca7d0063a47bb2746277d1e48354ba59aed3743a7509b38c72fe15eb3a4c58659355952aa0bb44cf346e48e08f235ed8fea32ae0b
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/unar/unar-1.6.ebuild,v 1.1 2013/06/19 06:08:09 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="unpacker for various archiving formats, e.g. rar v3"
|
||||
HOMEPAGE="http://unarchiver.c3.cx/"
|
||||
SRC_URI="http://theunarchiver.googlecode.com/files/${PN}${PV}_src.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="gnustep-base/gnustep-base
|
||||
>=gnustep-base/gnustep-make-2.6.0[native-exceptions]
|
||||
dev-libs/icu"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gcc[objc]"
|
||||
|
||||
S="${WORKDIR}/The Unarchiver/XADMaster"
|
||||
|
||||
src_compile() {
|
||||
emake -f Makefile.linux \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
OBJCC="$(tc-getCC)" \
|
||||
C_OPTS="-std=gnu99 ${CFLAGS} ${CPPFLAGS}" \
|
||||
CXX_OPTS="${CXXFLAGS} ${CPPFLAGS}" \
|
||||
OBJC_OPTS="-std=gnu99 ${CFLAGS} ${CPPFLAGS}" \
|
||||
LD="$(tc-getCXX)" \
|
||||
LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime ${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin {ls,un}ar
|
||||
doman ../Extra/{ls,un}ar.1
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST gedit-plugins-2.32.0.tar.bz2 616927 SHA256 2ef7bf48e9500556d84ae4c2950f4eadcc3f9cb9c58c90f2c83956b0ddad1107 SHA512 c00535a8a166752ef764319eb79fd7dd5a55df495bf0f3de32e287214f5da8ddd32a52c5538d5e8714843e7e724d24aab9f6fca0f1f339fe299a1ffdf264761b WHIRLPOOL d7385fe3682efaeaa5fbc57a8e8fb68480983140daf78643392b6a7b335a2a5e8ce21cc8f04136efcfac6133dd1c1cd65c50eab0b0cbde766eebb850889796eb
|
||||
DIST gedit-plugins-3.6.1.tar.xz 1402568 SHA256 c5e92830e6029110bf1117bd9f31b23a9ad907210b8cb37039772f5bfcf6d174 SHA512 71bdcbe427125be1a3b73086c5d1e2c9f51e9fab6e66c6142578cbf2e30f4b2de3264e1301f6232dbc2fee84202ab1d449b1fff6e13c1a7477e23a9418f10b49 WHIRLPOOL 11e860e567f13ace41a09de0585b0e5248589f09ae22d7cd0d8b84d1381617d45c40b865050e9f4d89a243b59624c45bbd493062d6c7fea539a7ee086d72491a
|
||||
DIST gedit-plugins-3.8.1.tar.xz 724572 SHA256 659d379f9edfbba2db37522991c734c5d50e03eb1f70985e978d93a718273141 SHA512 2f8e0bb811d8d15bcdf7dac1c2079fd66147768031f0f4d35861a296ced23ac7458aaec6f33ec7f8faa77db19a46df1a23710016a8250a36435e6126165b6e87 WHIRLPOOL fdbabdddde257138a8958bca5182860c6ce0f55f8170bba79a69df200b100006b58f2780acf70eb66f03b80a7ea8db934d205d9bb04806de2b409f6253442d80
|
||||
DIST gedit-plugins-3.8.2.tar.xz 722224 SHA256 ee6efad1222b0f74208b5280dbad84d16400f3fc39c227b12c8695999aa2b502 SHA512 eef94558d3782a79b62d29757942a9c0d51d20ea9dae916ed6c682ee742b1fd30bfb8c8fa84077d4879ec520fc0b6c7ed5cf025f2cc2fd17575714bca8e9185d WHIRLPOOL 29018fc347ce7e3f4d23c61273a3f216171eb0a26ce4a8da40ede5ba5cae5eac338fe0700ada8299db8158a81d875a67af3ea23cd586d0a795e8d5f9e8f8004f
|
||||
DIST gedit-plugins-3.8.3.tar.xz 724000 SHA256 2340910ed49acfaab7e8d30142e087f70e55c1a55f8b755d4f9014bce3923c80 SHA512 49a6b6184b73868997477607d932c3ec7b86344854446d1bf7f6a97b2dfff23918970c07fb2bc3f8380ef76874e5addad809c6dd61a0101067e16c9c3c5ea45e WHIRLPOOL b94f8cebd3d4b5e91d92a10b5610510664fb35f4fa8a0eb3dc91f714916b726e6a94a19b13f7072d9df3589241eeff3e8d51dec1090a47a3764ede5c07ce07c8
|
||||
|
@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<longdescription>Official plugins for gedit</longdescription>
|
||||
<use>
|
||||
<flag name='charmap'>Insert special characters just by clicking on
|
||||
<herd>gnome</herd>
|
||||
<longdescription>Official plugins for gedit</longdescription>
|
||||
<use>
|
||||
<flag name='charmap'>Insert special characters just by clicking on
|
||||
them</flag>
|
||||
<flag name='synctex'>Synchronize between LaTeX and PDF with gedit and
|
||||
<flag name='git'>Shows document changes related to git's HEAD</flag>
|
||||
<flag name='synctex'>Synchronize between LaTeX and PDF with gedit and
|
||||
evince</flag>
|
||||
<flag name='terminal'>Embed a terminal in the bottom pane</flag>
|
||||
</use>
|
||||
<flag name='terminal'>Embed a terminal in the bottom pane</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,2 @@
|
||||
DIST odeskteam-3.2.13-1-i686.pkg.tar.xz 896424 SHA256 cc2864955f7363c98facea01b3a355fb090ebaa97f36db8de7dceeddee7116a0 SHA512 42306a5f047a89e918b547b40d0298b12a3b028a6e9fb926f8b607e27b478c5480bf061087ee955df89aa0fd0b1004cf340b58d903f2937f63a95464f48ff956 WHIRLPOOL ddbe934aa00946dd166b7ca26e32b2d1d7209c3905af4799398df81d57d4bf7ad4d76d2f71e2992b370ee96e8b873f8691584bf5d43915f54fd7d10afde2b542
|
||||
DIST odeskteam-3.2.13-1-x86_64.pkg.tar.xz 901384 SHA256 839e17aa2bc58c211649c22a2c06a02805c127a393e123a99558af3ac20ce361 SHA512 65e1ddcc664a31068a4376068178e0ed775df07cce287a507716e1c78679ddc5ac213b567c7e88b29a63b9c911b812bc45a949bcbb09b4fe7ea8020c4d5ee42f WHIRLPOOL 432a4253c25cb064d140dc4232ca8225238dfe2c7c968bad50425a835f7a665ba0c62f09576f41bbc49d68e07f4c8358b4aa927da17fbf30d51f77902cffbb4a
|
||||
DIST odeskteam-3.6.1-1fc17.i386.rpm 1495558 SHA256 a2e3708a04f4441b8626a2608469c88a5993241e8baef13ff503a0ac627f76e9 SHA512 2fd2d5906a1ede4f1e014ad8c67b696e265f38765d5ec3d870aca797ab4471a5b6868adf8730dbdd14254421ca3b579f6d63b4688174e2d9f098f9e6b865be67 WHIRLPOOL 6a75262e42038707fe0659e3418b578ec253e9f85fab7c91176b6e5456e5d78863546f64c079fa53cc30e8c9ebb45388a6965ba468d9437ff24a5040a53e4df6
|
||||
DIST odeskteam-3.6.1-1fc17.x86_64.rpm 1545261 SHA256 1444234e08db33237f336817d32f6655c1a2c41b98f7e899919f2bdfca4577f3 SHA512 1dda4998597739977fc607e5da12fcbb1d6843235c911d9b7ea1b4696d293bcb6b4865a605256e13d512741ee46e5dbfc194363261facf3af90105a2656367a2 WHIRLPOOL 0e326c20e8baadba08ece0b37014f727b50feded614a56ce839fcca41df98852c83898fb12fd1672e9d1e4966262a6e8b9fcc651112a9d0a91b7a2fce5983be7
|
||||
|
@ -1,61 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/odeskteam/odeskteam-3.2.13.ebuild,v 1.2 2013/03/02 19:36:16 hwoarang Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/odeskteam/odeskteam-3.6.1-r1.ebuild,v 1.1 2013/06/19 11:17:27 titanofold Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
inherit rpm eutils
|
||||
|
||||
# Binary only distribution
|
||||
QA_PREBUILT="*"
|
||||
|
||||
DESCRIPTION="Project collaboration and tracking software for oDesk.com"
|
||||
HOMEPAGE="https://www.odesk.com/"
|
||||
SRC_URI="amd64? ( https://www.odesk.com/downloads/linux/${P}-1-x86_64.pkg.tar.xz )
|
||||
x86? ( https://www.odesk.com/downloads/linux/${P}-1-i686.pkg.tar.xz )
|
||||
SRC_URI="amd64? ( https://www.odesk.com/downloads/linux/beta/${P}-1fc17.x86_64.rpm )
|
||||
x86? ( https://www.odesk.com/downloads/linux/beta/${P}-1fc17.i386.rpm )
|
||||
"
|
||||
|
||||
LICENSE="ODESK"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="v4l"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2
|
||||
>=x11-libs/libnotify-0.7
|
||||
app-arch/bzip2
|
||||
dev-libs/expat
|
||||
dev-libs/icu
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:0
|
||||
media-libs/gst-plugins-base:0.10
|
||||
media-libs/gstreamer:0.10
|
||||
dev-qt/qtcore:4[ssl]
|
||||
dev-qt/qtgui:4[dbus]
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/libpng
|
||||
media-libs/openjpeg:0
|
||||
media-video/ffmpeg
|
||||
sys-apps/dbus
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
virtual/libffi
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXau
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libxcb
|
||||
dev-qt/qtcore:4[ssl]
|
||||
dev-qt/qtdbus:4
|
||||
dev-qt/qtgui:4
|
||||
v4l? (
|
||||
media-libs/gst-plugins-good:0.10
|
||||
media-plugins/gst-plugins-libpng:0.10
|
||||
media-plugins/gst-plugins-v4l2:0.10
|
||||
media-plugins/gst-plugins-xvideo:0.10
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}_desktop_file.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
into /opt
|
||||
dobin usr/bin/{odeskteam-qt4,ot-alert}
|
||||
dobin usr/bin/odeskteam-qt4
|
||||
|
||||
domenu usr/share/applications/odeskteam.desktop
|
||||
|
@ -0,0 +1,42 @@
|
||||
commit fa978e13658f76be109243224f7491550db74240
|
||||
Author: John MacFarlane <fiddlosopher@gmail.com>
|
||||
Date: Tue May 7 20:22:09 2013 -0700
|
||||
|
||||
Use latest highlighting-kate and texmath.
|
||||
|
||||
Closes #849.
|
||||
|
||||
diff --git a/pandoc.cabal b/pandoc.cabal
|
||||
index 5f290a9..ea9e850 100644
|
||||
--- a/pandoc.cabal
|
||||
+++ b/pandoc.cabal
|
||||
@@ -241,7 +241,7 @@ Library
|
||||
old-locale >= 1 && < 1.1,
|
||||
time >= 1.2 && < 1.5,
|
||||
HTTP >= 4000.0.5 && < 4000.3,
|
||||
- texmath >= 0.6.1.3 && < 0.7,
|
||||
+ texmath >= 0.6.1.5 && < 0.7,
|
||||
xml >= 1.3.12 && < 1.4,
|
||||
random >= 1 && < 1.1,
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
@@ -251,7 +251,7 @@ Library
|
||||
tagsoup >= 0.12.5 && < 0.13,
|
||||
base64-bytestring >= 0.1 && < 1.1,
|
||||
zlib >= 0.5 && < 0.6,
|
||||
- highlighting-kate >= 0.5.3.7 && < 0.6,
|
||||
+ highlighting-kate >= 0.5.3.9 && < 0.6,
|
||||
data-default >= 0.4 && < 0.6,
|
||||
temporary >= 1.1 && < 1.2,
|
||||
blaze-html >= 0.5 && < 0.7,
|
||||
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex
|
||||
index 16e9a79..2a5025a 100644
|
||||
--- a/tests/lhs-test.latex
|
||||
+++ b/tests/lhs-test.latex
|
||||
@@ -22,6 +22,7 @@
|
||||
\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
|
||||
\usepackage{color}
|
||||
\usepackage{fancyvrb}
|
||||
+\newcommand{\VerbBar}{|}
|
||||
\DefineShortVerb[commandchars=\\\{\}]{\|}
|
||||
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
|
||||
% Add ',fontsize=\small' for more characters per line
|
@ -1 +1,2 @@
|
||||
DIST gentoo-syntax-20120109.tar.bz2 19526 SHA256 dabab1a569ec84286d15feb93652f044888d92c0e0c8c1f298f8dec80fcab4c5 SHA512 cbd0215dc8b5d89f3c0ec2aaa274f05d47891f67a7e5513af04ae53374c4adf6686e7fce2446d329033b951bf0106cc96075015ecaeaa38983b843bbac0119bf WHIRLPOOL 05ea6343ebdf3263392348bc1d0be045915232c58c652f85a2f38b31c612aa3466379329bef735b08e0d74856ff1e8d0139b433e1e3f999b9fde93740912a8c5
|
||||
DIST gentoo-syntax-20130619.tar.bz2 24689 SHA256 959f4ac0845d97f01aadc8ee7dffbaebe9d933253de6eba35df530aff2d6ebd2 SHA512 122fdbb644105fd3e4bb24431fe7ed3cc20052336167da9914274040a9ad220b45c5edb04a6b00a019db476e3271023f64248960940276aa3a7785c9a4fbdc98 WHIRLPOOL 92c381de077c8ec2e278023da2d7c3d8c53840e2b0e653a1241b51ec99abebfb32ca123579a70ea5ed8f79cf5a2f94b2c0647c4fca1e1a156045fcfa341a85ce
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/gentoo-syntax/gentoo-syntax-20130619.ebuild,v 1.1 2013/06/19 08:09:05 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: Gentoo and portage related syntax highlighting, filetype, and indent settings"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ignore-glep31"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="gentoo-syntax"
|
||||
VIM_PLUGIN_MESSAGES="filetype"
|
||||
|
||||
src_prepare() {
|
||||
if use ignore-glep31 ; then
|
||||
for f in ftplugin/*.vim ; do
|
||||
ebegin "Removing UTF-8 rules from ${f} ..."
|
||||
sed -i -e 's~\(setlocal fileencoding=utf-8\)~" \1~' ${f} \
|
||||
|| die "waah! bad sed voodoo. need more goats."
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
if use ignore-glep31 1>/dev/null ; then
|
||||
ewarn "You have chosen to disable the rules which ensure GLEP 31"
|
||||
ewarn "compliance. When editing ebuilds, please make sure you get"
|
||||
ewarn "the character set correct."
|
||||
else
|
||||
elog "Note for developers and anyone else who edits ebuilds:"
|
||||
elog " This release of gentoo-syntax now contains filetype rules to set"
|
||||
elog " fileencoding for ebuilds and ChangeLogs to utf-8 as per GLEP 31."
|
||||
elog " If you find this feature breaks things, please submit a bug and"
|
||||
elog " assign it to vim@gentoo.org. You can use the 'ignore-glep31' USE"
|
||||
elog " flag to remove these rules."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/cgi-2006.9.6.ebuild,v 1.5 2007/07/13 06:03:10 mr_bones_ Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
GHC_PV=6.6
|
||||
|
||||
DESCRIPTION="A haskell library for writing CGI programs"
|
||||
HOMEPAGE="http://haskell.org/ghc/"
|
||||
SRC_URI="http://www.haskell.org/ghc/dist/${GHC_PV}/ghc-${GHC_PV}-src-extralibs.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
>=dev-haskell/mtl-1.0
|
||||
>=dev-haskell/xhtml-2006.9.13
|
||||
>=dev-haskell/network-2.0"
|
||||
|
||||
S="${WORKDIR}/ghc-${GHC_PV}/libraries/${PN}"
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/cgi-3001.1.1.ebuild,v 1.7 2009/04/19 12:14:16 kolmodin Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
GHC_PV=6.6.1
|
||||
|
||||
DESCRIPTION="A haskell library for writing CGI programs"
|
||||
HOMEPAGE="http://haskell.org/ghc/"
|
||||
SRC_URI="http://www.haskell.org/ghc/dist/${GHC_PV}/ghc-${GHC_PV}-src-extralibs.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~alpha amd64 ~ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
>=dev-haskell/mtl-1.0
|
||||
>=dev-haskell/xhtml-3000.0.0
|
||||
>=dev-haskell/network-2.0"
|
||||
|
||||
S="${WORKDIR}/ghc-${GHC_PV}/libraries/${PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cabal-mksetup
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/cgi-3001.1.5.1.ebuild,v 1.5 2012/09/12 14:37:53 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
CABAL_MIN_VERSION=1.2
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A library for writing CGI programs"
|
||||
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cgi"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
>=dev-haskell/network-2.0
|
||||
>=dev-haskell/mtl-1.0
|
||||
>=dev-haskell/xhtml-3000.0.0
|
||||
>=dev-haskell/parsec-2.0"
|
||||
|
||||
CABAL_CONFIGURE_FLAGS="--constraint=base<4"
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/cgi-3001.1.7.1.ebuild,v 1.6 2012/09/12 14:37:53 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A library for writing CGI programs"
|
||||
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cgi"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/mtl-1.0
|
||||
>=dev-haskell/network-2.0
|
||||
>=dev-haskell/parsec-2.0
|
||||
>=dev-haskell/xhtml-3000.0.0"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cgi/cgi-3001.1.7.4.ebuild,v 1.1 2012/10/28 21:27:09 slyfox Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.9
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A library for writing CGI programs"
|
||||
HOMEPAGE="http://andersk.mit.edu/haskell/cgi/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/mtl-1.0
|
||||
>=dev-haskell/network-2.0
|
||||
>=dev-haskell/parsec-2.0
|
||||
>=dev-haskell/xhtml-3000.0.0
|
||||
>=dev-lang/ghc-6.10.1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -1,3 +1 @@
|
||||
DIST curl-1.3.5.tar.gz 47734 SHA256 351fce6db46b14949de615b181d654712158bdcf9603601e1a90c9d786a6d67c SHA512 5949f833a1a772073dfc926a5124f809229e29136cd1c70eb324e85819af249ca607849616791059bf60ef5e507ff4e37e08c34b7951f503a80fae4b77716f08 WHIRLPOOL fd2cda51b8d6eec0783620cec93dc7391c39be69517e541e2a49523ceb4bf8d5473b53bdc9bacec28f5420523d851205c29c53d7c3272d371902c0c715889206
|
||||
DIST curl-1.3.7.tar.gz 51278 SHA256 f1410ca81fffff241678d287588b201285c6c9637d6db5d90af6952bc639cd44 SHA512 2d0aed3bffefebfca6af06a266abff626a335b17b8e804559dc4944aaf0cde1556a32c6be353bbe2945c65014f7f3b0db437831bef5e0e0c08d51e327e249556 WHIRLPOOL cb46b6139469ef7f4e5e749ebd4986f05dd9b5354c1654d3f130d4940203c5b47d527689630ceea8f50ea128f0198964bb4ee3260b303c5f41f2ef9b9551b7b4
|
||||
DIST curl-1.3.8.tar.gz 47704 SHA256 9087c936bfcdb865bad3166baa3f12bf37acf076fa76010e3b5f82a1d485446e SHA512 00012fc9b0a80b0d306f688bfb9cfbde8aa72045e6a139c0d8a0cdd7832b5e86ab06c6ea95803665f4bb8ec4e9af3dbc6e405f100985c2cfbaead8527ba7a382 WHIRLPOOL 2e4b8717836fe6c501d60866bb6f555625fc51e001039d08743d92bce082f469ee13591619d2aa0a6f3a2f3a37c35b66dce6798dbc98fcd4419ee474188210c7
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/curl/curl-1.3.5.ebuild,v 1.5 2012/09/12 14:52:41 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="Haskell binding to libcurl"
|
||||
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/cabal-1.2
|
||||
net-misc/curl"
|
||||
|
||||
PATCHES=("${FILESDIR}"/${PN}-1.3.5-ghc-7.patch)
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/curl/curl-1.3.7.ebuild,v 1.5 2012/09/12 14:52:41 qnikst Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# ebuild generated by hackport 0.2.18.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Haskell binding to libcurl"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/curl"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.8.2
|
||||
net-misc/curl"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -1,64 +0,0 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=397565
|
||||
-fvia-C is deprecated (and broken on ghc-6.12 + binutils-22.1)
|
||||
diff --git a/Network/Curl/Code.hs b/Network/Curl/Code.hs
|
||||
index ffb2531..0949438 100644
|
||||
--- a/Network/Curl/Code.hs
|
||||
+++ b/Network/Curl/Code.hs
|
||||
@@ -1,5 +1,5 @@
|
||||
{-# LANGUAGE ForeignFunctionInterface #-}
|
||||
-{-# OPTIONS -fvia-C -#include "curl/curl.h" #-}
|
||||
+{-# OPTIONS -#include "curl/curl.h" #-}
|
||||
--------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : Network.Curl.Code
|
||||
diff --git a/Network/Curl/Easy.hs b/Network/Curl/Easy.hs
|
||||
index 46fe480..c2d2bc5 100644
|
||||
--- a/Network/Curl/Easy.hs
|
||||
+++ b/Network/Curl/Easy.hs
|
||||
@@ -1,5 +1,5 @@
|
||||
{-# LANGUAGE ForeignFunctionInterface #-}
|
||||
-{-# OPTIONS -fvia-C -#include "curl/curl.h" #-}
|
||||
+{-# OPTIONS -#include "curl/curl.h" #-}
|
||||
--------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : Network.Curl.Easy
|
||||
diff --git a/Network/Curl/Info.hs b/Network/Curl/Info.hs
|
||||
index 2f31808..4a69938 100644
|
||||
--- a/Network/Curl/Info.hs
|
||||
+++ b/Network/Curl/Info.hs
|
||||
@@ -1,5 +1,5 @@
|
||||
{-# LANGUAGE ForeignFunctionInterface #-}
|
||||
-{-# OPTIONS -fvia-C -#include "curl/curl.h" #-}
|
||||
+{-# OPTIONS -#include "curl/curl.h" #-}
|
||||
--------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : Network.Curl.Info
|
||||
diff --git a/Network/Curl/Post.hs b/Network/Curl/Post.hs
|
||||
index 0822fbb..c51c8aa 100644
|
||||
--- a/Network/Curl/Post.hs
|
||||
+++ b/Network/Curl/Post.hs
|
||||
@@ -1,5 +1,5 @@
|
||||
{-# LANGUAGE ForeignFunctionInterface #-}
|
||||
-{-# OPTIONS -fvia-C -#include "curl/curl.h" #-}
|
||||
+{-# OPTIONS -#include "curl/curl.h" #-}
|
||||
--------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : Network.Curl.Post
|
||||
diff --git a/curl.cabal b/curl.cabal
|
||||
index 491161d..330ff18 100644
|
||||
--- a/curl.cabal
|
||||
+++ b/curl.cabal
|
||||
@@ -37,11 +37,11 @@ library
|
||||
c-sources: curlc.c
|
||||
Extra-libraries: curl
|
||||
Extensions: CPP, ForeignFunctionInterface
|
||||
- Ghc-options: -Wall -fvia-C
|
||||
+ Ghc-options: -Wall
|
||||
|
||||
Build-Depends: base
|
||||
if flag(new-base)
|
||||
- Build-depends: base >= 3 && < 4, containers
|
||||
+ Build-depends: base >= 3 && < 5, containers
|
||||
else
|
||||
Build-depends: base < 3
|
||||
|
@ -1,4 +1 @@
|
||||
DIST digest-0.0.0.8.tar.gz 2534 SHA256 0b213020c064cf36d1a3d5a77e1d19337713d2cb2ac4c170bc0fc8dc370af6f3 SHA512 e36777c7555c0e60670763c3e78f432db26100d672e14d1efedb33a92e333ff490907c0bbdf2422706efd1a4899420b8f86303287c7afe137bc26330fe3e6972 WHIRLPOOL ea4722e200d20d5789b13e7c029666a2c3811f855ca8f6f0e2da9606cbddf1e2553f02d66334bbc2acce4f7699752d7a436ae0c52e57f4a91f4d4c51bc16b916
|
||||
DIST digest-0.0.0.9.tar.gz 2517 SHA256 4940311321f4ceb0865fc971a9f4fa7ea8882eda495a68d8b4945439701cf295 SHA512 78c54b2639195827350b6d962fea2afa8abedad9d5c30c17fed6ee0471dc537d7d0f84a8d0b96940280ae7018834709c2ba3398dbd90c2efddb34488efdef978 WHIRLPOOL 1128b88551b413d1ded306faadc790c119f37dbf3ca820961ffc0cc0d01d3b10c9b221744ca6d58a08d7fbc9a670d7499b72af9346cddbff330efb8b00ff1a18
|
||||
DIST digest-0.0.1.1.tar.gz 3781 SHA256 7bb8b85959cfb3c6539aa2f2104c14aec9758a3a5d6039aba975299fdcd704d4 SHA512 a1bea5c81f25a1317817b71ad42a84211e40dcd3e83e5dc02e21dc555e24db50584a769383c80d34922aa33a662dac67268b89c22236cad580dd81255e7deba9 WHIRLPOOL f209dd8fdffa68d19e7675ed20d56ad2be145e900b5b5ba9ef14ebf58a7b4a7a399ef844895474d5af1ac18552163bcd9e2d6cd8e1b904fd4d73374effbd8a05
|
||||
DIST digest-0.0.1.2.tar.gz 3790 SHA256 641717eb16392abf8965986a9e8dc21eebf1d97775bbb6923c7b7f8fee17fe11 SHA512 f7961c098677c0e75561e3706446b073f60c6a8646aca6d139d6559952b2cba189221ac8af59f2dc6e4da65ee4a789f703e2ebbcf1e9c3df3f98167409bdf7c9 WHIRLPOOL 5e7cd01b5818681cdd157ca1743c5e81152e6b67f8cc926572410d8d445d37b4725c7b7dba4e6244951c0605f6fa576a7fb7cf7392a22ed7dd6dfadc2abccedc
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/digest/digest-0.0.0.8.ebuild,v 1.10 2012/09/12 15:43:15 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now."
|
||||
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/digest"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/cabal-1.6
|
||||
sys-libs/zlib"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/digest/digest-0.0.0.9.ebuild,v 1.7 2012/09/12 15:43:15 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now."
|
||||
HOMEPAGE="http://hackage.haskell.org/package/digest"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.8.2
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/digest/digest-0.0.1.1.ebuild,v 1.7 2012/09/12 15:43:15 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.17.9999
|
||||
|
||||
EAPI=4
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now."
|
||||
HOMEPAGE="http://hackage.haskell.org/package/digest"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.8.2
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -1,3 +1 @@
|
||||
DIST fgl-5.4.1.1.tar.gz 32815 SHA256 19a903b821950d6213e5442622fabc416c5fbc7414af1e7227faeb819a03ac95 SHA512 82a8219d575764f654d71ef4bb9c70754e3ac82e2decd8e7dd121b7a1abbc9457fbbee3b653456ac76933cff2b0f90d5622333bb83bf42efe0a036e4b1d78a0d WHIRLPOOL 1966873cad19e212e4919725ae1fe273408d3f6146682688fa2820fd6d714aa8948c51ebd6ac423737ba9b72d8e1eaf846268fc42e7b66f136d6758481950972
|
||||
DIST fgl-5.4.2.3.tar.gz 36357 SHA256 e72142b555a5ab6c5cdced317b42e8cafdbb54b7e2e46ed14e6ca18d71d486b8 SHA512 a5f5514cff9db3843e4e992803b03c18d9fcad7946a965ee1ea4997a080a8e74a8a603f20b982aa3b79bf664129fe0abcd4f021b4c040ce4a65603e1e5348c54 WHIRLPOOL bb03460cf03b08162427f6f9a5f3fd4c6c7927e78289b419a7854b71e74327f16dfd08962779aebddffcf5d51da59e52dcea1a072ba8e300f02711341f31c56d
|
||||
DIST fgl-5.4.2.4.tar.gz 36574 SHA256 ce98ccb83e2d271a7b3266426a0762a0e902252f07ec09b7bef50c67d0110266 SHA512 9c0c145f43d1b5671af99e9d62d485c5af1336779463f3e9519e6db98fb3c3dacadecb5241aca2e9326ad795d143efd1b3b04a5cb21077dce28579f430fd8d11 WHIRLPOOL 570f4c1fb03bbd3ed0544e44e64bfe95f4ed797718cd0596c0354e0a862ac23e8abcf63112a60b1356a2e980095998a5ad9e919e5e7a6973507eec46e1c6dd48
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/fgl/fgl-5.4.1.1.ebuild,v 1.6 2012/09/12 14:38:55 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal versionator
|
||||
|
||||
DESCRIPTION="A functional graph library for Haskell."
|
||||
HOMEPAGE="http://haskell.org/ghc/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.4
|
||||
dev-haskell/mtl"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
if ! version_is_at_least "6.8" "$(ghc-version)"; then
|
||||
sed -i -e 's/, containers, array//' "${S}/fgl.cabal"
|
||||
fi
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/fgl/fgl-5.4.2.3.ebuild,v 1.6 2012/09/12 14:38:55 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="Martin Erwig's Functional Graph Library"
|
||||
HOMEPAGE="http://web.engr.oregonstate.edu/~erwig/fgl/haskell"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/mtl
|
||||
>=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-haskell/cabal"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-5.4.2.3-ghc-7.2.patch")
|
@ -1,10 +0,0 @@
|
||||
diff --git a/Data/Graph/Inductive/PatriciaTree.hs b/Data/Graph/Inductive/PatriciaTree.hs
|
||||
index 2e68d86..c465259 100644
|
||||
--- a/Data/Graph/Inductive/PatriciaTree.hs
|
||||
+++ b/Data/Graph/Inductive/PatriciaTree.hs
|
||||
@@ -1,4 +1,5 @@
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
+{-# LANGUAGE BangPatterns #-}
|
||||
|
||||
-- |An efficient implementation of 'Data.Graph.Inductive.Graph.Graph'
|
||||
-- using big-endian patricia tree (i.e. "Data.IntMap").
|
@ -1,4 +1,2 @@
|
||||
DIST hashed-storage-0.4.13.tar.gz 54534 SHA256 c4e8dbd23469cde19696344f3e56088313ce5ee823e2d89ad2d0cb1fce602b63 SHA512 ed921fe2dcfd302510711ce7aca9c65e8f096d31d36308b6bdbe2eb3d8af0d236080dee24f187a4848a1adaa621ac1654b336f0c09930aff4e95e6ebce0eb58e WHIRLPOOL 82a07318a7ab599dfe71f33205bde76455f7240e88dc23c9ed1016066b63816dc1c924329a3b1b2e9403e329ddb033d430f8d9c01cfa3c2c78740d7e715205cc
|
||||
DIST hashed-storage-0.5.10.tar.gz 57658 SHA256 05824a4cedd2be03444fd0bc664f5c94f6edc50005f1a8f99657150fa6cdedcc SHA512 dfb9cecdfe44e311020ccb79c437d2bb326f18d4022a0386aacd5c23a7c93b6a4f70baa7c2724b796785257a1733407975682fd3b949eda80bee9824df9b7001 WHIRLPOOL f97a546b651e2a9f3e905203d9ff5db56c2edc472eec9edf2c133749e025f890118dd723a1c6eba61a18b5ab1116af888a256bac94f4557b8d18e726ec3b97b3
|
||||
DIST hashed-storage-0.5.7.tar.gz 56699 SHA256 03ecb905887a35ce9dde11ec689b4c272d68994830e0ad74550d6048f5478bfe SHA512 6fd68b173a6dae09baae3ad6bc7835c384c5c2b9fb1090e1191dbfa240e78601453c463b87d06e72fc6a0ee8bef1d8ee886ea1b1fe5eff92c4037cc1fc897c86 WHIRLPOOL 3652ddf6197fff3a0eb64db20ae613f9e93ebd493054666d00baab96496b14d0ddbb3bffa6e61954e5af6c32cd5c20f0842725b3683d16442ca4b3574366af4f
|
||||
DIST hashed-storage-0.5.9.tar.gz 56719 SHA256 62c2394d0a127222920211152022e8bc40775ebbdd22fd383715cb32f90796f9 SHA512 4d2463b04fa2d00690267ea88336e02465a5f2166ac2060db04c9ce53e83099cdb46b8f788be4b81c66d018563a2648de2ce810abb6fed8f39c7de104ada6655 WHIRLPOOL 8a3522efdce063cd2348732b2d13b1072ec415dbfdadcdc0f7c6dbb832a519647fdce0981d8ce73927fcd128e0dc8afaeeb25492d684971b7db49998048b75ea
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff --git a/Storage/Hashed/Monad.hs b/Storage/Hashed/Monad.hs
|
||||
index b86a702..5d96d4d 100644
|
||||
--- a/Storage/Hashed/Monad.hs
|
||||
+++ b/Storage/Hashed/Monad.hs
|
||||
@@ -1,4 +1,5 @@
|
||||
{-# LANGUAGE ScopedTypeVariables, BangPatterns, TypeSynonymInstances, UndecidableInstances #-}
|
||||
+{-# LANGUAGE FlexibleInstances #-}
|
||||
|
||||
-- | An experimental monadic interface to Tree mutation. The main idea is to
|
||||
-- simulate IO-ish manipulation of real filesystem (that's the state part of
|
||||
diff --git a/Storage/Hashed/Tree.hs b/Storage/Hashed/Tree.hs
|
||||
index 0bef0e6..c4bb669 100644
|
||||
--- a/Storage/Hashed/Tree.hs
|
||||
+++ b/Storage/Hashed/Tree.hs
|
||||
@@ -1,4 +1,5 @@
|
||||
{-# LANGUAGE ScopedTypeVariables, MultiParamTypeClasses, FlexibleInstances #-}
|
||||
+{-# LANGUAGE BangPatterns #-}
|
||||
|
||||
-- | The abstract representation of a Tree and useful abstract utilities to
|
||||
-- handle those.
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashed-storage/hashed-storage-0.4.13.ebuild,v 1.10 2012/09/12 16:05:24 qnikst Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Hashed file storage support code."
|
||||
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hashed-storage"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10
|
||||
dev-haskell/binary
|
||||
dev-haskell/dataenc
|
||||
=dev-haskell/mmap-0.4*
|
||||
dev-haskell/mtl
|
||||
dev-haskell/zlib"
|
||||
DEPEND=">=dev-haskell/cabal-1.6
|
||||
test? (
|
||||
dev-haskell/test-framework
|
||||
dev-haskell/test-framework-hunit
|
||||
dev-haskell/test-framework-quickcheck2
|
||||
dev-haskell/zip-archive
|
||||
)
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure $(cabal_flag test)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
rm "${D}/usr/bin/hashed-storage-test" 2> /dev/null
|
||||
rmdir "${D}/usr/bin" 2> /dev/null # only if empty
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hashed-storage/hashed-storage-0.5.7.ebuild,v 1.3 2012/09/12 16:05:24 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.13
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hscolour"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="Hashed file storage support code."
|
||||
HOMEPAGE="http://hackage.haskell.org/package/hashed-storage"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-haskell/binary
|
||||
dev-haskell/dataenc
|
||||
=dev-haskell/mmap-0.5*
|
||||
dev-haskell/mtl
|
||||
dev-haskell/zlib
|
||||
>=dev-lang/ghc-6.12"
|
||||
DEPEND=">=dev-haskell/cabal-1.6
|
||||
test? (
|
||||
dev-haskell/test-framework
|
||||
dev-haskell/test-framework-hunit
|
||||
dev-haskell/test-framework-quickcheck2
|
||||
dev-haskell/zip-archive
|
||||
)
|
||||
${RDEPEND}"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-0.5.7-ghc-7.2.patch")
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure $(cabal_flag test)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
|
||||
use test && rm "${ED}/usr/bin/hashed-storage-test"
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src-exts/haskell-src-exts-0.2.ebuild,v 1.12 2010/07/12 18:53:17 slyfox Exp $
|
||||
|
||||
CABAL_FEATURES="lib happy"
|
||||
inherit base haskell-cabal eutils versionator
|
||||
|
||||
DESCRIPTION="An extension to haskell-src that handles most common syntactic extensions to Haskell"
|
||||
HOMEPAGE="http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/"
|
||||
SRC_URI="http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/haskell-src-exts-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.2
|
||||
dev-haskell/happy"
|
||||
|
||||
S=${WORKDIR}/haskell-src-exts/src/haskell-src-exts
|
||||
|
||||
CABAL_CONFIGURE_FLAGS="--constraint=base<4"
|
||||
|
||||
src_unpack() {
|
||||
base_src_unpack
|
||||
|
||||
# Make it work with ghc 6.6
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-hiding-isSymbol.patch"
|
||||
|
||||
# Make it work with ghc pre-6.4
|
||||
sed -i 's/{-# OPTIONS_GHC /{-# OPTIONS /' \
|
||||
"${S}/Language/Haskell/Hsx/Syntax.hs" \
|
||||
"${S}/Language/Haskell/Hsx/Pretty.hs"
|
||||
sed -i 's/#ifdef __GLASGOW_HASKELL__/#if __GLASGOW_HASKELL__>=604/' \
|
||||
"${S}/Language/Haskell/Hsx/Syntax.hs"
|
||||
|
||||
if version_is_at_least "6.8" "$(ghc-version)"; then
|
||||
sed -i -e '/Build-Depends:/a \
|
||||
, array, pretty' \
|
||||
"${S}/${PN}.cabal"
|
||||
fi
|
||||
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src-exts/haskell-src-exts-1.11.1.ebuild,v 1.2 2012/09/12 15:07:36 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.14
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"
|
||||
HOMEPAGE="http://code.haskell.org/haskell-src-exts"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/cpphs-1.3
|
||||
>=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2
|
||||
dev-haskell/happy"
|
||||
|
||||
src_prepare() {
|
||||
# test suite is broken, expects the package to be already installed.
|
||||
# this new Setup.hs will use the package inplice for tests
|
||||
cp "${FILESDIR}/haskell-src-exts-1.10.2-Setup.hs" "${S}/Setup.hs" \
|
||||
|| die "Could not cp Setup.hs for tests"
|
||||
|
||||
# remove broken tests. they will fail if you expect them to pass, and pass
|
||||
# if you expect them to fail...
|
||||
rm "${S}/Test/examples/Unicode"{.hs,Syntax.hs} \
|
||||
|| die "Could not rm broken tests"
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src-exts/haskell-src-exts-1.13.0.ebuild,v 1.2 2012/09/12 15:07:36 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.14
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"
|
||||
HOMEPAGE="http://code.haskell.org/haskell-src-exts"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/cpphs-1.3
|
||||
>=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6
|
||||
dev-haskell/happy"
|
||||
|
||||
src_prepare() {
|
||||
# test suite is broken, expects the package to be already installed.
|
||||
# this new Setup.hs will use the package inplice for tests
|
||||
cp "${FILESDIR}/haskell-src-exts-1.10.2-Setup.hs" "${S}/Setup.hs" \
|
||||
|| die "Could not cp Setup.hs for tests"
|
||||
|
||||
# remove broken tests. they will fail if you expect them to pass, and pass
|
||||
# if you expect them to fail...
|
||||
rm "${S}/Test/examples/Unicode"{.hs,Syntax.hs} \
|
||||
|| die "Could not rm broken tests"
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src-exts/haskell-src-exts-1.13.2.ebuild,v 1.2 2012/09/12 15:07:36 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.14
|
||||
|
||||
EAPI="3"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"
|
||||
HOMEPAGE="http://code.haskell.org/haskell-src-exts"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/cpphs-1.3
|
||||
>=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6
|
||||
dev-haskell/happy"
|
||||
|
||||
src_prepare() {
|
||||
# test suite is broken, expects the package to be already installed.
|
||||
# this new Setup.hs will use the package inplice for tests
|
||||
cp "${FILESDIR}/haskell-src-exts-1.10.2-Setup.hs" "${S}/Setup.hs" \
|
||||
|| die "Could not cp Setup.hs for tests"
|
||||
|
||||
# remove broken tests. they will fail if you expect them to pass, and pass
|
||||
# if you expect them to fail...
|
||||
rm "${S}/Test/examples/Unicode"{.hs,Syntax.hs} \
|
||||
|| die "Could not rm broken tests"
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src-exts/haskell-src-exts-1.13.3.ebuild,v 1.2 2012/09/12 15:07:36 qnikst Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"
|
||||
HOMEPAGE="http://code.haskell.org/haskell-src-exts"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/cpphs-1.3
|
||||
>=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6
|
||||
dev-haskell/happy"
|
||||
|
||||
src_prepare() {
|
||||
# test suite is broken, expects the package to be already installed.
|
||||
# this new Setup.hs will use the package inplice for tests
|
||||
cp "${FILESDIR}/haskell-src-exts-1.10.2-Setup.hs" "${S}/Setup.hs" \
|
||||
|| die "Could not cp Setup.hs for tests"
|
||||
|
||||
# remove broken tests. they will fail if you expect them to pass, and pass
|
||||
# if you expect them to fail...
|
||||
rm "${S}/Test/examples/Unicode"{.hs,Syntax.hs} \
|
||||
|| die "Could not rm broken tests"
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haskell-src-exts/haskell-src-exts-1.9.0.ebuild,v 1.2 2012/09/12 15:07:36 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"
|
||||
HOMEPAGE="http://code.haskell.org/haskell-src-exts"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/cpphs-1.3"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2
|
||||
>=dev-haskell/happy-1.17"
|
@ -1,2 +1 @@
|
||||
DIST iconv-0.4.1.0.tar.gz 12447 SHA256 e33445cb92b685e30deecff2757c682278c2c1657f8fd3071603585693a7944c SHA512 ffa12201c7f7099d5f77dfbb2658dc5b10a4eb518288cf4090a11da1c88bcccb50a0b97f6edbf4cc54d8674b9733d0b4fcfb6b56e086efe55091be45cd7dbd72 WHIRLPOOL 663de1751cea3633482efceeee3b1dd4655c0a87ecad3611f8f84290a7ad856ab2f02388a699dadcd792bd137d999dec86397b25e689613157c1fa100decd5e1
|
||||
DIST iconv-0.4.1.1.tar.gz 12459 SHA256 1a884d02b1615e87873a780137af5f08f7ab9a96379e11e279f8180cb140984f SHA512 a9a8391ac49c9bdee6a229e89db8d70c7a3918921d0492b83985173b5490fb4ffb0cc55a2431bf3d8511cf4abfa99630e6bbb23237e70ecae69886d0b23e064c WHIRLPOOL 8bb2b108f74b4cfd42d6a62afb036c40f5cfd27c51651b01e19039b276eb49b37a609826d0c574b3016f804926a11cb0e324f5f08b9551128cdd4ce96ebbe4db
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/iconv/iconv-0.4.1.0.ebuild,v 1.2 2012/09/12 15:20:56 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.12
|
||||
|
||||
EAPI="2"
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="String encoding conversion"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/iconv"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -1,2 +1 @@
|
||||
DIST MissingH-1.1.1.0.tar.gz 115901 SHA256 3e87293e00c57f28e1df8425d7b6ddb92abd2063f2d962104fd64a704d6e4ec4 SHA512 bea731604b926108724d0527c5a9c044c00cac0d87bbe17ed55f6d8fad7dc0d0d432580904d8b92affbaac761038d01bfd25ace1871811f504eda44efa79c2e5 WHIRLPOOL a053d64c55acea704358610f46b6c3f3ae2641b22c6c0e05045ece67bc5acab3735256e1b302a3a46132aa2e1eb810f03f4636b7a7146473a81fdeb0afec02c5
|
||||
DIST MissingH-1.2.0.0.tar.gz 115761 SHA256 a15a7c33ecea71c729de8ac11c430a77c115df2c39776d57ee11d47d850c0f2f SHA512 03b7c1747c69e67f1e9665ecb38cac397f00ac640120602862e2227b8d6c7fa002fcfc9f5a70b355e959a3783925bcad8f1039d061aedb6216d174fa351997bd WHIRLPOOL 27e696cea7e2c53ec2027e2edc784d5d52f25f43201c53172c339865e128530808c68e57a177dbbfab7a79d77f98c3119de11d1bd96efcbd0a68a1246d602873
|
||||
|
@ -1,226 +0,0 @@
|
||||
--- MissingH-1.1.1.0-orig/src/Network/Email/Sendmail.hs 2011-09-07 23:57:11.000000000 +1000
|
||||
+++ MissingH-1.1.1.0/src/Network/Email/Sendmail.hs 2012-09-13 00:55:20.232608257 +1000
|
||||
@@ -34,6 +34,7 @@
|
||||
import System.Directory
|
||||
import System.IO
|
||||
import System.IO.Error
|
||||
+import qualified Control.Exception(try, IOException)
|
||||
|
||||
sendmails :: [String]
|
||||
sendmails = ["/usr/sbin/sendmail",
|
||||
@@ -90,10 +91,10 @@
|
||||
in
|
||||
do
|
||||
--pOpen WriteToPipe "/usr/sbin/sendmail" args func
|
||||
- rv <- try (pOpen WriteToPipe "sendmail" args func)
|
||||
+ rv <- Control.Exception.try (pOpen WriteToPipe "sendmail" args func)
|
||||
case rv of
|
||||
Right x -> return x
|
||||
- Left _ -> do
|
||||
+ Left (_ :: Control.Exception.IOException) -> do
|
||||
sn <- findsendmail
|
||||
r <- pOpen WriteToPipe sn args func
|
||||
return $! r
|
||||
--- MissingH-1.1.1.0-orig/src/System/Cmd/Utils.hs 2011-09-07 23:57:11.000000000 +1000
|
||||
+++ MissingH-1.1.1.0/src/System/Cmd/Utils.hs 2012-09-13 00:52:19.943988811 +1000
|
||||
@@ -108,6 +108,7 @@
|
||||
import System.IO.Error
|
||||
import Control.Concurrent(forkIO)
|
||||
import Control.Exception(finally)
|
||||
+import qualified Control.Exception(try, IOException)
|
||||
|
||||
data PipeMode = ReadFromPipe | WriteToPipe
|
||||
|
||||
@@ -169,11 +170,11 @@
|
||||
let childstuff = do dupTo (snd pipepair) stdOutput
|
||||
closeFd (fst pipepair)
|
||||
executeFile fp True args Nothing
|
||||
- p <- try (forkProcess childstuff)
|
||||
+ p <- Control.Exception.try (forkProcess childstuff)
|
||||
-- parent
|
||||
pid <- case p of
|
||||
Right x -> return x
|
||||
- Left e -> warnFail "pipeFrom" fp args $
|
||||
+ Left (e :: Control.Exception.IOException) -> warnFail "pipeFrom" fp args $
|
||||
"Error in fork: " ++ show e
|
||||
closeFd (snd pipepair)
|
||||
h <- fdToHandle (fst pipepair)
|
||||
@@ -218,11 +219,11 @@
|
||||
let childstuff = do dupTo (fst pipepair) stdInput
|
||||
closeFd (snd pipepair)
|
||||
executeFile fp True args Nothing
|
||||
- p <- try (forkProcess childstuff)
|
||||
+ p <- Control.Exception.try (forkProcess childstuff)
|
||||
-- parent
|
||||
pid <- case p of
|
||||
Right x -> return x
|
||||
- Left e -> warnFail "pipeTo" fp args $
|
||||
+ Left (e :: Control.Exception.IOException) -> warnFail "pipeTo" fp args $
|
||||
"Error in fork: " ++ show e
|
||||
closeFd (fst pipepair)
|
||||
h <- fdToHandle (snd pipepair)
|
||||
@@ -274,11 +275,11 @@
|
||||
dupTo (fst topair) stdInput
|
||||
closeFd (snd topair)
|
||||
executeFile fp True args Nothing
|
||||
- p <- try (forkProcess childstuff)
|
||||
+ p <- Control.Exception.try (forkProcess childstuff)
|
||||
-- parent
|
||||
pid <- case p of
|
||||
Right x -> return x
|
||||
- Left e -> warnFail "pipeBoth" fp args $
|
||||
+ Left (e :: Control.Exception.IOException) -> warnFail "pipeBoth" fp args $
|
||||
"Error in fork: " ++ show e
|
||||
closeFd (snd frompair)
|
||||
closeFd (fst topair)
|
||||
@@ -546,10 +547,10 @@
|
||||
-}
|
||||
in
|
||||
do
|
||||
- p <- try (forkProcess childstuff)
|
||||
+ p <- Control.Exception.try (forkProcess childstuff)
|
||||
pid <- case p of
|
||||
Right x -> return x
|
||||
- Left e -> fail ("Error in fork: " ++ (show e))
|
||||
+ Left (e :: Control.Exception.IOException) -> fail ("Error in fork: " ++ (show e))
|
||||
return pid
|
||||
|
||||
#endif
|
||||
--- MissingH-1.1.1.0-orig/src/Data/MIME/Types.hs 2011-09-07 23:57:11.000000000 +1000
|
||||
+++ MissingH-1.1.1.0/src/Data/MIME/Types.hs 2012-09-13 00:48:23.464938387 +1000
|
||||
@@ -35,6 +35,7 @@
|
||||
where
|
||||
|
||||
import qualified Data.Map as Map
|
||||
+import qualified Control.Exception (try, IOException)
|
||||
import Control.Monad
|
||||
import System.IO
|
||||
import System.IO.Error
|
||||
@@ -189,9 +190,9 @@
|
||||
let tryread :: MIMETypeData -> String -> IO MIMETypeData
|
||||
tryread inputobj filename =
|
||||
do
|
||||
- fn <- try (openFile filename ReadMode)
|
||||
+ fn <- Control.Exception.try (openFile filename ReadMode)
|
||||
case fn of
|
||||
- Left _ -> return inputobj
|
||||
+ Left (_ :: Control.Exception.IOException) -> return inputobj
|
||||
Right h -> do
|
||||
x <- hReadMIMETypes inputobj True h
|
||||
hClose h
|
||||
--- MissingH-1.1.1.0-orig/src/System/IO/HVFS.hs 2011-09-07 23:57:11.000000000 +1000
|
||||
+++ MissingH-1.1.1.0/src/System/IO/HVFS.hs 2012-09-13 00:45:05.981893726 +1000
|
||||
@@ -1,4 +1,4 @@
|
||||
-{-# LANGUAGE CPP, TypeSynonymInstances #-}
|
||||
+{-# LANGUAGE CPP, ScopedTypeVariables, TypeSynonymInstances #-}
|
||||
{- arch-tag: HVFS main file
|
||||
Copyright (c) 2004-2011 John Goerzen <jgoerzen@complete.org>
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
)
|
||||
where
|
||||
|
||||
+import qualified Control.Exception (catch, IOException)
|
||||
import System.IO.HVIO
|
||||
import System.Time.Utils
|
||||
import System.IO
|
||||
@@ -61,6 +62,10 @@
|
||||
import System.Time
|
||||
import System.Directory
|
||||
|
||||
+#if MIN_VERSION_directory(1,2,0)
|
||||
+import Data.Time.Clock.POSIX ( utcTimeToPOSIXSeconds )
|
||||
+#endif
|
||||
+
|
||||
{- | Encapsulate a 'HVFSStat' result. This is required due to Haskell
|
||||
typing restrictions. You can get at it with:
|
||||
|
||||
@@ -209,17 +214,17 @@
|
||||
vSetCurrentDirectory fs _ = eh fs "vSetCurrentDirectory"
|
||||
vGetDirectoryContents fs _ = eh fs "vGetDirectoryContents"
|
||||
vDoesFileExist fs fp =
|
||||
- catch (do s <- vGetFileStatus fs fp
|
||||
- return $ withStat s vIsRegularFile
|
||||
- ) (\_ -> return False)
|
||||
+ Control.Exception.catch (do s <- vGetFileStatus fs fp
|
||||
+ return $ withStat s vIsRegularFile
|
||||
+ ) (\(_ :: Control.Exception.IOException) -> return False)
|
||||
vDoesDirectoryExist fs fp =
|
||||
- catch (do s <- vGetFileStatus fs fp
|
||||
- return $ withStat s vIsDirectory
|
||||
- ) (\_ -> return False)
|
||||
+ Control.Exception.catch (do s <- vGetFileStatus fs fp
|
||||
+ return $ withStat s vIsDirectory
|
||||
+ ) (\(_ :: Control.Exception.IOException) -> return False)
|
||||
vDoesExist fs fp =
|
||||
- catch (do s <- vGetSymbolicLinkStatus fs fp
|
||||
- return True
|
||||
- ) (\_ -> return False)
|
||||
+ Control.Exception.catch (do s <- vGetSymbolicLinkStatus fs fp
|
||||
+ return True
|
||||
+ ) (\(_ :: Control.Exception.IOException) -> return False)
|
||||
vCreateDirectory fs _ = eh fs "vCreateDirectory"
|
||||
vRemoveDirectory fs _ = eh fs "vRemoveDirectory"
|
||||
vRemoveFile fs _ = eh fs "vRemoveFile"
|
||||
@@ -304,7 +309,11 @@
|
||||
vGetSymbolicLinkStatus = vGetFileStatus
|
||||
#endif
|
||||
|
||||
+#if MIN_VERSION_directory(1,2,0)
|
||||
+ vGetModificationTime _ p = getModificationTime p >>= (\modUTCTime -> return $ TOD ((toEnum . fromEnum . utcTimeToPOSIXSeconds) modUTCTime) 0)
|
||||
+#else
|
||||
vGetModificationTime _ = getModificationTime
|
||||
+#endif
|
||||
#if !(defined(mingw32_HOST_OS) || defined(mingw32_TARGET_OS) || defined(__MINGW32__))
|
||||
vCreateSymbolicLink _ = createSymbolicLink
|
||||
vReadSymbolicLink _ = readSymbolicLink
|
||||
--- MissingH-1.1.1.0-orig/MissingH.cabal 2011-09-07 23:57:11.000000000 +1000
|
||||
+++ MissingH-1.1.1.0/MissingH.cabal 2012-09-13 00:35:01.354498119 +1000
|
||||
@@ -94,7 +94,7 @@
|
||||
hslogger
|
||||
If flag(splitBase)
|
||||
Build-Depends: base >= 4, base < 5, directory, random, process, old-time,
|
||||
- containers, old-locale, array
|
||||
+ containers, old-locale, array, time
|
||||
Else
|
||||
Build-Depends: base < 3
|
||||
If ! os(windows)
|
||||
--- MissingH-1.1.1.0-orig/src/System/IO/HVIO.hs 2011-09-07 23:57:11.000000000 +1000
|
||||
+++ MissingH-1.1.1.0/src/System/IO/HVIO.hs 2012-09-13 00:24:01.570794002 +1000
|
||||
@@ -121,6 +121,7 @@
|
||||
|
||||
import System.IO
|
||||
import System.IO.Error
|
||||
+import qualified Control.Exception (catch, IOException)
|
||||
import Control.Concurrent.MVar
|
||||
import Data.IORef
|
||||
import Foreign.Ptr
|
||||
@@ -287,7 +288,7 @@
|
||||
x -> accum `seq` loop (accum ++ [x])
|
||||
handler e = if isEOFError e then return accum
|
||||
else ioError e
|
||||
- in catch func handler
|
||||
+ in Control.Exception.catch func handler
|
||||
in
|
||||
do firstchar <- vGetChar h
|
||||
case firstchar of
|
||||
@@ -301,7 +302,7 @@
|
||||
c `seq` return (c : next)
|
||||
handler e = if isEOFError e then return []
|
||||
else ioError e
|
||||
- in catch func handler
|
||||
+ in Control.Exception.catch func handler
|
||||
in
|
||||
do loop
|
||||
|
||||
--- MissingH-1.1.1.0-orig/src/Data/Bits/Utils.hs 2011-09-07 23:57:11.000000000 +1000
|
||||
+++ MissingH-1.1.1.0/src/Data/Bits/Utils.hs 2012-09-13 00:22:07.831925713 +1000
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
-}
|
||||
|
||||
-fromBytes :: (Bits a) => [a] -> a
|
||||
+fromBytes :: (Bits a, Num a) => [a] -> a
|
||||
fromBytes input =
|
||||
let dofb accum [] = accum
|
||||
dofb accum (x:xs) = dofb ((shiftL accum 8) .|. x) xs
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/missingh/missingh-1.1.1.0.ebuild,v 1.5 2012/09/13 01:08:58 gienah Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hscolour hoogle"
|
||||
inherit base eutils haskell-cabal
|
||||
|
||||
MY_PN="MissingH"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Large utility library"
|
||||
HOMEPAGE="http://software.complete.org/missingh"
|
||||
SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~sparc x86"
|
||||
IUSE="test"
|
||||
|
||||
# testpack dependency is a workaround for cabal-1.8 bug, which pulls
|
||||
# depends even for 'Buildable: false' target
|
||||
RDEPEND=">=dev-lang/ghc-6.10
|
||||
dev-haskell/hslogger[profile?]
|
||||
dev-haskell/hunit[profile?]
|
||||
dev-haskell/mtl[profile?]
|
||||
dev-haskell/network[profile?]
|
||||
dev-haskell/parsec[profile?]
|
||||
dev-haskell/regex-compat"[profile?]
|
||||
|
||||
DEPEND=">=dev-haskell/cabal-1.2.3
|
||||
virtual/libiconv
|
||||
${RDEPEND}
|
||||
test? ( dev-haskell/testpack[profile?]
|
||||
dev-haskell/quickcheck:1[profile?]
|
||||
dev-haskell/hunit[profile?] )"
|
||||
|
||||
# libiconv is needed for the trick below to make it compile with ghc-6.12
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-1.1.1.0-ghc-7.6.patch")
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
# (non-ASCII non-UTF-8 source breaks hscolour)
|
||||
cd src/System/Time
|
||||
mv ParseDate.hs ParseDate.hs.ISO-8859-1
|
||||
iconv -f ISO-8859-1 -t UTF-8 -c ParseDate.hs.ISO-8859-1 > ParseDate.hs || die "unable to recode ParseDate.hs to UTF-8"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure $(cabal_flag test buildtests)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# default tests
|
||||
haskell-cabal_src_test || die "cabal test failed"
|
||||
|
||||
# built custom tests
|
||||
"${S}/dist/build/runtests/runtests" || die "unit tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
# if tests were enabled, make sure the unit test driver is deleted
|
||||
rm -f "${D}/usr/bin/runtests"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST mmap-0.4.1.tar.gz 5956 SHA256 792b8ecfb0cce1f8588f0d2a63c6893ff98a2479c06745583da8166d5a46ead9 SHA512 5db9edb4f2cf56c2d62618bfcd16e62a932731858a9a4332680c0d3c2acf63a616029525b3543db170caf30930a0a8accea061e5f91ce7c7249fa26f22c26b24 WHIRLPOOL a8bf1fbf540382758daf7d64d3d09eb63ebcc7afc4b11ea0d6cc2802db521950f7bf71339c266bf07b2716ad3b50a6de01afb21cedcea083e6ff22f91b6fbd70
|
||||
DIST mmap-0.5.7.tar.gz 9197 SHA256 d73c683a0e835b29ecc5a55c9d342b454f0b46eeb71955fe1c408d5d67ea0838 SHA512 854012a8ffa60ee95ca6915b0730dd274233cc482d5a051b6cd7f75afb9c5c105488d779d15f16f467f585254ace5da5c3f4d599c9b13cf5fa0257b5653daf00 WHIRLPOOL faacfcdc3b4e671ac51fe48256835e8c85bd9e3cc9a70c1817e0d1e4833cf171c7efbaac5834ecb438fca0441becd5ce8d20bf841e2b617a48cde80488af9633
|
||||
DIST mmap-0.5.8.tar.gz 11657 SHA256 fed460c4ded1953f027fccf705c7c09bc0a8e94bb14b024391387beb4b5afa9f SHA512 6c8b526ec9fedba195ce021f86eeb3fa35f7c95b9299d17503ad7d7e91b9485b3d9980e0ccbdc3876ec465ec8aa07cf9d0521c62e2c8a652a36df11b9badffb5 WHIRLPOOL 02f242eed1e92df8abdcd5488df2b624cdc2794306f741a4f9bbb80b5d5fadc940c7470e042aef43c19fe6781cc5304ccc068e187dee2ac2448f4512a3144be4
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/mmap/mmap-0.4.1.ebuild,v 1.14 2012/12/27 21:00:14 slyfox Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Memory mapped files for POSIX and Windows"
|
||||
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mmap"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/cabal-1.2"
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/mmap/mmap-0.5.7.ebuild,v 1.9 2012/09/12 14:58:13 qnikst Exp $
|
||||
|
||||
# ebuild generated by hackport 0.2.9
|
||||
EAPI=4
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Memory mapped files for POSIX and Windows"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/mmap"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
|
||||
#IUSE="test"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test" # the test suit isn't included in this release! :(
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.8.2"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
||||
# test? ( dev-haskell/hunit[profile?] )" # pcheck dislikes useless depends
|
||||
|
||||
src_configure() {
|
||||
cabal_src_configure # $(cabal_flag test mmaptest)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# breaking the abstraction a bit, we're not supposed to know about ./setup
|
||||
# and how it works...
|
||||
./dist/build/mmaptest/mmaptest || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
|
||||
rm "${D}/usr/bin/mmaptest"
|
||||
rmdir "${D}/usr/bin" 2> /dev/null # only if empty
|
||||
}
|
@ -1,5 +1 @@
|
||||
DIST regex-base-0.71.tar.gz 6759 SHA256 af230c3088c6a963c4dc29a203c8804b707aa02c135113cce13d1fefdde02ff9 SHA512 027aea713d93aa783b9142760e15e77d3e9fd0ac9b9a8ca391435939b6995a8954085891c4b015e244f19a4885577a988b7cd0cd8d78fe55d183a78cd572928d WHIRLPOOL 65c17a77f198803907efe136352f83d3a716c8147ede0d0569f4fcce91813efd0637ff11cfa49b2add52ea0a2e59fcd48b32b9257cd10b71ca0e3d75be1650e2
|
||||
DIST regex-base-0.72.0.1.tar.gz 6916 SHA256 22a521476775ede118f121e8ad0074022431ece6fb0bbeb43c073e7cad36ee59 SHA512 5bb75d9e6c7f7c5507bcf903b242998482af7f30224190744ae40cb13eef71e6148aa4c3ecc67ec9452d4065597670f7fd670dc93f492f506c445f73db6d11f7 WHIRLPOOL 4af60db8864bc1c8b1445c50e4b3695e05cc06a3accc8adf428069f46ddde278fd864b327b1dbfbae8179fd57ec92e103734eb96e089cfde28c2c8cb8e07096c
|
||||
DIST regex-base-0.72.0.2.tar.gz 11139 SHA256 38a4901b942fea646a422d52c52ef14eec4d6561c258b3c54cd96a8a354141ee SHA512 5e0c2678bb7a0095f13ebc89f0452a45864919f9dae29849c5551de5f7a33ed979a47ca2c5eeedfdd9caeab53a999cfed76aeaccac0fdd0d6ec633e80149a2e4 WHIRLPOOL 04d1f34240c9ff822b83e1238c30941d273999fcbc1a339e88d20de46fd1b7ca2fa1393d07eb24d9abbddd18d0fe9be862cbd4333c80107961890b991c057631
|
||||
DIST regex-base-0.93.1.tar.gz 9212 SHA256 24a0e76ab308517a53d2525e18744d9058835626ed4005599ecd8dd4e07f3bef SHA512 fdc4ec06ed95079e2cd0fa2bce04311c2a40129ce6a7f09fde4504c606ee34ca159dfe51bdd540256090f2e40d069fe300463ea3a3a64f5ae7f5bce066d78200 WHIRLPOOL f9a7e49a8029036c69fa02f3cdcf2086acebbbdd5d657222ec8c087a661c583421ff5eb83915cc7c04f994b88f19057ea049d20e68b381c45ad6e5f6c66ea402
|
||||
DIST regex-base-0.93.2.tar.gz 9156 SHA256 20dc5713a16f3d5e2e6d056b4beb9cfdc4368cd09fd56f47414c847705243278 SHA512 4f6269cb1c1fefa2164d999e2e787118edc5fd88e356535e50f143d0b98de4fa1854959955e183aed27a77335b81063a2385bb6bdeb8cb80e7fdd812ab96d22a WHIRLPOOL 2ad6d339e830f092916a3dfd87a2f6415a3999b33377250a91f6ac655174f8f13aa9cc4187a6840126443353fd625094060ed661faad54229a89160ea3c54579
|
||||
|
@ -1,422 +0,0 @@
|
||||
diff -urwpN regex-base-0.71/doc/lazy.html ghc-6.6.1/libraries/regex-base/doc/lazy.html
|
||||
--- regex-base-0.71/doc/lazy.html 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/doc/lazy.html 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,139 @@
|
||||
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
+<HTML>
|
||||
+ <head>
|
||||
+ <title>Text.Regex.Lazy</title>
|
||||
+ </head>
|
||||
+<body>
|
||||
+<h1><tt>Text.Regex.Lazy</tt></h1>
|
||||
+<h2>Version 0.70 (2006-08-10)</h2>
|
||||
+
|
||||
+<h3>By Chris Kuklewicz (TextRegexLazy (at) personal (dot) mightyreason (dot) com)</h3>
|
||||
+
|
||||
+Changes from 0.66 to 0.70
|
||||
+<ul>
|
||||
+ <li> regex-tre added for libtre backend (Text.Regex.TRE), see http://laurikari.net/tre/
|
||||
+ <li> regex-devel added for tests and benchmarks
|
||||
+ <li> Text.Regex.*.Wrap APIs improved: the exported wrap* functions
|
||||
+ never call fail or error under normal circumstances, and use Either
|
||||
+ types to report errors. Allocation failures are reported with fail.
|
||||
+ <li> Text.Regex.*.(ByteString|String) all should export
|
||||
+ compile/execute/regexec functions which report errors using Either.
|
||||
+</ul>
|
||||
+
|
||||
+Changes from 0.55 to 0.66
|
||||
+<ul>
|
||||
+ <li> I broke this into many packages, regex-base for the interface and regex-pcre, regex-posix, regex-parsec, regex-dfa for the four backends and regex-compat to replace Text.Regex(.New)
|
||||
+ <li> The top level Makefile now can drive setup and installation of all the packages at once.
|
||||
+</ul>
|
||||
+
|
||||
+Changes from 0.44 to 0.55
|
||||
+<ul>
|
||||
+ <li> <b>JRegex has been assimilated: PCRE and PosixRE are here</b>.
|
||||
+ The JRegex-style API rocks, see below and Context.hs and Example.hs
|
||||
+ <li> Haddock seems to run via ./setup haddock, but the documentation is very thin
|
||||
+ <li> ./setup test runs TestTestRegexLazy binary if uncommented in cabal file
|
||||
+ <li> default is now to compile with -Wall -Werror -O2
|
||||
+ <li> You may need to point the cabal file's "Extra-Lib-Dirs" to point to pcre.
|
||||
+ <li> You may or may not need a "-lpcre" option to ghc when building
|
||||
+ projects that depend on Text.Regex.Lazy now.
|
||||
+</ul>
|
||||
+
|
||||
+Changes from 0.33 to 0.44
|
||||
+<ul>
|
||||
+ <li> Cabal
|
||||
+ <li> Compile with -Wall -Werror
|
||||
+ <li> Change DFAEngineFPS from Data.FastPackedString to Data.ByteString
|
||||
+</ul>
|
||||
+See the LICENSE file for details on copyright. See README for building instructions.
|
||||
+<br/>
|
||||
+The new API is very close to JRegex and supports 4 backends:
|
||||
+<ul>
|
||||
+ <li> Posix, the standard c regex library
|
||||
+ <li> PCRE, the <a href="http://www.pcre.org/">Perl Compatible Regular Expressions</a> c library
|
||||
+ <li> Full, the lazy Parsec based library (see old api below)
|
||||
+ <li> DFA, the fast lazy matching library (see old api below)
|
||||
+</ul>
|
||||
+And for all backends, there are two types that can be used as a source
|
||||
+of regular expressions or to match a regular expression against:
|
||||
+String, and ByteString. The ByteString library will be in the next
|
||||
+GHC and can be gotten
|
||||
+from <a
|
||||
+href="http://www.cse.unsw.edu.au/~dons/fps.html">http://www.cse.unsw.edu.au/~dons/fps.html</a>.
|
||||
+<p>
|
||||
+For simplest use of the new API: import Text.Regex.Lazy and one of
|
||||
+<pre>
|
||||
+import Text.Regex.PCRE((=~),(=~~))
|
||||
+import Text.Regex.Parsec((=~),(=~~))
|
||||
+import Text.Regex.DFA((=~),(=~~))
|
||||
+import Text.Regex.PosixRE((=~),(=~~))
|
||||
+import Text.Regex.TRE((=~),(=~~))
|
||||
+</pre>
|
||||
+The things you can demand of (=~) and (=~~) are all
|
||||
+instance defined in Text.Regex.Impl.Context and they are used
|
||||
+in <tt>Example.hs</tt> as well.
|
||||
+<p>
|
||||
+<p>
|
||||
+You can redefine (=~) and (=~~) to use different options by using makeRegexOpts:
|
||||
+<pre>
|
||||
+(=~) :: (RegexMaker Regex CompOption ExecOption source,RegexContext Regex source1 target) => source1 -> source -> target
|
||||
+(=~) x r = let q :: Regex
|
||||
+ q = makeRegexOpts (some compoption) (some execoption) r
|
||||
+ in match q x
|
||||
+
|
||||
+(=~~) ::(RegexMaker Regex CompOption ExecOption source,RegexContext Regex source1 target,Monad m) => source1 -> source -> m target
|
||||
+(=~~) x r = let q :: Regex
|
||||
+ q = makeRegexOpts (some compoption) (some execoption) r
|
||||
+ in matchM q x
|
||||
+</pre>
|
||||
+There is a medium level API with functions compile/execute/regexec in
|
||||
+all the Text.Regex.*.(String|ByteString) modules. These allow for
|
||||
+errors to be reported as Either types when compiling or running.
|
||||
+<p>
|
||||
+The low level APIs are in the Text.Regex.*.Wrap modules. For the
|
||||
+c-library backends these expose most of the c-api in wrap* functions
|
||||
+that make the type more Haskell-like: CString and CStingLen and
|
||||
+newtypes to specify compile and execute options. The actual foreign
|
||||
+calls are not exported; it does not export the raw c api.
|
||||
+<p>
|
||||
+Also, Text.Regex.PCRE.Wrap will let you query if it was compiled with
|
||||
+UTF8 suppor: <tt>configUTF8 :: Bool</tt>. But I do not provide a way
|
||||
+to marshall to or from UTF8. (If you have a UTF8 ByteString then you
|
||||
+would probably be able to make it work, assuming the indices PCRE uses
|
||||
+are in bytes, otherwise look at the wrap* functions which are a thin
|
||||
+layer over the pcreapi).
|
||||
+<p>
|
||||
+
|
||||
+<p>
|
||||
+The old Text.Regex API is can be replaced. If you need to be drop in
|
||||
+compatible with <tt>Text.Regex</tt> then you can
|
||||
+import <tt>Text.Regex.New</tt> and report any infidelities as bugs.
|
||||
+
|
||||
+Some advantages of <tt>Text.Regex.Parsec</tt> over <tt>Text.Regex</tt>:
|
||||
+<ul>
|
||||
+ <li> It does not marshal to and from c-code arrays, so it is much
|
||||
+ faster on large input strings.
|
||||
+ <li> It consumes the input <tt>String</tt> in a mostly lazy manner.
|
||||
+ This makes streaming from input to output possible.
|
||||
+ <li> It performs sanity checks so that <tt>subRegex</tt>
|
||||
+ and <tt>splitRegex</tt> don't loop or go crazy if the pattern
|
||||
+ matches an empty string -- it will just return the input.
|
||||
+ <li> If the <tt>String</tt> regex does not parse then you get a nicer error
|
||||
+ message.
|
||||
+</ul>
|
||||
+<p>
|
||||
+Internally it uses <tt>Parsec</tt> to turn the string regex into
|
||||
+a <tt>Pattern</tt> data type, simplify the <tt>Pattern</tt>, then
|
||||
+transform the <tt>Pattern</tt> into a <tt>Parsec</tt> parser that
|
||||
+accepts matching strings and stores the sub-strings of parenthesized
|
||||
+groups.
|
||||
+<p>
|
||||
+All of this was motivated by the inability to use <tt>Text.Regex</tt>
|
||||
+to complete
|
||||
+the <a
|
||||
+href="http://shootout.alioth.debian.org/gp4/benchmark.php?test=regexdna&lang=all">regex-dna
|
||||
+benchmark</a> on <a href="http://shootout.alioth.debian.org/">The
|
||||
+Computer Language Shootout</a>. The current entry there, by Don
|
||||
+Stewart and Alson Kemp and Chris Kuklewicz, does not use this Parsec
|
||||
+solution, but rather a custom DFA lexer from the CTK library.
|
||||
+</body>
|
||||
+</HTML>
|
||||
diff -urwpN regex-base-0.71/doc/README ghc-6.6.1/libraries/regex-base/doc/README
|
||||
--- regex-base-0.71/doc/README 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/doc/README 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,39 @@
|
||||
+README for TestRegexLazy-0.66
|
||||
+
|
||||
+By Chris Kuklewicz (TextRegexLazy (at) personal (dot) mightyreason (dot) com)
|
||||
+
|
||||
+For more detail on Text.Regex.Lazy look at the very very outdated
|
||||
+lazy.html file or the LICENSE file.
|
||||
+
|
||||
+To build and install:
|
||||
+ get Data.ByteString from http://www.cse.unsw.edu.au/~dons/fps.html
|
||||
+ (You probably want to configure ByteString's cabal with -p for profiling)
|
||||
+ edit list of BACKENDS in Makefile if you want to exclude regex-tre or regex-pcre
|
||||
+ edit regex-pcre/regex-pcre.cabal to point to your PCRE installation
|
||||
+ edit CONF and USER variables in Makefile to point to your setup
|
||||
+ (The CONF includes -p for profiling)
|
||||
+ run "make all" which will create and install all the packages in $(SUBDIRS)
|
||||
+
|
||||
+The packages:
|
||||
+ regex-base : This hold the type class definitions and (most) RegexContext,Extract instances
|
||||
+ regex-compat : Builds Text.Regex.New (soon to replace Text.Regex) on top of regex-parsec
|
||||
+ regex-pcre : Build the PCRE backend, http://www.pcre.org/
|
||||
+ regex-posix : Builds the Posix backend
|
||||
+ regex-parsec : Builds my lazy parsec based pure haskell backend
|
||||
+ regex-dfa : Build the simple backend based on CTKLight (this is LGPL)
|
||||
+
|
||||
+There is an additional "regex-devel" package where I am setting up
|
||||
+testing and bechmarking. Use "make regex-devel" at the top level to
|
||||
+compile (not install), or use its cabal Setup.hs.
|
||||
+regex-devel/bench/runbench.sh is my simple toy benchmark.
|
||||
+
|
||||
+To use =~ and =~~ new API:
|
||||
+
|
||||
+> import Text.Regex.(Parsec|DFA|PCRE|PosixRE|TRE)
|
||||
+and perhaps
|
||||
+> import Text.Regex.Base
|
||||
+
|
||||
+Look at Example*.hs and instances in Text.Regex.Base.Context.hs for what it can do.
|
||||
+
|
||||
+For old "Text.Regex" API drop in compatibility, import Text.Regex.New (uses PosixRE backend)
|
||||
+
|
||||
diff -urwpN regex-base-0.71/doc/Redesign.txt ghc-6.6.1/libraries/regex-base/doc/Redesign.txt
|
||||
--- regex-base-0.71/doc/Redesign.txt 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/doc/Redesign.txt 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,14 @@
|
||||
+The regular expression stuff needs some of a rethink.
|
||||
+
|
||||
+Things that could be made more efficient, as I think of them:
|
||||
+
|
||||
+(1) Making Arrays in Wrap* may be a bit inefficient
|
||||
+counter: Usage may be like "look up element 3" so random access is good
|
||||
+
|
||||
+(2) String DFA: the findRegex computes the prefix string itself, which is sometimes wasted / sometimes wanted / always discarded. Also, the input string at the start of the match is discarded
|
||||
+
|
||||
+(3) Lazy computes MatchedStrings array then discards it. Wasteful.
|
||||
+
|
||||
+(4) Mighty extend RegexLike with ability to return "strings", i.e. Extract instance. The default conversion could be left in for some things. Then RegexContext could pull from that instead of matchOnce/matchAll.
|
||||
+
|
||||
+(5) make RegexLike default matchAll/matchOnce in terms of matchOnceText and matchAllText
|
||||
diff -urwpN regex-base-0.71/examples/Example2.hs ghc-6.6.1/libraries/regex-base/examples/Example2.hs
|
||||
--- regex-base-0.71/examples/Example2.hs 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/examples/Example2.hs 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,44 @@
|
||||
+{-# OPTIONS_GHC -fglasgow-exts #-}
|
||||
+import Text.Regex.Base
|
||||
+import Text.Regex.Posix(Regex,(=~),(=~~)) -- or DFA or PCRE or PosixRE
|
||||
+import qualified Data.ByteString.Char8 as B(ByteString,pack)
|
||||
+
|
||||
+-- Show mixing of ByteString and String as well as polymorphism:
|
||||
+
|
||||
+main = let x :: (RegexContext Regex String target) => target
|
||||
+ x = ("abaca" =~ B.pack "(.)a")
|
||||
+ x' :: (RegexContext Regex String target,Monad m) => m target
|
||||
+ x' = ("abaca" =~~ "(.)a")
|
||||
+ y :: (RegexContext Regex B.ByteString target) => target
|
||||
+ y = (B.pack "abaca" =~ "(.)a")
|
||||
+ y' :: (RegexContext Regex B.ByteString target,Monad m) => m target
|
||||
+ y' = (B.pack "abaca" =~~ B.pack "(.)a")
|
||||
+ in do print (x :: Bool)
|
||||
+ print (x :: Int)
|
||||
+ print (x :: [MatchArray])
|
||||
+ print (x' :: Maybe (String,String,String,[String]))
|
||||
+ print (y :: Bool)
|
||||
+ print (y :: Int)
|
||||
+ print (y :: [MatchArray])
|
||||
+ print (y' :: Maybe (B.ByteString,B.ByteString,B.ByteString,[B.ByteString]))
|
||||
+
|
||||
+{- Output is, except for replacing Full with DFA (which has no capture)
|
||||
+True
|
||||
+2
|
||||
+[array (0,1) [(0,(1,2)),(1,(1,1))],array (0,1) [(0,(3,2)),(1,(3,1))]]
|
||||
+Just ("a","ba","ca",["b"])
|
||||
+True
|
||||
+2
|
||||
+[array (0,1) [(0,(1,2)),(1,(1,1))],array (0,1) [(0,(3,2)),(1,(3,1))]]
|
||||
+Just ("a","ba","ca",["b"])
|
||||
+-}
|
||||
+{- The output for DFA is
|
||||
+True
|
||||
+2
|
||||
+[array (0,0) [(0,(1,2))],array (0,0) [(0,(3,2))]]
|
||||
+Just ("a","ba","ca",[])
|
||||
+True
|
||||
+2
|
||||
+[array (0,0) [(0,(1,2))],array (0,0) [(0,(3,2))]]
|
||||
+Just ("a","ba","ca",[])
|
||||
+-}
|
||||
diff -urwpN regex-base-0.71/examples/Example3.lhs ghc-6.6.1/libraries/regex-base/examples/Example3.lhs
|
||||
--- regex-base-0.71/examples/Example3.lhs 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/examples/Example3.lhs 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,21 @@
|
||||
+> {-# OPTIONS_GHC -fglasgow-exts #-}
|
||||
+
|
||||
+> import Text.Regex.Base
|
||||
+
|
||||
+> import qualified Text.Regex.PCRE as R
|
||||
+> import qualified Text.Regex.PosixRE as S
|
||||
+> import qualified Text.Regex.Parsec as F
|
||||
+
|
||||
+Choose which library to use depending on presence of PCRE library.
|
||||
+
|
||||
+> (=~) :: (RegexMaker R.Regex R.CompOption R.ExecOption a,RegexContext R.Regex b t
|
||||
+> ,RegexMaker F.Regex F.CompOption F.ExecOption a,RegexContext F.Regex b t
|
||||
+> ,RegexMaker S.Regex S.CompOption S.ExecOption a,RegexContext S.Regex b t)
|
||||
+> => b -> a -> t
|
||||
+> (=~) = case R.getVersion of
|
||||
+> Just _ -> (R.=~)
|
||||
+> Nothing -> case S.getVersion of
|
||||
+> Just _ -> (S.=~)
|
||||
+> Nothing -> (F.=~)
|
||||
+
|
||||
+> main = print ("abc" =~ "(.)c" :: Bool)
|
||||
\ No newline at end of file
|
||||
diff -urwpN regex-base-0.71/examples/Example.hs ghc-6.6.1/libraries/regex-base/examples/Example.hs
|
||||
--- regex-base-0.71/examples/Example.hs 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/examples/Example.hs 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,14 @@
|
||||
+{-# OPTIONS_GHC -fglasgow-exts #-}
|
||||
+import Text.Regex.Base
|
||||
+import Text.Regex.Posix((=~),(=~~)) -- or DFA or PCRE or PosixRE
|
||||
+import qualified Data.ByteString.Char8 as B(ByteString,pack)
|
||||
+
|
||||
+main = let b :: Bool
|
||||
+ b = ("abaca" =~ "(.)a")
|
||||
+ c :: [MatchArray]
|
||||
+ c = ("abaca" =~ "(.)a")
|
||||
+ d :: Maybe (String,String,String,[String])
|
||||
+ d = ("abaca" =~~ "(.)a")
|
||||
+ in do print b
|
||||
+ print c
|
||||
+ print d
|
||||
diff -urwpN regex-base-0.71/Makefile ghc-6.6.1/libraries/regex-base/Makefile
|
||||
--- regex-base-0.71/Makefile 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/Makefile 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,20 @@
|
||||
+TOP=..
|
||||
+include $(TOP)/mk/boilerplate.mk
|
||||
+
|
||||
+SUBDIRS =
|
||||
+
|
||||
+ALL_DIRS = \
|
||||
+ Text/Regex \
|
||||
+ Text/Regex/Base
|
||||
+
|
||||
+PACKAGE = regex-base
|
||||
+VERSION = 0.72
|
||||
+PACKAGE_DEPS = base
|
||||
+
|
||||
+EXCLUDED_SRCS = Setup.hs
|
||||
+
|
||||
+SRC_HC_OPTS += -cpp
|
||||
+
|
||||
+SRC_HADDOCK_OPTS += -t "Haskell Hierarchical Libraries ($(PACKAGE) package)"
|
||||
+
|
||||
+include $(TOP)/mk/target.mk
|
||||
diff -urwpN regex-base-0.71/package.conf.in ghc-6.6.1/libraries/regex-base/package.conf.in
|
||||
--- regex-base-0.71/package.conf.in 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/package.conf.in 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1,27 @@
|
||||
+name: PACKAGE
|
||||
+version: VERSION
|
||||
+license: BSD3
|
||||
+maintainer: TextRegexLazy@personal.mightyreason.com
|
||||
+exposed: True
|
||||
+
|
||||
+exposed-modules: Text.Regex.Base
|
||||
+ Text.Regex.Base.RegexLike
|
||||
+ Text.Regex.Base.Context
|
||||
+ Text.Regex.Base.Impl
|
||||
+
|
||||
+hidden-modules:
|
||||
+
|
||||
+import-dirs: IMPORT_DIR
|
||||
+library-dirs: LIB_DIR
|
||||
+hs-libraries: "HSregex-base"
|
||||
+extra-libraries:
|
||||
+include-dirs:
|
||||
+includes:
|
||||
+depends: base
|
||||
+hugs-options:
|
||||
+cc-options:
|
||||
+ld-options:
|
||||
+framework-dirs:
|
||||
+frameworks:
|
||||
+haddock-interfaces: HADDOCK_IFACE
|
||||
+haddock-html: HTML_DIR
|
||||
diff -urwpN regex-base-0.71/prologue.txt ghc-6.6.1/libraries/regex-base/prologue.txt
|
||||
--- regex-base-0.71/prologue.txt 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ ghc-6.6.1/libraries/regex-base/prologue.txt 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -0,0 +1 @@
|
||||
+Interfaces for regular expressions
|
||||
diff -urwpN regex-base-0.71/regex-base.cabal ghc-6.6.1/libraries/regex-base/regex-base.cabal
|
||||
--- regex-base-0.71/regex-base.cabal 2006-12-05 18:29:02.000000000 +0000
|
||||
+++ ghc-6.6.1/libraries/regex-base/regex-base.cabal 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
-- To fix for cabal < 1.1.4 comment out the Extra-Source-Files line
|
||||
-- ****************************************************************
|
||||
Name: regex-base
|
||||
-Version: 0.71
|
||||
+Version: 0.72
|
||||
-- Cabal-Version: >=1.1.4
|
||||
License: BSD3
|
||||
License-File: LICENSE
|
||||
@@ -28,7 +28,7 @@ Buildable: True
|
||||
-- Other-Modules:
|
||||
-- ********* Be backward compatible until 6.4.2 is futher deployed
|
||||
-- HS-Source-Dirs: "."
|
||||
-Extensions: MultiParamTypeClasses, FunctionalDependencies
|
||||
+Extensions: MultiParamTypeClasses, FunctionalDependencies, CPP
|
||||
-- GHC-Options: -Wall -Werror
|
||||
GHC-Options: -Wall -Werror -O2
|
||||
-- GHC-Options: -Wall -ddump-minimal-imports
|
||||
diff -urwpN regex-base-0.71/Text/Regex/Base/Context.hs ghc-6.6.1/libraries/regex-base/Text/Regex/Base/Context.hs
|
||||
--- regex-base-0.71/Text/Regex/Base/Context.hs 2006-12-05 18:29:02.000000000 +0000
|
||||
+++ ghc-6.6.1/libraries/regex-base/Text/Regex/Base/Context.hs 2007-04-25 18:24:10.000000000 +0100
|
||||
@@ -185,9 +185,12 @@ instance (RegexLike a b) => RegexContext
|
||||
match r s = maybe (-1,0) (!0) (matchOnce r s)
|
||||
matchM r s = maybe regexFailed (return.(!0)) (matchOnce r s)
|
||||
|
||||
+#if __GLASGOW_HASKELL__
|
||||
+-- overlaps with instance (RegexLike a b) => RegexContext a b (Array Int b)
|
||||
instance (RegexLike a b) => RegexContext a b MatchArray where
|
||||
match r s = maybe nullArray id (matchOnce r s)
|
||||
matchM r s = maybe regexFailed return (matchOnce r s)
|
||||
+#endif
|
||||
|
||||
instance (RegexLike a b) => RegexContext a b (b,MatchText b,b) where
|
||||
match r s = maybe (s,nullArray,empty) id (matchOnceText r s)
|
||||
@@ -216,21 +219,27 @@ instance (RegexLike a b) => RegexContext
|
||||
, mrMatch = whole
|
||||
, mrAfter = post
|
||||
, mrSubs = fmap fst ma
|
||||
- , mrSubList = tail (map fst subs) })
|
||||
+ , mrSubList = map fst subs })
|
||||
|
||||
-- ** Instances based on matchAll,matchAllText
|
||||
|
||||
+#if __GLASGOW_HASKELL__
|
||||
+-- overlaps with instance (RegexLike a b) => RegexContext a b [Array Int b]
|
||||
instance (RegexLike a b) => RegexContext a b [MatchArray] where
|
||||
match = matchAll
|
||||
matchM = nullFail
|
||||
+#endif
|
||||
|
||||
instance (RegexLike a b) => RegexContext a b [MatchText b] where
|
||||
match = matchAllText
|
||||
matchM = nullFail
|
||||
|
||||
+#if __GLASGOW_HASKELL__
|
||||
+-- overlaps with instance (RegexLike a b) => RegexContext a b [b]
|
||||
instance (RegexLike a b) => RegexContext a b [(MatchOffset,MatchLength)] where
|
||||
match r s = [ ma!0 | ma <- matchAll r s ]
|
||||
matchM = nullFail
|
||||
+#endif
|
||||
|
||||
instance (RegexLike a b) => RegexContext a b [b] where
|
||||
match r s = [ fst (ma!0) | ma <- matchAllText r s ]
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-base/regex-base-0.71.ebuild,v 1.3 2012/09/12 15:38:10 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit eutils haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6"
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="6.6"
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-base/regex-base-0.72.0.1.ebuild,v 1.6 2012/09/12 15:38:10 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
CABAL_MIN_VERSION=1.2
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-base/regex-base-0.72.0.2.ebuild,v 1.4 2012/09/12 15:38:10 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.6.1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-base/regex-base-0.72.ebuild,v 1.11 2012/09/12 15:38:10 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit eutils haskell-cabal
|
||||
|
||||
MY_PV="0.71"
|
||||
MY_P="regex-base-${MY_PV}"
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${MY_PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6"
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="6.6.1"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Upgrade us from 0.71 to 0.72 which comes with ghc-6.6.1
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${PN}-0.71-0.72.patch"
|
||||
}
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-base/regex-base-0.93.1.ebuild,v 1.11 2012/09/12 15:38:10 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Interface API for regex-posix,pcre,parsec,tdfa,dfa"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
>=dev-haskell/cabal-1.2
|
||||
dev-haskell/mtl"
|
@ -1,5 +1 @@
|
||||
DIST regex-compat-0.71.0.1.tar.gz 3601 SHA256 904552f7d690686b2602f37494827d09b09fc0a8a2565522b61847bec8d1de8d SHA512 79b66eba511bdc334a22295af7c4ea8cd8493c5dd72f767cc6b05756b8940fbd790f219cf0e0fb09ed64a82ce897d1ce62c5e6cac221fc3bd138cb694313d96f WHIRLPOOL 515bdd8990d108b113c6350082453964f6343711fbcc071840b1bcc17dfbaa98151185729183a4f76740ae650bb675cfc47317ac13cc1b190a1cf719c318e21c
|
||||
DIST regex-compat-0.71.tar.gz 3560 SHA256 d04d120ddf6cd1793a3e0df6fa7f7a19162030855cdc2ca20705d85a929eaa5b SHA512 007a89480f51d7afdf60ebfc7a75120d031b794f6c05894ca89e9b016a8e9c4439498ca5c912d353426b17e4c60d9d18b5cdbf5bd3ed3b5f2244885bcbc52bfe WHIRLPOOL f4acc1fa36ff938216ea1bd054f729492ec16e417c88955ff8e481e5163763d64319f6d4b64d866c2f3eb2b6fefa72c098a4e4d3010671799b8d38cef9ef6a16
|
||||
DIST regex-compat-0.91.tar.gz 3647 SHA256 46963ca8a17a2828232fe598cab00af6a1b44f123142f9094a63063d852a63b0 SHA512 6c3bd98030931095b314cd6c35c8a87b63c1361ec54e6d8bae797305f78bdd8dc1c21a26ec751768971747b2c701365694191afe2810c86a4740af2142fbe352 WHIRLPOOL cbd41d85f0ab6723487c625ce6492587c88ef12e189006b90f65c10176f6d5abd623ae069616f1c914fbe9566a7428df1e15731c40de9c9e8a56783c4c149e12
|
||||
DIST regex-compat-0.92.tar.gz 4138 SHA256 430d251bd704071fca1e38c9b250543f00d4e370382ed552ac3d7407d4f27936 SHA512 a439565a650204e1c8a09017607ab6aca689db0f08d0ed7ebd8ae80958bd55d48e1629b577b50939457b65cdca7d1a9413248b544c574991c015f5286c068dbc WHIRLPOOL e0d8946cdd3e36ad811006a9f54e87a7081a88226b672e5eee7e5704fcc41fac8755630ac40191b9c0185edda0c6ea2dd7f2c5103553083003e5ce8ea54b90e0
|
||||
DIST regex-compat-0.95.1.tar.gz 3968 SHA256 d57cb1a5a4d66753b18eaa37a1621246f660472243b001894f970037548d953b SHA512 9fb38b001a4cdca5b3630d88e8fcb2f359f6e8dd49fbe13d5e2a1c99b4978b33ce639b344445b27daf68abbae1cf2c9905d48ff68a81e02b4e54aa92dea956e2 WHIRLPOOL e19c53ed563d031aefc5b8abe01363ac6f621251ffecf53926f306e57df9f9c528bf1487ee2d765e36a75c3e7126ff01d5701ea5086f48a47245f0ad231ab11c
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-compat/regex-compat-0.71.0.1.ebuild,v 1.5 2012/09/12 15:17:57 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
CABAL_MIN_VERSION=1.2
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
=dev-haskell/regex-base-0.7*
|
||||
=dev-haskell/regex-posix-0.7*"
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-compat/regex-compat-0.71.ebuild,v 1.10 2012/09/12 15:17:57 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
=dev-haskell/regex-base-0.7*
|
||||
=dev-haskell/regex-posix-0.7*"
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="6.6 6.6.1"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-compat/regex-compat-0.91.ebuild,v 1.7 2012/09/12 15:17:57 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="One module layer over regex-posix to replace Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
>=dev-haskell/cabal-1.2
|
||||
>=dev-haskell/regex-base-0.93
|
||||
>=dev-haskell/regex-posix-0.93"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-compat/regex-compat-0.92.ebuild,v 1.8 2012/09/12 15:17:57 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="One module layer over regex-posix to replace Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
>=dev-haskell/regex-base-0.93
|
||||
>=dev-haskell/regex-posix-0.93"
|
@ -1,7 +1,2 @@
|
||||
DIST regex-posix-0.71.tar.gz 69235 SHA256 c1a49ed802a1acf295726d46cf2726d7f9ed8665f4dd83e1411b77e1dcb4a529 SHA512 46cfada072c92d5aa7cbf309ee18ff34d773d6dabc0372310ef7757ccd5dfaf7be4064b8ed1038f7cafbad2211846ce93b4f7ba603f97c850bb22533a5846df1 WHIRLPOOL 04188fab03c1f6ec75190bd9a38a9103d670ae92f40922ea66c05a5fdfc7e8e0ad59d3d5514fde1dc403f54d9d9994192aefe664301fe61439b5345298cf0b13
|
||||
DIST regex-posix-0.72.0.2.tar.gz 42874 SHA256 bbc59136ac898e8036cd4af543c71c9ecbe688466df4feaac27763da3b7019a8 SHA512 02cb9ee43483989797c79d54bf14d7fca428fe4fcb86536882a83cb9df5735258a995999fb2a510d8951eb94652851d20accd8ec72eb53fbe49dcb04d389f60d WHIRLPOOL 105569bd9bd2927d296193bf23ccf2a88fe4a1fa17d9114ec5bf3ed4e180c9159a8845d4de019b968895bc48a82d32fee0f35599a59c5cf55f23db133bedc4dc
|
||||
DIST regex-posix-0.72.0.3.tar.gz 43718 SHA256 327ab87f3d4f5315a9414331eb382b8b997de8836d577c3f7d232c574606feb1 SHA512 95895ed1a690221006ac057a536adc104cddc8fbfd99a166e1dd81536126dda36fc5a08789eb5b8ac25ba2ff110cc6492cc34bdc5dc0a4d62d22b012a3eff6ba WHIRLPOOL 157ad40d23de8987b2ffc4d2f33563f089aabafb1894470466ad1e84679dd98f3269a205965c142a6a2736f0d9fde33cb21f4d1c4ebcc96968e25b41bdfe506a
|
||||
DIST regex-posix-0.93.1.tar.gz 12922 SHA256 95b9a2cea46517b4f4afe7c274e13ff9692eace9184aa0656b3a643f7d79e48f SHA512 0d68b378dfb738f26c525d110ae7be66e4aed3b8e9486b403878c61d1880b8965f474f4de6e5f0a598c9ed21a0b78991707d29f1c94f6c0b2d01fe51106ca2ca WHIRLPOOL 845f3697518aad9d7372281b2c3a6e7e75ddecdd8a2a4491832cf19141fac32428748aec39023a166fd1f53ffabf73eab1c250e87898e0d5ca04039e7e39a79e
|
||||
DIST regex-posix-0.94.1.tar.gz 13015 SHA256 63e76de0610d35f1b576ae65a25a38e04e758ed64b9b3512de95bdffd649485c SHA512 061e752ce6e7c4f4397c389160906bb83517bba7c218acf9ca760aa51c20712fa054ae960d688a56588110aab58249455f200ad8d2c022c5ddc47425171bf500 WHIRLPOOL 182efa44a66e4de957d0f9c0803657046910ab8298f8708c730f308765cf996bf3068ff0ebe6d45ba1701ce84dc8f591cb8f0956995a18c9fa085cabf3f2f16d
|
||||
DIST regex-posix-0.95.1.tar.gz 42808 SHA256 74ed145b1a5b3c766a2694a58661f1d5e03a8dee283c5ddb9d689cff16efef0a SHA512 8d5758c286cda9fe0e18ee58d36b4481722bf2c6f59b8d29767817ddff80f527b3ae2c3b1cd0db6074bde019c56129d1baef5f97828bbc8e9f46bb70890a57fb WHIRLPOOL 300a65a9fc5093ed6643232ce2d03d25ab7714367fdc911a53ff8b8ed1fa1f12fcb2ee7f75701f1e80362cef61be5b09e3d838c2ab8a8d9115c59bf68fcb3025
|
||||
DIST regex-posix-0.95.2.tar.gz 42916 SHA256 56019921cd4a4c9682b81ec614236fea816ba8ed8785a1640cd66d8b24fc703e SHA512 2d22951f0302de144483d2c11d0711dc2cbd2fc6a0eac0126011eaa6f577837ae8c2a9516badb4beed6c18311241458dd6ad9f82a11d6f3763891880ebbc8c41 WHIRLPOOL 8d805d9a30caaf61c3498b8ec3ade8edcd5c5dd487878748d4fdb9f5ef03e73235df12749efbd88c179feaa5ba52400396ba1c98f569f3fed8eeae05f6ab1cd9
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-posix/regex-posix-0.71.ebuild,v 1.10 2012/09/12 16:03:55 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
=dev-haskell/regex-base-0.7*"
|
||||
|
||||
CABAL_CORE_LIB_GHC_PV="6.6 6.6.1"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-posix/regex-posix-0.72.0.2.ebuild,v 1.5 2012/09/12 16:03:55 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
CABAL_MIN_VERSION=1.2
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
=dev-haskell/regex-base-0.7*"
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-posix/regex-posix-0.72.0.3.ebuild,v 1.3 2012/09/12 16:03:55 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.6.1
|
||||
=dev-haskell/regex-base-0.7*"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-posix/regex-posix-0.93.1.ebuild,v 1.7 2012/09/12 16:03:55 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="profile haddock lib"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="The posix regex backend for regex-base"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha ~amd64 ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
>=dev-haskell/cabal-1.2
|
||||
>=dev-haskell/regex-base-0.93"
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/regex-posix/regex-posix-0.94.1.ebuild,v 1.7 2012/09/12 16:03:55 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Replaces/Enhances Text.Regex"
|
||||
HOMEPAGE="http://sourceforge.net/projects/lazy-regex"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/cabal-1.2
|
||||
>=dev-haskell/regex-base-0.93"
|
@ -1,2 +1 @@
|
||||
DIST utf8-string-0.3.6.tar.gz 8871 SHA256 c8c74555174edfb96145585c9b80780d0fc55ba249282b8a4c5968cca7c09d69 SHA512 9a61cabd459da0bd6667d52483a8f19ea72ac7e98618ddccb5f17e995ca7b023935407b7576ff2c88e1ab857fc3ea3b8227464fe459b453d92152451944119c6 WHIRLPOOL c2a8624e576f699885f600ce0f80aeea3ab4b68cd1a5ab1b1ffef08d3d66a40bc51bf3b8491c335a9cf3e7ccc22f7849b9f6f6e27135f007d0f43c04dda78cf1
|
||||
DIST utf8-string-0.3.7.tar.gz 8845 SHA256 785b4b31476adab9d4ea553a9a6b590acb0b906836abb3facd218c18b8eea9e8 SHA512 44e64e5ff42a2e4defe97d78468d070791ad82f0405173046666de398b14e55b8758a34ae624086dfa597d46a67eb12886375e04d58255e18e6d1b446c7efd79 WHIRLPOOL fe552302ead77fcf96b47ca3f37be9081892e0ea442799a2874aa423baf6874f42593cf6c119ecd0fde479df15d1cadc3b646ba923326a4f3bbddecd6ed5b66b
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/utf8-string/utf8-string-0.3.6.ebuild,v 1.11 2012/09/12 15:29:18 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Support for reading and writing UTF8 Strings"
|
||||
HOMEPAGE="http://github.com/glguy/utf8-string/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.6.1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.2"
|
@ -1,18 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/utf8-string/utf8-string-0.3.7.ebuild,v 1.6 2012/09/12 15:29:18 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hscolour hoogle"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Support for reading and writing UTF8 Strings"
|
||||
HOMEPAGE="http://github.com/glguy/utf8-string/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6.1
|
||||
>=dev-haskell/cabal-1.2"
|
@ -1,40 +0,0 @@
|
||||
diff --git a/uuagc.cabal b/uuagc.cabal
|
||||
index 5012e56..281e68f 100644
|
||||
--- a/uuagc.cabal
|
||||
+++ b/uuagc.cabal
|
||||
@@ -3,7 +3,7 @@ version: 0.9.1
|
||||
license: GPL
|
||||
license-file: LICENSE
|
||||
maintainer: Arthur Baars <arthurb@cs.uu.nl>
|
||||
-Build-Depends: base, haskell98, uulib
|
||||
+Build-Depends: base, haskell98, uulib, directory
|
||||
|
||||
Executable: uuagc
|
||||
Main-Is: Ag.hs
|
||||
@@ -31,5 +31,5 @@ Other-Modules: AbstractSyntax,
|
||||
Streaming,
|
||||
TokenDef,
|
||||
Transform
|
||||
-Extensions: TypeSynonymInstances
|
||||
+Extensions: TypeSynonymInstances, MultiParamTypeClasses
|
||||
Hs-Source-Dir: src
|
||||
diff --git a/uuagc.cabal.in b/uuagc.cabal.in
|
||||
index 754b4ba..9693be5 100644
|
||||
--- a/uuagc.cabal.in
|
||||
+++ b/uuagc.cabal.in
|
||||
@@ -3,7 +3,7 @@ version: @VERSION@
|
||||
license: GPL
|
||||
license-file: LICENSE
|
||||
maintainer: Arthur Baars <arthurb@cs.uu.nl>
|
||||
-Build-Depends: base, haskell98, uulib
|
||||
+Build-Depends: base, haskell98, uulib, directory
|
||||
|
||||
Executable: uuagc
|
||||
Main-Is: Ag.hs
|
||||
@@ -31,5 +31,5 @@ Other-Modules: AbstractSyntax,
|
||||
Streaming,
|
||||
TokenDef,
|
||||
Transform
|
||||
-Extensions: TypeSynonymInstances
|
||||
+Extensions: TypeSynonymInstances, MultiParamTypeClasses
|
||||
Hs-Source-Dir: src
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/uuagc/uuagc-0.9.1.ebuild,v 1.13 2011/12/18 12:39:59 slyfox Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit base haskell-cabal
|
||||
|
||||
DESCRIPTION="The Utrecht University Attribute Grammar system"
|
||||
HOMEPAGE="http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem"
|
||||
SRC_URI="http://abaris.zoo.cs.uu.nl:8080/wiki/pub/HUT/Download/${P}-src.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="amd64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.2.2
|
||||
>=dev-haskell/uulib-0.9.1"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=("${FILESDIR}"/${PN}-0.9.1-split-base.patch)
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/uuagc/uuagc-0.9.5.ebuild,v 1.2 2010/07/12 13:41:29 slyfox Exp $
|
||||
|
||||
CABAL_FEATURES="bin"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="The Utrecht University Attribute Grammar system"
|
||||
HOMEPAGE="http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem"
|
||||
SRC_URI="http://abaris.zoo.cs.uu.nl:8080/wiki/pub/HUT/Download/${P}-src.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6
|
||||
dev-haskell/mtl
|
||||
>=dev-haskell/uulib-0.9.2"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
sed -i -e '/Extensions:/a \
|
||||
, MultiParamTypeClasses' \
|
||||
"${S}/uuagc.cabal"
|
||||
|
||||
# Add in the extra split-base deps
|
||||
if version_is_at_least "6.8" "$(ghc-version)"; then
|
||||
sed -i -e '/Build-Depends:/a \
|
||||
,containers, directory, array, bytestring' \
|
||||
"${S}/uuagc.cabal"
|
||||
fi
|
||||
}
|
@ -1,7 +1,2 @@
|
||||
DIST ghc-6.6-src-extralibs.tar.bz2 2015443 SHA256 1c811695d074c7560ca9bd7773523f817ccb57390044392a1ad92cf0079bea29 SHA512 7475ea77a29c3b4de5b7587b05ed8bd8d23e24dc8fffddd118034cdd15b78d6cdfaba3fa72752a306236430dba505d7eb055fdf9acea1b72008b9ad34514d6d8 WHIRLPOOL d6fd2de1c274a5a5893d14fe367481c8781952aada465e98c28017e7b87c5aceaa4484c528f59c91b001f3844d9754464e788215f650a91af7cd6014fcd9ce8b
|
||||
DIST ghc-6.6.1-src-extralibs.tar.bz2 1928527 SHA256 d162a82fc388fdd48c327b09bb6d778f2313d12d5282f3b120ac08a5d4e78902 SHA512 bf65422b845f77d3c426bb27e4086242fc20a458e93937d476d4f7ba535bc79fce2cb4a489ea91ad529fcd33696aa77a90dd6fa26ba095c8ecbf4c4c54f72203 WHIRLPOOL 6be78bde0950f025735920dcca5abb1f473f493492da72b62ee939963d07fce2d8c70e5fe8402fbbdf49e8f6710adee455f39deefbab13e0e3a3053215ef467a
|
||||
DIST xhtml-3000.0.2.1.tar.gz 13309 SHA256 4cbb89d34d6b852d39d00aa4fee50824b003597e45d2858ca5dcee54d94bde86 SHA512 3160847894bdf19e873a756368847b3fca40989a8f5d5c5e9f05bdeed3b05eaf246c6f8b990358ac231d877adba19f932e121f1bb0b48023ebf66d3082d9852e WHIRLPOOL e0dd370fa6084d5626816636b697965b1767d70df274a1f0e446f162b8d5425e3476bbe51f08a769922c01f06b06b87d67028933503956748990066cd1cc82d7
|
||||
DIST xhtml-3000.2.0.1.tar.gz 13668 SHA256 60d7a44ae6d607475e2d60c5bf9909b8a3bd88850d52b08ff1532aa6d58bec96 SHA512 a9eb619964af96f22069373ad2c4986d84843c67b03531b1c1a2f0ab95148617adcdc44804b1fbcbc856fe0ba054371470ed606fa42f51bdcc8e72dbbaf3fd15 WHIRLPOOL 8e0fc6bfa7d8725324a739906618b8775469821e296a522c6b1d16765bb9d513a3205ae752fd792617852cef4e77c03e3b38cbe45a8a0119a326f6434de2fff2
|
||||
DIST xhtml-3000.2.0.4.tar.gz 14273 SHA256 7ca913c281385c144bbe724922b2d61d7e4869a2294ce20d71aa39dd4a8c781e SHA512 26c25e4bd09fc49a8728cb7cc8eee3baa20125b4be7ead87b0b251ce09fbfe8866013095548b61827fe18b63731c43e30b1ffb38430c46a8171294ee0941d6b7 WHIRLPOOL b6c42bf629597be8b46aa70ffbc871deea4480e32aa6b519be05709c3226e6c06cac2b2fc7dd121eb451bec2c776f073cc0f26fa7884aec40a5b0a5c8f8f3002
|
||||
DIST xhtml-3000.2.0.5.tar.gz 14522 SHA256 3bc167dfc82a4712856faaf25ad6c5c4d3507777b633ddc4ba17337b414818bf SHA512 0ab08ec77f659501812165d67fe265579c514a7ce3e1dc7fba981904048870b7d9014c956b8b4b33babf3e384b204372094f6a391ddb4fc8759ef010817e799a WHIRLPOOL 380d4ea0686967aa5cdb4acf36bf0025f3d66513acbcf27b6b51f9e5edf28e78ae43b56ab492fcb628c9ec95d391e12c4218e6cdec613e352ca826dc2f379e0d
|
||||
DIST xhtml-3000.2.1.tar.gz 14555 SHA256 33020782170c1c083bc59fc3bfcb72cec2db223e02d1181c07ae23b9fa7fdcd8 SHA512 a3e901f6173e3885717ee5e451f8ea8d2ee61cbb159335eb69b0a7e097dbad350b1919aedd7f9daf530147fea7982921fc324df41112e69ed362d143fe327342 WHIRLPOOL abd5d7e94b7f14e691a9f18dadc9961271da75790c8dedae6fa2566072355cbc3840eb82291c78ec3d2baeddf2f473619dfa50c6a0ab63a2bf4ab195e1a689d5
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/xhtml/xhtml-2006.9.13.ebuild,v 1.6 2008/07/15 06:10:43 jer Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
GHC_PV=6.6
|
||||
|
||||
DESCRIPTION="XHTML combinator library for haskell"
|
||||
HOMEPAGE="http://haskell.org/ghc/"
|
||||
SRC_URI="http://www.haskell.org/ghc/dist/${GHC_PV}/ghc-${GHC_PV}-src-extralibs.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6"
|
||||
|
||||
S="${WORKDIR}/ghc-${GHC_PV}/libraries/${PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cabal-mksetup
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/xhtml/xhtml-3000.0.2.1.ebuild,v 1.6 2012/09/12 15:26:23 qnikst Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="XHTML combinator library for haskell"
|
||||
HOMEPAGE="http://haskell.org/ghc/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.4"
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/xhtml/xhtml-3000.0.2.ebuild,v 1.9 2008/07/15 06:10:43 jer Exp $
|
||||
|
||||
CABAL_FEATURES="lib profile haddock"
|
||||
inherit haskell-cabal
|
||||
|
||||
GHC_PV=6.6.1
|
||||
|
||||
DESCRIPTION="XHTML combinator library for haskell"
|
||||
HOMEPAGE="http://haskell.org/ghc/"
|
||||
SRC_URI="http://www.haskell.org/ghc/dist/${GHC_PV}/ghc-${GHC_PV}-src-extralibs.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ghc-6.6"
|
||||
|
||||
S="${WORKDIR}/ghc-${GHC_PV}/libraries/${PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cabal-mksetup
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/xhtml/xhtml-3000.2.0.4.ebuild,v 1.2 2012/09/12 15:26:23 qnikst Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
# haddock-2.9.2 has xhtml as a dep, so disable haddock feature
|
||||
CABAL_FEATURES="lib profile"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="An XHTML combinator library"
|
||||
HOMEPAGE="https://github.com/haskell/xhtml"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10.1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
||||
|
||||
src_prepare() {
|
||||
if has_version '>=dev-lang/ghc-7.2.1' && has_version '<dev-haskell/ghc-7.4.0'; then
|
||||
if ghc-pkg describe base | grep -q "trusted: False"; then
|
||||
eerror "Due to an oversight, the base package isn't trusted by default in ghc-7.2.1."
|
||||
eerror "To avoid the build failing with the error:"
|
||||
eerror "base:Prelude can't be safely imported! The package (base) the module resides in isn't trusted."
|
||||
eerror "it is necessary to run, once:"
|
||||
eerror "ghc-pkg trust base"
|
||||
die "base is not trusted"
|
||||
fi
|
||||
fi
|
||||
sed -e 's@base >= 4.0 && < 4.5@base >= 4.0 \&\& < 4.6@' \
|
||||
-i "${S}/${PN}.cabal" || die "Could not loosen dependencies"
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/xhtml/xhtml-3000.2.0.5.ebuild,v 1.2 2012/09/12 15:26:23 qnikst Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
# haddock-2.9.2 has xhtml as a dep, so disable haddock feature
|
||||
CABAL_FEATURES="lib profile"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="An XHTML combinator library"
|
||||
HOMEPAGE="https://github.com/haskell/xhtml"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-6.10.1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.6"
|
@ -0,0 +1,125 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-6.3.17.ebuild,v 1.1 2013/06/19 11:57:45 keri Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-opt-2 multilib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="free, small, and standard compliant Prolog compiler"
|
||||
HOMEPAGE="http://www.swi-prolog.org/"
|
||||
SRC_URI="http://www.swi-prolog.org/download/devel/src/pl-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="archive debug doc gmp hardened java minimal odbc readline ssl static-libs test zlib X"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
archive? ( app-arch/libarchive )
|
||||
zlib? ( sys-libs/zlib )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
readline? ( sys-libs/readline )
|
||||
gmp? ( dev-libs/gmp )
|
||||
ssl? ( dev-libs/openssl )
|
||||
java? ( >=virtual/jdk-1.4 )
|
||||
X? (
|
||||
virtual/jpeg
|
||||
x11-libs/libX11
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-proto/xproto )
|
||||
java? ( test? ( =dev-java/junit-3.8* ) )"
|
||||
|
||||
S="${WORKDIR}/pl-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE=yes
|
||||
EPATCH_SUFFIX=patch
|
||||
epatch "${WORKDIR}"/${PV}
|
||||
|
||||
# OSX/Intel ld doesn't like an archive without table of contents
|
||||
sed -i -e 's/-cru/-scru/' packages/nlp/libstemmer_c/Makefile.pl || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
use ppc && append-flags -mno-altivec
|
||||
use hardened && append-flags -fno-unit-at-a-time
|
||||
use debug && append-flags -DO_DEBUG
|
||||
|
||||
# ARCH is used in the configure script to figure out host and target
|
||||
# specific stuff
|
||||
export ARCH=${CHOST}
|
||||
|
||||
export CC_FOR_BUILD=$(tc-getBUILD_CC)
|
||||
|
||||
cd "${S}"/src
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable static-libs static) \
|
||||
--enable-shared \
|
||||
--enable-custom-flags COFLAGS="${CFLAGS}"
|
||||
|
||||
if ! use minimal ; then
|
||||
local jpltestconf
|
||||
if use java && use test ; then
|
||||
jpltestconf="--with-junit=$(java-config --classpath junit)"
|
||||
fi
|
||||
|
||||
cd "${S}/packages"
|
||||
econf \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
$(use_with archive) \
|
||||
$(use_with java jpl) \
|
||||
${jpltestconf} \
|
||||
$(use_with odbc) \
|
||||
$(use_with ssl) \
|
||||
$(use_with X xpce) \
|
||||
$(use_with zlib) \
|
||||
COFLAGS='"${CFLAGS}"'
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/src
|
||||
emake
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/src"
|
||||
emake check
|
||||
|
||||
if ! use minimal ; then
|
||||
cd "${S}/packages"
|
||||
emake check
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C src DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal ; then
|
||||
emake -C packages DESTDIR="${D}" install
|
||||
if use doc ; then
|
||||
emake -C packages DESTDIR="${D}" html-install
|
||||
fi
|
||||
fi
|
||||
|
||||
dodoc ReleaseNotes/relnotes-5.10 INSTALL README VERSION
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST leveldb-1.10.0.tar.gz 204270 SHA256 84a4ab34671e1271d895f093932f8c8cfecb45b2e085da738671599825d12f62 SHA512 ba9829a203c25d00184b77382ee8db6b383058c527771a795443e0d3ae02b93dd29c3362f12fd89b08ac24f784b7ed2f3e3325b30abe2763df1cc9e4b8a12948 WHIRLPOOL d9b46a0f6586203091f2b89e4d141f8c7ba65ea994a2352d7f063796f50ba0e7a8c2d3a93ac2591a554b293ac8cb8a6eb26bfb2879f8859cb985db2cfd5985ae
|
||||
DIST leveldb-1.11.0.tar.gz 205413 SHA256 f2eaffcb60d6368088a7ef0c2b889132ea42483fed541a7601fa22e54a8839ac SHA512 2b01227d3339d5ab09a6488e43f4b92f1c8f23d9d9b3a1636710aadfebb2a291622b83d636c96314a651f7a774ec39b404490dcf7cd4ac6ec2997d5d651582aa WHIRLPOOL 410e0433a3eaabc838af22e6667c07e639c64da0143cc4af4ca88bb44dc74dabd749e90d2bb5766a448d8c0e952f7a099a593a558eb89cf43cab4f0404cd6ad1
|
||||
DIST leveldb-1.9.0.tar.gz 203872 SHA256 b2699b04e5aba8e98382c4955b94725d1f76bd0b5decd60c5628205b717a1d4f SHA512 47b0a3272eef2d677ddeb8d0c973e59a1be4bff580528c3bc3f83a654f41485ecc86892d9124ce21ef747c220f98cdad687436849dc978adfd42f8c8c05b9160 WHIRLPOOL 301ba45968095420ff72da36f128bd916d4e039385270eecd8e077aac3781ed12931c9a7d426842e197fd62a99ad6477e5eabbca7524fcba2a185a702f4ef22a
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild,v 1.1 2013/06/19 03:28:03 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="a fast key-value storage library written at Google"
|
||||
HOMEPAGE="http://code.google.com/p/leveldb/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+snappy static-libs +tcmalloc"
|
||||
|
||||
DEPEND="tcmalloc? ( dev-util/google-perftools )
|
||||
snappy? (
|
||||
app-arch/snappy
|
||||
static-libs? ( app-arch/snappy[static-libs] )
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# These vars all get picked up by build_detect_platform
|
||||
# which the Makefile runs for us automatically.
|
||||
tc-export AR CC CXX
|
||||
export OPT="-DNDEBUG ${CPPFLAGS}"
|
||||
# Probably needs more filling out
|
||||
export TARGET_OS
|
||||
case ${CHOST} in
|
||||
*) TARGET_OS="Linux";;
|
||||
esac
|
||||
export USE_SNAPPY=$(usex snappy)
|
||||
export USE_TCMALLOC=no
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include
|
||||
doins -r include/* helpers/memenv/memenv.h
|
||||
dolib.so libleveldb*$(get_libname)*
|
||||
use static-libs && dolib.a libleveldb.a
|
||||
dolib.a libmemenv.a
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libax25-0.0.11.tar.gz 231325 SHA256 7024c24b3d1d148a293cd84454875f74866e8db076cd1fa09be1e3b5e3385fda SHA512 c26e16659cc13e844a44a6978e89744eb0d3a2398c5e4cde5c84ec94fbaabe76d733e7b9da99087607edd0a4672c52689449548c5935ea59bc7bc5a24bf4ba6c WHIRLPOOL 1fe174441715a420a653317f1b1b969985e7c5f34fce667ad6e50a80fabaaadfd9af3b51d82c63d5617f2f58ec825ebe219d0e14cf33f906f03ad5d00dbdb892
|
||||
DIST libax25-0.0.12-rc2.tar.gz 332178 SHA256 3fd272181a7a135ab8b44aa1e42be6c3065deb53335858fa23a0f59d126b65e3 SHA512 4ef09d9436b97685c9836403c9d86b66a4c555db72ffee5d512929014f0fe9fc75c893e9a65aa080d75beab440da75028d512f192a36d55b157c4bb92cbbadbe WHIRLPOOL d8746d787dbe986a2f0861ad389fa11f2680b81cb02945b1b6fb04d126b80c26444a3866d7cccf6b6cc97bff4b5f110a7c74d74bc24c9930df5297b9fff9d27d
|
||||
DIST libax25-0.0.12-rc3.tar.gz 359045 SHA256 de902ab9de9d42d3da13d98d21f704d130286123ca88b6dbb5e5dc48531824ba SHA512 7e5b44616360d13f1b8d060686d76e3242fbce9564bef5e09bc438cb567a474ea600cc34ce7ce416dd44bd8e7b06145a924406401df244ad062d86bef044bf20 WHIRLPOOL b394be46a6f37cc89eb5f76057aa960e97c75f907147a5c39dc40d0804a51e3ebf01f2911082f5d91db4c01325cd51f27d2e8f7f736321ff6b89d63c02b32cbf
|
||||
DIST libax25-0.0.12-rc4.tar.gz 335535 SHA256 051bd736c3f3f3b242b3efea91af37f2e8d5afaebb5fe6e1df050bb1f6aeb986 SHA512 d11ed19cf72b8eed22c6cbaa5f45f0eb3b96672a6c9334a095da36b622a0453b0d7b72f75f7aa5753c9cf10636d5b10c36fe9b445481e04f7cba711609f7a812 WHIRLPOOL df3cbab97bbd3d067822de8f81c6314c38547afe63a105f25d135cda16685bb7baa17bcb0ce55aa2689973d2f82e1239eba39faf15b0c3d437ff0ef3d5797a70
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libax25/libax25-0.0.12_rc4.ebuild,v 1.1 2013/06/19 04:16:51 tomjbe Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit versionator
|
||||
|
||||
MY_P=${PN}-$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="AX.25 library for hamradio applications"
|
||||
HOMEPAGE="http://www.linux-ax25.org/"
|
||||
SRC_URI="http://www.linux-ax25.org/pub/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install installconf
|
||||
dodoc AUTHORS NEWS README
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue