Commit Graph
25 Commits
Author SHA1 Message Date
Samuel John 0b50110107 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
Brett Koonce 5a81b533e7 duplicity 0.6.21
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-19 20:03:53 -08:00
Jack Nagel 0f1f0e5142 duplicity: make universal optional
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-26 12:29:15 -06:00
Charlie Sharpsteen 07bfaf64e7 duplicity: Fix installation with distutils.cfg
The Homebrew Python installations place a `distutils.cfg` file that can override
arguments passed on the command line. Specifically, our `distutils.cfg` sets a
value for `install-lib`, so `--install-lib` needs to be passed to `setup.py` to
override this default. Passing `--install-purelib` and `--install-platlib` is
not sufficient.
2012-12-06 15:29:56 -08:00
Brett Koonce e41b44df2d duplicity 0.6.20
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-12 13:23:42 -08:00
Mike McQuaid 3c5ca25cad Batch convert MD5 formula to SHA1.
Closes #14653.
2012-09-03 11:36:42 -07:00
Charlie Sharpsteen 6e7ff26299 duplicity: Update to 0.19 2012-05-31 11:01:20 -07:00
Johannas Heller bef8d85de2 duplicity 0.6.18
Closes #10834.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-10 07:54:56 -08:00
Jack Nagel e789dc25a7 duplicity: don't shell out to move files
And don't invoke system in such a way that escapes the glob.

Fixes #10196.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-14 23:38:46 -06:00
Jack Nagel f0f4b000e9 duplicity: fix audit warning
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-13 14:57:57 -06:00
Adam Vandenberg 3f3917c2ec duplicity: use install_symlink 2012-02-12 20:08:57 -08:00
Charlie Sharpsteen 4b633d981d Duplicity: Update to 0.6.17 2011-11-29 10:55:16 -08:00
Charlie Sharpsteen 54f51239b5 duplicity: Update to 0.6.16 2011-10-25 11:23:27 -07:00
Jack Nagel ddb4d9bd16 duplicity 0.6.15
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-26 10:42:16 -05:00
Thomas Wiebe 5c82e592e9 duplicity: ssh-backend fix backported
back-ported fix to ssh-backend. fixed in upstream for 0.6.15.
for issue-details see https://bugs.launchpad.net/duplicity/+bug/823556

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-18 22:58:12 -07:00
Charlie Sharpsteen 510c9e383c duplicity 0.6.14
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-29 19:31:37 -07:00
Neal Clark 6e4f46b77d Update duplicity to 0.6.13
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-02 15:57:49 -07:00
Charlie Sharpsteen 8985fec052 Duplicity compatibility with new Python setup
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-29 16:52:26 -07:00
Adam Vandenberg 47385d4948 duplicity 0.6.12
Also use a self-contained install method that doesn't require
editing PYTHONPATH.
2011-03-10 22:13:01 -08:00
Charlie Sharpsteen 3d05460651 Update duplicity to 6.11.0 (fixes S3)
Apparently 6.10.0 broke backups to Amazon S3 for some people.  This release
fixes this bug.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-11-20 22:46:11 +00:00
Tom Taylor 6f8fdd28bb Bumping duplicity to version 0.6.10
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-14 15:41:53 -08:00
Adam Vandenberg aecfb5ffb2 Update duplicity 2010-07-22 13:20:40 -07:00
Blake Smith 69875d70f8 Add gnupg dependency for duplicity encryption backup
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-08 15:48:24 -07:00
Adam Vandenberg c33c74bf4a Add Python caveats to duplicity. 2010-07-03 22:18:26 -07:00
Dan Walters 258e261712 duplicity 0.6.62
Duplicity backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server.
2009-12-05 16:43:35 +00:00