Skip to content

Commit

Permalink
Merge pull request #6 from kalefranz/update-conda
Browse files Browse the repository at this point in the history
update conda to 4.2
  • Loading branch information
kalefranz authored Oct 27, 2016
2 parents 5e2eecf + 77c1e5d commit 7793c86
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 29 deletions.
8 changes: 1 addition & 7 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,9 @@ set CONDA_DEFAULT_ENV=
echo %PKG_VERSION% > conda\.version

:: Install the Python code
%PYTHON% setup.py install --single-version-externally-managed --record=record.txt
%PYTHON% setup.py install
if errorlevel 1 exit 1

:: Install the activation scripts.
copy %SRC_DIR%\bin\activate %PREFIX%\Scripts\activate
copy %SRC_DIR%\bin\activate.bat %PREFIX%\Scripts\activate.bat
copy %SRC_DIR%\bin\deactivate %PREFIX%\Scripts\deactivate
copy %SRC_DIR%\bin\deactivate.bat %PREFIX%\Scripts\deactivate.bat

:: Install fish activation script.
mkdir %PREFIX%\etc\fish\conf.d
cp %PREFIX%\shell\conda.fish > %PREFIX%\etc\fish\conf.d\conda.fish
Expand Down
6 changes: 1 addition & 5 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ export CONDA_DEFAULT_ENV=''
echo "${PKG_VERSION}" > conda/.version

# Install the Python code
$PYTHON setup.py install --single-version-externally-managed --record=record.txt

# Install the activation scripts.
cp $SRC_DIR/bin/activate $PREFIX/bin/activate
cp $SRC_DIR/bin/deactivate $PREFIX/bin/deactivate
$PYTHON setup.py install

# Install the fish activation script.
mkdir -p $PREFIX/etc/fish/conf.d/
Expand Down
25 changes: 8 additions & 17 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% set name = "conda" %}
{% set version = "4.1.12" %}
{% set checksum = "302c3cdfa05e7a0ca16eb3a568e85079ab8bd98697ca662d0335e622247dcf50" %}

{% set version = "4.2.11" %}
{% set checksum = "7cc6696aaf50d1ff5ce502f99c7062ce4258dadfb0fb94b01874c999c929f3c2" %}

package:
name: conda
Expand Down Expand Up @@ -43,22 +42,14 @@ build:
requirements:
build:
- python
- setuptools
- conda-env >=2.5
- menuinst # [win]
- pycosat
- pyyaml
- requests
- ruamel_yaml

run:
- python
- conda-env >=2.5
- menuinst # [win]
- pycosat
- pyyaml
- requests
- ruamel_yaml
- conda-env >=2.6
- enum34 # [py<34]
- menuinst # [win]
- pycosat >=0.6.1
- requests >=2.5.3
- ruamel_yaml >=0.11.14

test:
imports:
Expand Down

0 comments on commit 7793c86

Please sign in to comment.