306 Commits

Author SHA1 Message Date
Peter Melnichenko
e89c557d23 Use new luarocks org name 2016-11-04 00:16:40 +03:00
Peter Melnichenko
e26ac2e05a Add support for Luarocks 2.4.1 2016-10-27 20:17:57 +03:00
Peter Melnichenko
3af691efe9 Fix OS X CI
Do not `brew install` python on OS X, it's already installed on the
new image Travis uses.
2016-10-27 20:09:11 +03:00
Peter Melnichenko
012172c020 Handle unicode in output correctly in tests under py2 2016-10-16 17:53:54 +03:00
Peter Melnichenko
fba0462779 0.11.0 release 0.11.0 2016-09-10 14:16:21 +03:00
Peter Melnichenko
88514214a1 Add two new patches for Lua 5.3.3 2016-09-10 13:48:29 +03:00
Peter Melnichenko
c5d5cf1424 Add support for LuaRocks 2.4.0 2016-09-10 13:32:31 +03:00
Peter Melnichenko
7afe537d52 Merge pull request #28 from starius/expanduser
use os.path.expanduser to get home dir on Unix
2016-07-29 13:36:51 +04:00
Boris Nagaev
c0ae601f3c use os.path.expanduser to get home dir on Unix
It works even if HOME is not set.
2016-07-28 11:46:58 +03:00
Peter Melnichenko
6e7854fd05 0.10.0 release 0.10.0 2016-07-14 18:30:38 +03:00
Peter Melnichenko
e7d5ca4bf6 Fix batch activation file for paths with parens 2016-07-14 10:23:18 +03:00
Peter Melnichenko
81d0094d67 Attempt to fix tests 2016-07-14 12:10:28 +03:00
Peter Melnichenko
1439be0036 Add a test for activation scripts 2016-07-14 12:03:14 +03:00
Peter Melnichenko
bf1bd19713 Implement activation script for powershell
Also fix activation script for batch error when location path
contains spaces.
2016-07-13 15:31:31 +03:00
Peter Melnichenko
8b8f75d14c Implement activation script for batch 2016-07-13 13:26:49 +03:00
Peter Melnichenko
5df72f9631 Fix error when location dir doesn't exist beforehand
Introduced in parent commit.
2016-07-12 23:43:09 +03:00
Peter Melnichenko
5ba64a4379 Implement activation scripts for POSIX-enough shells
When creating an environment write activation scripts into $PREFIX/bin.
An activation script, when sourced, adds $PREFIX/bin to $PATH and adds
'deactivate-lua' function that removes it. Activating an environment
automatically deactivates previous one.

Supported shells:

* bash, zsh, dash: $PREFIX/bin/activate
* fish: $PREFIX/bin/activate.fish
* csh, tcsh: $PREFIX/bin/activate.csh

Also fixed compilation error for location paths containing double quotes.

