Commit graph

27 commits

Author SHA1 Message Date
Alexis Hildebrandt
1aed244500 ledger: install contributions
Closes Homebrew/homebrew#26328.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-01 09:00:44 -08:00
Alexis Hildebrandt
cb29a244b3 ledger: fix installation of python bindings
the upstream repository fixed the issue.
https://github.com/ledger/ledger/pull/231

Closes Homebrew/homebrew#26225.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-30 09:43:15 +01:00
Mike McQuaid
db59c5913a ledger: cleanup python usage. 2014-01-04 13:19:47 +00:00
Lifepillar
da5b094d84 ledger: remove unneeded HEAD patch.
The patch has been pushed upstream, so it is not needed any longer.

Closes Homebrew/homebrew#23903.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-03 16:15:20 +08:00
Lifepillar
a7a23825a6 ledger: fix --HEAD for OS X 10.9
Closes Homebrew/homebrew#23670.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-27 11:07:01 -07:00
Jack Nagel
474e4d0cb0 ledger: use spec deps 2013-09-21 20:47:07 -05:00
Mike McQuaid
9b2a278da2 ledger: fix missing gmp dependency.
Closes Homebrew/homebrew#22352.
2013-09-07 14:16:15 +01:00
Samuel John
f6e80bdea2 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Alexis Hildebrandt
ce483779e7 ledger: Clean-up dependencies, use ninja for build
Change urls to point to ledger organization on github

Closes Homebrew/homebrew#19777.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-13 11:45:37 -07:00
Alexis Hildebrandt
760ecc63e2 ledger: switch --HEAD to master branch
Closes Homebrew/homebrew#19769.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-13 09:40:13 -07:00
Adam Vandenberg
b04fad14d0 ledger: change download location
Closes Homebrew/homebrew#18772.
2013-04-13 08:46:22 -07:00
Gert Van Gool
a817d7a669 ledger: remove upstreamed patch
This removes the time-colon patch since it was included in upstream on
January 29th 2013 (https://github.com/ledger/ledger/pull/107/)

Closes Homebrew/homebrew#17926.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-18 13:23:04 -06:00
Andrew Childs
2fac1ebc10 ledger: ofx support
Closes Homebrew/homebrew#17354.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-29 13:50:55 -08:00
Andrew Childs
63a9e18cff ledger: Use http. ftp appears to be down.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-29 13:50:55 -08:00
Alexis Hildebrandt
88908bf174 ledger: update HEAD build to acprep and cmake
The upstream repository switched to acprep and cmake and made
several changes to the build process when building ledger 3.0 (HEAD).

This commit includes:
  Change option to enable python support (disabled by default in acprep)
  Add option to enable debug build
  Add option to apply time-colon patch

Closes Homebrew/homebrew#14730.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-13 07:09:11 -07:00
Adam Vandenberg
e054b7bde3 ledger: use new dsl 2012-09-03 14:00:00 -07:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Jack Nagel
7c648d9732 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00
Jack Nagel
d1a2bb3c32 Use Homebrew's pcre where appropriate
We provide a pcre formula as OS X does not provide libpcre headers.
However, it does provide the library itself and so occasionally things
will use Homebrew's pcre headers and link against the system library.
This should be avoided to prevent incompatibilities, so explicitly tell
the build system where to look for the library where necessary.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-24 16:51:33 -06:00
Guan Yang
df94059995 ledger: option to disable Python support
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-29 21:49:47 -08:00
Jack Nagel
bb44922515 Use ENV.make_jobs in formulae
Some formulae are still calling Hardware.processor_count; replace those
instances with ENV.make_jobs.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-15 00:05:15 -05:00
Adam Gibbins
fda41fd788 ledger: Update to 2.6.3
Also update new homepage.

Closes Homebrew/homebrew#7575.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-12 10:33:15 -07:00
Adam Vandenberg
243bc743ea Use https for github repos. 2011-05-26 22:02:55 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Alexis Hildebrandt
d701ff8a8d Update Formula: ledger
Use next branch when installing head, which works with brew's boost
1.44 formula

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-20 13:56:20 -07:00
Alexis Hildebrandt
6f3262c952 Update Formula: ledger
Remove obsolete utfcpp sub-formula for ledger head builds,
since it's now being referenced as a git submodule.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-27 16:02:51 -07:00
Alexis Hildebrandt
53bb755f5d Ledger 2.6.2
Double-entry accounting system with a command-line reporting interface.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-28 08:52:57 -07:00