summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2011-06-05 12:29:37 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2011-06-05 12:29:37 +0000
commit8b4c2a16d52b6d4406b8d01fde0e2cbb427d64a6 (patch)
tree2ef4113857eb2e5fb0dfaaaa75c0bc6e9c4389a6 /dev-haskell/cabal-install
parentPDEPEND on gnome-base/librsvg as reported in bug #363715 by Cedric. Remove old. (diff)
downloadhistorical-8b4c2a16d52b6d4406b8d01fde0e2cbb427d64a6.tar.gz
historical-8b4c2a16d52b6d4406b8d01fde0e2cbb427d64a6.tar.bz2
historical-8b4c2a16d52b6d4406b8d01fde0e2cbb427d64a6.zip
Version bump.
Package-Manager: portage-2.1.9.50/cvs/Linux x86_64
Diffstat (limited to 'dev-haskell/cabal-install')
-rw-r--r--dev-haskell/cabal-install/ChangeLog11
-rw-r--r--dev-haskell/cabal-install/Manifest17
-rw-r--r--dev-haskell/cabal-install/cabal-install-0.8.2.ebuild42
-rw-r--r--dev-haskell/cabal-install/files/cabal-install-0.8-nopref.patch19
-rw-r--r--dev-haskell/cabal-install/metadata.xml16
5 files changed, 97 insertions, 8 deletions
diff --git a/dev-haskell/cabal-install/ChangeLog b/dev-haskell/cabal-install/ChangeLog
index 1c8f1a6d3ec5..c4cff7054373 100644
--- a/dev-haskell/cabal-install/ChangeLog
+++ b/dev-haskell/cabal-install/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-haskell/cabal-install
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/ChangeLog,v 1.5 2010/10/02 21:37:04 slyfox Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/ChangeLog,v 1.6 2011/06/05 12:29:37 slyfox Exp $
+
+*cabal-install-0.8.2 (05 Jun 2011)
+
+ 05 Jun 2011; Sergei Trofimovich <slyfox@gentoo.org>
+ +cabal-install-0.8.2.ebuild, +files/cabal-install-0.8-nopref.patch,
+ metadata.xml:
+ Version bump.
02 Oct 2010; Sergei Trofimovich <slyfox@gentoo.org>
cabal-install-0.8.0.ebuild:
diff --git a/dev-haskell/cabal-install/Manifest b/dev-haskell/cabal-install/Manifest
index df9195125741..edc4d7c50eb1 100644
--- a/dev-haskell/cabal-install/Manifest
+++ b/dev-haskell/cabal-install/Manifest
@@ -1,8 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX cabal-install-0.8-nopref.patch 921 RMD160 074455face91f9bb2bf7164cd67142017a036a87 SHA1 1b7854e2e0f3c80136a5aeb1e6acf1b4c7195340 SHA256 bab33862d10326fbbc7d9b9978bb70ad4c9f961aa648bbd8d7ff363b5e8a6a24
DIST cabal-install-0.6.2.tar.gz 89157 RMD160 f7ae2a8155b28ee1b736e9abf00c32fe55e7c80f SHA1 415bdf6ae7029b488b99c2da288af10634024ac7 SHA256 d8ea91bd0a2a624ab1cf52ddfe48cef02b532bb5e2fcda3fd72ca51efc04b41a
DIST cabal-install-0.6.4.tar.gz 95986 RMD160 967d8168631385bbca81573490c447eae814a947 SHA1 ad1374da2dc34add678d22cbc7fa1f05abbf22d9 SHA256 c0840c534704d29a6789ee501970fbe170c962a96da9645bddaf4c71a97b283e
DIST cabal-install-0.8.0.tar.gz 139766 RMD160 2af161fbcaf976014eb08d1eada9feceb034e93e SHA1 f047f03e4c12de0030ae1f7e66ed62aa46e057cc SHA256 6d16618ff454f8d732cad64a53b767b5b6bb95ba4970b260a40e8f467035493c
+DIST cabal-install-0.8.2.tar.gz 139391 RMD160 46c639e41ce92aa4462dab3b0e810c3b4b6ace58 SHA1 17d45d25923e577f6d8b9d98fd7a69bfa8ba4b29 SHA256 8f896ab46ec6c578f620ce4150f7cd04a2088be793113b33cc570b13b6b86e0b
EBUILD cabal-install-0.6.2.ebuild 867 RMD160 6e038d514e834d82b56c300066a164647545ee3b SHA1 28398d9fca648bc329580e3119d8a6f695702ee7 SHA256 ccbf175c77c2932bd8e7f530d8633ad7f9aed8b5df05b4e2638ed6ec381fb47f
EBUILD cabal-install-0.6.4.ebuild 897 RMD160 33acc8820905a59cfc51a578244dafb85bed3490 SHA1 4e00079116c08ca36f3ecdb68fc7cdd30b9e3f4a SHA256 88a75bc7d05920b3794340c3b4a1a81d54ae4ebc7d32e2fc6fc821a2f361cc8c
EBUILD cabal-install-0.8.0.ebuild 910 RMD160 d88dce2bba855aac8ecaf99db9841137a91150fb SHA1 575b160e206d6f3a5353e197a2707a5b59cdc67e SHA256 e8c762326c549f73e18dad4a4ac76aa357cbfb4740a268381a78cf552b23e084
-MISC ChangeLog 830 RMD160 2f379a6f84077073e3b9f9b5c27aeaddf972c1db SHA1 def6d4a68f5a108fd2dfcdc427499eb8ffe85917 SHA256 f5446157b734fec3037e5edbb62ca842faa5f6336475458710a7e18c5e8a04fc
-MISC metadata.xml 231 RMD160 8b37a8901d230433c69ffa03eeed903bca89249b SHA1 b77d396c72fd66ec7c09ae8de996a5ba50d9e482 SHA256 b1bacb51e08eb7f067d6a30020b5c45e4f4e48b5ec4640402ecaa34b78e2ae34
+EBUILD cabal-install-0.8.2.ebuild 1043 RMD160 f9c2fc7d8a6ba52933a2843921e50f92467686e4 SHA1 e82692a7ddf6add73f4d5243cbc12530cf1dbb74 SHA256 e7515e0e8a96d17f10c9dee367adc04f98cee56e4b391efefb8bf49c99bb6e6b
+MISC ChangeLog 1023 RMD160 53c2fa7e06fc06983d1730398e03e8e4e5b1f0d3 SHA1 1a64e6a3b6e5acdd24b0604bfe4fa8492561c651 SHA256 04c30da759e1087d6167fce0842d4c4de9e2c9ff0a1165d2b2f4208f874648e2
+MISC metadata.xml 565 RMD160 103f8fcb478ebe081e13271999ac845d3c5ef06d SHA1 513705be96e8df28f8fc2712603bbd220039e130 SHA256 d86372e92cba9d376ce1b33b6ccd6433baf32903a37d2dba3880ca81d147614e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk3rd2kACgkQcaHudmEf86q7ywCeJ5gJ5XCjWHiQOZ4qRwyY6PbX
+XYIAn0oTWPAsBrGsKtYEQcCSQznJMc+C
+=gRAI
+-----END PGP SIGNATURE-----
diff --git a/dev-haskell/cabal-install/cabal-install-0.8.2.ebuild b/dev-haskell/cabal-install/cabal-install-0.8.2.ebuild
new file mode 100644
index 000000000000..511f7634e72c
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-0.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/cabal-install/cabal-install-0.8.2.ebuild,v 1.1 2011/06/05 12:29:37 slyfox Exp $
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal bash-completion eutils
+
+DESCRIPTION="The command-line interface for Cabal and Hackage."
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~sparc ~x86"
+IUSE="noprefs"
+
+RDEPEND=">=dev-lang/ghc-6.4
+ >=dev-haskell/cabal-1.8"
+DEPEND="${RDEPEND}
+ >=dev-haskell/http-4000.0.2
+ dev-haskell/network
+ >=dev-haskell/zlib-0.4
+ =dev-haskell/time-1.1*"
+
+src_unpack() {
+ unpack $A
+ cd "${S}"
+ if use noprefs; then
+ epatch "${FILESDIR}/cabal-install-0.8-nopref.patch"
+ fi
+}
+src_install() {
+ haskell-cabal_src_install
+
+ dobashcompletion "${S}/bash-completion/cabal"
+}
+
+pkg_postinst() {
+ ghc-package_pkg_postinst
+
+ bash-completion_pkg_postinst
+}
diff --git a/dev-haskell/cabal-install/files/cabal-install-0.8-nopref.patch b/dev-haskell/cabal-install/files/cabal-install-0.8-nopref.patch
new file mode 100644
index 000000000000..40ede8a71da3
--- /dev/null
+++ b/dev-haskell/cabal-install/files/cabal-install-0.8-nopref.patch
@@ -0,0 +1,19 @@
+diff -rN -u old-cabal-install-0.8/Distribution/Client/IndexUtils.hs new-cabal-install-0.8/Distribution/Client/IndexUtils.hs
+--- old-cabal-install-0.8/Distribution/Client/IndexUtils.hs 2010-06-14 22:16:58.249000098 +0300
++++ new-cabal-install-0.8/Distribution/Client/IndexUtils.hs 2010-06-14 22:16:58.292000097 +0300
+@@ -168,10 +168,15 @@
+
+ extractPrefs :: Tar.Entry -> Maybe [Dependency]
+ extractPrefs entry = case Tar.entryContent entry of
++ {-
++ -- get rid of hackage's preferred-versions
++ -- I'd like to have bleeding-edge packages in system and I don't fear of
++ -- broken packages with improper depends
+ Tar.NormalFile content _
+ | takeFileName (Tar.entryPath entry) == "preferred-versions"
+ -> Just . parsePreferredVersions
+ . BS.Char8.unpack $ content
++ -}
+ _ -> Nothing
+
+ handleNotFound action = catch action $ \e -> if isDoesNotExistError e
diff --git a/dev-haskell/cabal-install/metadata.xml b/dev-haskell/cabal-install/metadata.xml
index dde98cf80b95..5feb2e9bdc17 100644
--- a/dev-haskell/cabal-install/metadata.xml
+++ b/dev-haskell/cabal-install/metadata.xml
@@ -1,8 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>haskell</herd>
- <maintainer>
- <email>haskell@gentoo.org</email>
- </maintainer>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ The 'cabal' command-line program simplifies the process of managing
+ Haskell software by automating the fetching, configuration, compilation
+ and installation of Haskell libraries and programs.
+ </longdescription>
+ <use>
+ <flag name="noprefs">Ignore 'preferred-versions' file from hackage's tarball.</flag>
+ </use>
</pkgmetadata>