TODO: add activation scripts for Windoss (powershell and batch).
Ref #23.
2016-07-12 19:44:41 +03:00
Peter Melnichenko
d45a05939f Use textwrap.dedent 2016-07-12 12:27:02 +03:00
Peter Melnichenko
f45c1352f2 More verbose patching reporting by default
If --patch is used, showing names of applied patches seems like a good
idea.
2016-06-27 11:48:38 +03:00
Peter Melnichenko
83ac3076b7 Add patch for a bug in Lua 5.3.3 2016-06-27 11:48:33 +03:00
Peter Melnichenko
ac3507688a Fix typo in README.rst [ci skip] 2016-06-27 11:32:38 +03:00
Peter Melnichenko
c7c37cfc4a 0.9.0 release
Also change development status from 'Alpha' to 'Beta' because the
thing has been working more a less for quite some time.
0.9.0
2016-06-21 21:22:49 +03:00
Peter Melnichenko
1ec06f2499 Disable unused caching on travis 2016-06-21 20:43:04 +03:00
Peter Melnichenko
a9b8ab94d9 Fix SHA256 mismatch when downloading with chunked transfer enconding
Switch to urllib2, urllib doesn't support chunked.
2016-06-21 20:32:15 +03:00
Peter Melnichenko
7c436e7632 Add support for LuaRocks 2.0.13 2016-06-17 20:33:22 +03:00
Peter Melnichenko
1839dd5cc6 0.8.1 release 0.8.1 2016-06-12 23:51:21 +03:00
Peter Melnichenko
fa0a6f6a53 Deal with read-only files when removing directories
Fixes error on windows when installing from non-default
git repo (for some reason a few files in .git are read-only
and shutil.rmtree fails to remove them).
2016-06-11 11:47:48 +03:00
Peter Melnichenko
3eadfc5456 0.8.0 release 0.8.0 2016-06-07 11:46:40 +03:00
Peter Melnichenko
bf3fae2dfe Merge pull request #26 from starius/lua-5.3.3
add Lua 5.3.3
2016-06-07 12:34:49 +04:00
Peter Melnichenko
39d59eb05a Tests: don't rely on Lua 5.3.2 bugs being present in latest Lua 2016-06-07 11:29:31 +03:00
Boris Nagaev
d14b89262f add Lua 5.3.3 2016-06-07 01:41:52 +03:00
Peter Melnichenko
fb7181bfee 0.7.0 release 0.7.0 2016-05-03 19:52:22 +03:00
Peter Melnichenko
ef730fb24f Document --builds option 2016-05-03 17:32:18 +03:00
Peter Melnichenko
43c40e6c75 Fix incorrect target used when installing just LuaRocks on Windows
Use target from identifiers saved when installing Lua instead
of using target specified when installing LuaRocks.
2016-05-03 11:44:24 +03:00
Peter Melnichenko
75111b5064 Pass /F to LuaRocks install.bat to allow upgrading 2016-05-03 11:39:54 +03:00
Peter Melnichenko
78b4476c02 Attempt to fix random errors on Appveyor 2016-05-03 13:47:18 +03:00
Peter Melnichenko
fa0639f640 Always close all filehandles 2016-05-01 21:59:00 +03:00
Peter Melnichenko
1d184a0c14 Fix an extra @memoize 2016-05-01 21:21:24 +03:00
Peter Melnichenko
5752cf40b5 Try both amd64 and x86_amd64 VS setup scripts 2016-05-01 21:08:50 +03:00
Peter Melnichenko
2a98960a94 Fix setup_vs call 2016-05-01 21:08:30 +03:00
Peter Melnichenko
a438a1cfa0 Change how VS auto-setup targets work
* vs on x64: first try to set up tools for x64, then for x86
  using all VS verions instead of trying x64 for 11.0+ and x86
  for 9.0 and 10.0
* vs_32, vs_64: do setup even if cl.exe is present. That behaviour
  is only needed as a default.
2016-05-01 20:45:17 +03:00
Peter Melnichenko
bbc6080e2f Disable caching if relevant env vars are missing
Ref #24
2016-05-01 15:08:04 +03:00
Peter Melnichenko
53582de18d Fix test: clone luarocks only if it's missing 2016-05-01 14:37:27 +03:00
Peter Melnichenko
0780ddd950 Add mroe tests 2016-05-01 14:31:49 +03:00
Peter Melnichenko
dd10a136bd Move luarocks test repo location
For some reason deleting it from test/builds causes a permission
error on Windows even though it's created from the same nosetest
instance.
2016-04-30 20:57:32 +03:00
Peter Melnichenko
ba652ab780 Don't elevate luarocks installer on Windows if possible 2016-04-30 20:55:44 +03:00
Peter Melnichenko
c6599907dd Fix pep8 compliance 2016-04-30 20:36:45 +03:00
Peter Melnichenko
c279599665 Add a test 2016-04-30 20:31:48 +03:00
Peter Melnichenko
f3d5c10a93 Fix coverage upload on Appveyor
Don't use 'shallow_clone' in appveyor.yml, it causes
.git/ missing. Also remove an old caching option.
2016-04-30 16:49:29 +03:00
Peter Melnichenko
27649a3dc8 Appveyor: test a git command 2016-04-30 16:41:54 +03:00