/[gentoo-x86]/eclass/haskell-cabal.eclass
Gentoo

Log of /eclass/haskell-cabal.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Links to MAIN: (view) (download) (annotate)

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Fri Jun 27 07:26:18 2014 UTC (2 months, 3 weeks ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.45: +4 -3 lines
Diff to previous 1.45 , to selected 1.2
Disable QA warning on '--with-compiler' passed by 'dev-haskell/cabal' (bug #515360 by Patrick Lauer).


Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Fri Jun 27 07:16:47 2014 UTC (2 months, 3 weeks ago) by slyfox
Branch: MAIN
Changes since 1.44: +5 -2 lines
Diff to previous 1.44 , to selected 1.2
Disable QA warning on '--with-hc --with-hc-pkg --with-gcc' flags passed by 'dev-haskell/cabal' to every configure-based haskell package. Don't unset LANG/LC_ALL/LC_MESSAGES anymore.


Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu May 22 16:35:11 2014 UTC (3 months, 4 weeks ago) by slyfox
Branch: MAIN
Changes since 1.43: +17 -15 lines
Diff to previous 1.43 , to selected 1.2
cabal_chdeps() now defaults to MY_PN (autogenerated by hackport) if exists, then to PN


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Tue Feb 11 19:00:06 2014 UTC (7 months, 1 week ago) by slyfox
Branch: MAIN
Changes since 1.42: +40 -19 lines
Diff to previous 1.42 , to selected 1.2
Add support for parallel building (ghc-7.8+). Disable dynamic library stripping and respect --sysconfdir (Cabal-1.18+).


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Wed Nov 20 09:19:19 2013 UTC (9 months, 4 weeks ago) by slyfox
Branch: MAIN
Changes since 1.41: +23 -1 lines
Diff to previous 1.41 , to selected 1.2
Added 'replace-hcflags()'. Filters HCFLAGS.


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Jul 29 12:31:35 2013 UTC (13 months, 3 weeks ago) by slyfox
Branch: MAIN
Changes since 1.40: +17 -6 lines
Diff to previous 1.40 , to selected 1.2
ask user to run haskell-updater for old packages (like in bug http://bugs.gentoo.org/474840)


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sat May 11 12:46:32 2013 UTC (16 months, 1 week ago) by slyfox
Branch: MAIN
Changes since 1.39: +24 -4 lines
Diff to previous 1.39 , to selected 1.2
Added 'ghc-supports-smp' and 'ghc-supports-dynamic-by-default' helpers. Added hint for users to run 'haskell-updater' if configure phase failed.


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Apr 28 16:15:33 2013 UTC (16 months, 3 weeks ago) by zmedico
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 , to selected 1.2
Bug #467646 - Refer to /etc/portage/make.conf, not /etc/make.conf.


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun Jan 6 13:06:35 2013 UTC (20 months, 1 week ago) by slyfox
Branch: MAIN
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 , to selected 1.2
Added 'ghc-supports-threaded-runtime' function. Removed implicit RDEPEND on 'ghc'.


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Nov 19 21:27:56 2012 UTC (22 months ago) by slyfox
Branch: MAIN
Changes since 1.36: +4 -3 lines
Diff to previous 1.36 , to selected 1.2
Fix error case to be more descriptive. Move 'einfo' lower to avoid empty output.


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Mon Nov 19 20:35:16 2012 UTC (22 months ago) by slyfox
Branch: MAIN
Changes since 1.35: +72 -1 lines
Diff to previous 1.35 , to selected 1.2
Added new helper function 'cabal_chdeps' and and debug variable 'CABAL_DEBUG_LOOSENING' for it.


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Fri Nov 16 15:47:17 2012 UTC (22 months ago) by slyfox
Branch: MAIN
Changes since 1.34: +21 -3 lines
Diff to previous 1.34 , to selected 1.2
Restore dynamic linking of Cabal's ./setup and add building of shared libraries for ghc-7.7+.


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Sep 27 16:35:41 2012 UTC (23 months, 3 weeks ago) by axs
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 , to selected 1.2
naive bump of all EAPI-specific checks in eclasses to permit EAPI=5 where EAPI=4 was previously allowed


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Jul 8 19:16:46 2012 UTC (2 years, 2 months ago) by slyfox
Branch: MAIN
Changes since 1.32: +21 -2 lines
Diff to previous 1.32 , to selected 1.2
Allow wildcards in CABAL_CORE_LIB_GHC_PV. Guard against breakage of ghc-shipped libraries.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu Apr 19 17:33:19 2012 UTC (2 years, 5 months ago) by slyfox
Branch: MAIN
Changes since 1.31: +10 -1 lines
Diff to previous 1.31 , to selected 1.2
Added CABAL_FEATURES=test-suite by Alexander Vershilov. It enables building of test suites introduced in Cabal-1.8


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Apr 14 20:22:23 2012 UTC (2 years, 5 months ago) by slyfox
Branch: MAIN
Changes since 1.30: +8 -7 lines
Diff to previous 1.30 , to selected 1.2
move 'dev-haskell/cabal' santy check out from 'pkg_*' to 'src_*' function to allow binary installation. Reported by tamiko.


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Apr 14 19:30:53 2012 UTC (2 years, 5 months ago) by slyfox
Branch: MAIN
Changes since 1.29: +7 -4 lines
Diff to previous 1.29 , to selected 1.2
fix -dynamic './setup configure' failures against newer libffi (bug #411789 by Leonid Podolny)


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Apr 9 18:08:45 2012 UTC (2 years, 5 months ago) by slyfox
Branch: MAIN
Changes since 1.28: +57 -115 lines
Diff to previous 1.28 , to selected 1.2
Remove outdated bits for <ghc-6.10 and <cabal-1.8. Switch from 'eerror' to 'eqawarn' as suggested by Paweł Hajdan, Jr. (http://www.gossamer-threads.com/lists/gentoo/dev/251259). Install empty '.conf' files for binaries to help 'haskell-updater' pick binaries built with onder haskell toolchain on ghc upgrade.


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Mar 9 22:01:11 2012 UTC (2 years, 6 months ago) by slyfox
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 , to selected 1.2
Drop haddock from DEPENDS when USE=doc haddock. haddock-2.9.2+ can be used right in the ebuild phase to build it's docs.


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Feb 7 12:47:54 2012 UTC (2 years, 7 months ago) by slyfox
Branch: MAIN
Changes since 1.26: +16 -4 lines
Diff to previous 1.26 , to selected 1.2
Added support for CABAL_EXTRA_BUILD_FLAGS and HCFLAGS magic variables

CABAL_EXTRA_BUILD_FLAGS allows user to pass arguments to ./setup build phase.
For example you can get detailed build log this way:

    CABAL_EXTRA_BUILD_FLAGS=-v emerge something

HCFLAGS is similar to CFLAGS / CXXFLAGS / FFLAGS in spirit.
You can use it in make.conf or in one-shot merges to enable
random ghc features:

    HCFLAGS="-O0 -Wall" emerge something-else


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Fri Jan 20 18:24:09 2012 UTC (2 years, 8 months ago) by slyfox
Branch: MAIN
Changes since 1.25: +28 -13 lines
Diff to previous 1.25 , to selected 1.2
Added stdout echoing of most executed phase commands. Added stub for CABAL_USE_HSCOLOUR feature to ease ebuild syncing from haskell overlay.


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Aug 22 04:46:32 2011 UTC (3 years ago) by vapier
Branch: MAIN
Changes since 1.24: +10 -10 lines
Diff to previous 1.24 , to selected 1.2
fix random bugs in eclass documentation, and convert to new @AUTHOR tag


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun May 8 15:13:10 2011 UTC (3 years, 4 months ago) by slyfox
Branch: MAIN
Changes since 1.23: +54 -22 lines
Diff to previous 1.23 , to selected 1.2
added CABAL_EXTRA_CONFIGURE_FLAGS variable, more tweaks

- CABAL_EXTRA_CONFIGURE_FLAGS - variable similar to EXTRA_ECONF for econf.
  It appends given arguments to 'runhaskell Setup configure args' call.
  It's handy when one wants to pass some argument for all haskell packages,
  like 'CABAL_EXTRA_CONFIGURE_FLAGS=--enable-shared' to get shared variants
  for all haskell libraries.

- GHC_BOOTSTRAP_FLAGS - ghc option when building Setup.hs.

- fix CABAL_FEATURES="nocabaldep" (found by Felipe Almeida Lessa)

    Felipe's output for ghc-6.12.3:
    > $ ghc-pkg field Cabal version
    > version: 1.8.0.6
    > version: 1.10.1.0

    My output for ghc-6.12.3:
    > $ ghc-pkg field Cabal version
    >    version: 1.10.1.0
    >    version: 1.8.0.6

    It has unstable order and breaks dev-haskell/cairo setup.

    Now we always pick ghc's Cabal version (as CABAL_FROM_GHC var name says),
    not the most recently installed.

- Setup.hs is linked dynamically where available. Drastically speedups (from
  tens of seconds down to seconds) link time (and the whole package build time).

- src_compile() got a QA warning when passed '--flags=' argument for EAPI,
  where yet src_configure() (catches potential package misconfiguration)


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Mar 13 20:15:14 2011 UTC (3 years, 6 months ago) by slyfox
Branch: MAIN
Changes since 1.22: +47 -26 lines
Diff to previous 1.22 , to selected 1.2
Added EPREFIX support. Fixed default src_configure for dummy packages (EAPI=3 and upper).


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Sep 12 07:37:09 2010 UTC (4 years ago) by slyfox
Branch: MAIN
Changes since 1.21: +8 -2 lines
Diff to previous 1.21 , to selected 1.2
Make .cabal built haskell packages respect LDFLAGS envvar. Fixes bug #333217 (and inferior bug #335591)


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Aug 7 12:06:27 2010 UTC (4 years, 1 month ago) by kolmodin
Branch: MAIN
Changes since 1.20: +29 -2 lines
Diff to previous 1.20 , to selected 1.2
Allow USE=hscolour for dev-haskell packages that have
CABAL_FEATURES="hscolour" (none yet in portage).


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 22:18:37 2010 UTC (4 years, 5 months ago) by kolmodin
Branch: MAIN
Changes since 1.19: +7 -3 lines
Diff to previous 1.19 , to selected 1.2
When using dummy haskell libraries, there is no test suite.


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 09:10:46 2010 UTC (4 years, 5 months ago) by kolmodin
Branch: MAIN
Changes since 1.18: +70 -5 lines
Diff to previous 1.18 , to selected 1.2
Update haskell-cabal eclass to handle EAPI=2.


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 20:50:40 2010 UTC (4 years, 7 months ago) by kolmodin
Branch: MAIN
Changes since 1.17: +11 -1 lines
Diff to previous 1.17 , to selected 1.2
haskell-cabal.eclass: Don't strip executables, let portage do it.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 23:46:16 2009 UTC (4 years, 10 months ago) by kolmodin
Branch: MAIN
Changes since 1.16: +17 -1 lines
Diff to previous 1.16 , to selected 1.2
Properly support the CABAL_FEATURES="nocabaldep" if user doesn't have dev-haskell/cabal


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Sep 9 18:40:11 2009 UTC (5 years ago) by kolmodin
Branch: MAIN
Changes since 1.15: +17 -12 lines
Diff to previous 1.15 , to selected 1.2
Updating the haskell-cabal eclass to support the CABAL_FEATURES nocabaldep
which is used in the dev-haskell/haskell-updater package. It enables
packages to use the cabal eclass without depending on cabal.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Jul 27 19:03:20 2009 UTC (5 years, 1 month ago) by kolmodin
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 , to selected 1.2
Fix (kind of harmless) typo in haskell-cabal eclass. $CABAL_UNKNONW -> $CABAL_UNKNOWN.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Dec 13 04:44:39 2007 UTC (6 years, 9 months ago) by dcoutts
Branch: MAIN
Changes since 1.13: +72 -15 lines
Diff to previous 1.13 , to selected 1.2
Update cabal eclass for new cabal-1.2 series


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Aug 5 18:49:58 2007 UTC (7 years, 1 month ago) by kolmodin
Branch: MAIN
Changes since 1.12: +38 -12 lines
Diff to previous 1.12 , to selected 1.2
Make the haskell-cabal eclass aware of updateable core ghc libs.


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Jul 27 09:09:20 2007 UTC (7 years, 1 month ago) by kolmodin
Branch: MAIN
Changes since 1.11: +2 -3 lines
Diff to previous 1.11 , to selected 1.2
Cabal profiling should not affect executables. Fix which/type -P.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Jul 25 18:07:02 2007 UTC (7 years, 1 month ago) by dcoutts
Branch: MAIN
Changes since 1.10: +25 -9 lines
Diff to previous 1.10 , to selected 1.2
Updates to ghc and cabal eclasses to go with ghc-6.6.x upgrade.


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Mar 13 12:02:04 2007 UTC (7 years, 6 months ago) by kosmikus
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 , to selected 1.2
replaced "which" by "type -P"


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 13:58:13 2007 UTC (7 years, 8 months ago) by kosmikus
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 , to selected 1.2
detect true rather than assume its location; should fix bug #161937


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed Oct 4 17:49:20 2006 UTC (7 years, 11 months ago) by kosmikus
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 , to selected 1.2
Install HTML docs recursively. Allow to add extra flags to package configuration.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Aug 2 19:49:03 2006 UTC (8 years, 1 month ago) by dcoutts
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 , to selected 1.2
Ask portage rather than ghc-pkg about which version of cabal to use.
  This way we build packages using version of cabal from portage that we
  tested rather than a version that the user installed. This is important
  as many packages are sensitive to changes in the Cabal API.

Make ghc-getghc and ghc-getghcpkg functions return absolute paths and fix
  up one place in the haskell-cabal eclass where this had a knock-on effect
  this should fix bug #140589


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Mar 13 09:57:10 2006 UTC (8 years, 6 months ago) by dcoutts
Branch: MAIN
Changes since 1.5: +3 -4 lines
Diff to previous 1.5 , to selected 1.2
Reduce arch-specific conditionals to the minimum necessary (ie only ppc64).


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Mar 1 12:54:35 2006 UTC (8 years, 6 months ago) by dcoutts
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 , to selected 1.2
Don't build GHCi libs for arches that do not support GHCi.
Also building GHCi libs on ppc64 causes "TOC overflow".


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Thu Feb 16 14:10:51 2006 UTC (8 years, 7 months ago) by dcoutts
Branch: MAIN
Changes since 1.3: +14 -11 lines
Diff to previous 1.3 , to selected 1.2
Expect one of "lib"/"bin" in CABAL_FEATURES.
Only run the registration if "lib" is set.
Always expect a package file to be generated when "lib" is set.


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Feb 16 12:32:53 2006 UTC (8 years, 7 months ago) by dcoutts
Branch: MAIN
Changes since 1.2: +13 -2 lines
Diff to previous 1.2
Add "lib" and "bin" to known CABAL_FEATURES.
Also complain less about unknown values CABAL_FEATURES.


Revision 1.2 - (view) (download) (annotate) - [selected]
Mon Dec 5 12:24:53 2005 UTC (8 years, 9 months ago) by dcoutts
Branch: MAIN
Changes since 1.1: +11 -3 lines
Diff to previous 1.1
When doing profiling, enable profiling for libs as well as executables.
Cope with packages that do not register any libs, eg cabalised ebuilds that are
just straight programs (like c2hs).


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Tue Sep 13 12:53:34 2005 UTC (9 years ago) by kosmikus
Branch: MAIN
Diff to selected 1.2
new eclass for Haskell packages that make use of the Common Architecture for Building Applications and Libraries (cabal)


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20