Skip to content

Commit

Permalink
Moved python-dateutil recipe to python directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mutirri committed Mar 16, 2016
1 parent 25a63a6 commit 55b4192
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 99 deletions.
2 changes: 0 additions & 2 deletions python-dateutil/bld.bat

This file was deleted.

6 changes: 0 additions & 6 deletions python-dateutil/build.sh

This file was deleted.

29 changes: 0 additions & 29 deletions python-dateutil/meta.yaml

This file was deleted.

8 changes: 1 addition & 7 deletions python/python-dateutil/bld.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
"%PYTHON%" setup.py install
python setup.py install
if errorlevel 1 exit 1

:: Add more build steps here, if they are necessary.

:: See
:: http://docs.continuum.io/conda/build.html
:: for a list of environment variables that are set during the build process.
7 changes: 2 additions & 5 deletions python/python-dateutil/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/bash

$PYTHON setup.py install
mkdir -vp ${PREFIX}/bin;

# Add more build steps here, if they are necessary.
${PYTHON} setup.py install || exit 1;

# See
# http://docs.continuum.io/conda/build.html
# for a list of environment variables that are set during the build process.
67 changes: 17 additions & 50 deletions python/python-dateutil/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,62 +1,29 @@
package:
name: python-dateutil
version: !!str 2.2
name: python-dateutil
version: 2.3

source:
fn: python-dateutil-2.2.tar.gz
url: https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.2.tar.gz
md5: c1f654d0ff7e33999380a8ba9783fd5c
# patches:
# List any patch files here
# - fix.patch
git_url: https://github.com/dateutil/dateutil
git_tag: 2.3

# build:
#preserve_egg_dir: True
#entry_points:
# Put any entry points (scripts to be generated automatically) here. The
# syntax is module:function. For example
#
# - python-dateutil = python-dateutil:main
#
# Would create an entry point called python-dateutil that calls python-dateutil.main()


# If this is a new build for the same version, increment the build
# number. If you do not include this key, it defaults to 0.
# number: 1
build:
number: 0

requirements:
build:
- python
- setuptools
- six
build:
- python
- six >=1.5

run:
- python
- six
run:
- python
- six >=1.5

test:
# Python imports
imports:
- dateutil
- dateutil.zoneinfo

#commands:
# You can put test commands to be run here. Use this to test that the
# entry points work.


# You can also put a file called run_test.py in the recipe that will be run
# at test time.

# requires:
# Put any additional test requirements here. For example
# - nose
imports:
- dateutil

about:
home: http://labix.org/python-dateutil
license: BSD License
home: https://github.com/dateutil/dateutil/
license: BSD
summary: Extensions to the standard Python datetime module

# See
# http://docs.continuum.io/conda/build.html for
# more information about meta.yaml

0 comments on commit 55b4192

Please sign in to comment.