Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' into kkwiek/recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
mutirri committed Feb 25, 2016
2 parents 58e8cd6 + 8372aaa commit 0564278
Show file tree
Hide file tree
Showing 1,752 changed files with 4,598 additions and 1,614 deletions.
45 changes: 45 additions & 0 deletions .binstar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

# Notes:
# This .binstar.yml file controls CI testing of this repo
# Adaptations for other uses may change the package name
# or user.

after_failure:
- echo "After failure message!"
after_script:
- echo "ProtoCI build was a:$BINSTAR_BUILD_RESULT" | tee artifact1.txt
after_success:
- echo "ProtoCI BUILD SUCCESS"
before_script:
- echo "Prepare to clone conda and conda-build for metadata reading..."
- mkdir conda_tmp
# avoid conflict with conda or conda-build dirs if already there
- git clone https://github.com/conda/conda-build conda_tmp/conda-build
- git clone https://github.com/conda/conda conda_tmp/conda
- export PYTHONPATH=$PYTHONPATH:./conda_tmp/conda-build:./conda_tmp/conda
- echo "PYTHONPATH below should include ./conda_tmp"
- echo $PYTHONPATH
- conda install -c psteinberg protoci
- conda config --add channels r
engine:
- python=2.7
- python=3.4
- python=3.5
script:
- protoci-difference-build .
install_channels:
- defaults
- python
- r
package: conda-recipes
platform:
- linux-64
- osx-64
- win-64
- win-32
# anaconda.org username or org name:
user: conda-team
# suppress print of messages ending in \r (interactive ones)
quiet: True
#timeout after N seconds without IO
iotimeout: 200
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
## Important Note

This repository has grown to well over 500 packages, and we are doing some housekeeping. We are currently in the process of moving most/all python packages into the `python` root directory. From there, we'll continue tidying up the root diretory with categories as appropriate.

# Conda Recipes

Example recipes for the new conda build system. Use
Example recipes for the conda build system. Use

conda build <recipe directory>

You have to use conda >= 1.7
[conda](https://github.com/continuumio/conda).
This is a community repository. These recipes are not necessarily those used to create the [Anaconda Python Distribution](https://www.continuum.io/downloads).

See http://conda.pydata.org/docs/building/build.html for information on how to make a recipe,
or just look at the examples here.
Expand Down
4 changes: 2 additions & 2 deletions boost/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ if errorlevel 1 exit 1
if errorlevel 1 exit 1

:: Install fix-up for a non version-specific boost include
move %LIBRARY_INC%\boost-1_59\boost %LIBRARY_INC%
move %LIBRARY_INC%\boost-1_60\boost %LIBRARY_INC%
if errorlevel 1 exit 1

:: Move dll's to LIBRARY_BIN
move %LIBRARY_LIB%\*vc%LIB_VER%-mt-1_59.dll "%LIBRARY_BIN%"
move %LIBRARY_LIB%\*vc%LIB_VER%-mt-1_60.dll "%LIBRARY_BIN%"
if errorlevel 1 exit 1
8 changes: 4 additions & 4 deletions boost/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package:
name: boost
version: 1.59.0
version: 1.60.0

source:
fn: boost_1_59_0.tar.bz2
url: http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.bz2
md5: 6aa9a5c6a4ca1016edd0ed1178e3cb87
fn: boost_1_60_0.tar.bz2
url: http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.bz2
md5: 65a840e1a0b13a558ff19eeb2c4f0cbe

build:
features:
Expand Down
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions cloudpickle/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package:
name: cloudpickle
version: "0.1.1"

source:
fn: cloudpickle-0.1.1.tar.gz
url: https://pypi.python.org/packages/source/c/cloudpickle/cloudpickle-0.1.1.tar.gz
md5: 47376a2fa209283b5e6d05b36eecdb5a

build:
number: 0

requirements:
build:
- python
- setuptools

run:
- python

test:
imports:
- cloudpickle

about:
home: https://github.com/cloudpipe/cloudpickle
license: BSD License
summary: 'Extended pickling support for Python objects'
15 changes: 11 additions & 4 deletions cmake/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
package:
name: cmake
version: 3.3.1
version: 3.4.3

source:
fn: cmake-3.3.1.tar.gz
url: http://www.cmake.org/files/v3.3/cmake-3.3.1.tar.gz
md5: 52638576f4e1e621fed6c3410d3a1b12
fn: cmake-3.4.3.tar.gz
url: http://www.cmake.org/files/v3.4/cmake-3.4.3.tar.gz
sha1: 49e4f05d46d4752e514b19ba36bf97d20a7da66a

requirements:
build:
- gcc # [unix]
run:
- libgcc # [unix]

test:
commands:
Expand All @@ -14,3 +20,4 @@ test:
about:
home: http://www.cmake.org/
license: BSD
summary: A cross-platform open-source make system
5 changes: 0 additions & 5 deletions conda/bld.bat

This file was deleted.

131 changes: 131 additions & 0 deletions freeimage/Makefile.osx.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
diff --git Makefile.osx Makefile.osx
index c56dd9b..8a8cd3f 100755
--- Makefile.osx
+++ Makefile.osx
@@ -5,46 +5,25 @@
include Makefile.srcs

# General configuration variables:
-CC_PPC = gcc-4.0
-CC_I386 = gcc-4.0
-CC_X86_64 = gcc-4.0
-CPP_PPC = g++-4.0
-CPP_I386 = g++-4.0
-CPP_X86_64 = g++-4.0
-COMPILERFLAGS = -Os -fexceptions -fvisibility=hidden -DNO_LCMS
-COMPILERFLAGS_PPC = -arch ppc
-COMPILERFLAGS_I386 = -arch i386
+CC_X86_64 = gcc
+CPP_X86_64 = g++
+COMPILERFLAGS = -Os -fexceptions -fvisibility=hidden -DNO_LCMS -D__ANSI__ -DDISABLE_PERF_MEASUREMENT
COMPILERFLAGS_X86_64 = -arch x86_64
COMPILERPPFLAGS = -Wno-ctor-dtor-privacy
-INCLUDE +=
-INCLUDE_PPC = -isysroot /Developer/SDKs/MacOSX10.5.sdk
-INCLUDE_I386 = -isysroot /Developer/SDKs/MacOSX10.5.sdk
-INCLUDE_X86_64 = -isysroot /Developer/SDKs/MacOSX10.6.sdk
-CFLAGS_PPC = $(COMPILERFLAGS) $(COMPILERFLAGS_PPC) $(INCLUDE) $(INCLUDE_PPC)
-CFLAGS_I386 = $(COMPILERFLAGS) $(COMPILERFLAGS_I386) $(INCLUDE) $(INCLUDE_I386)
CFLAGS_X86_64 = $(COMPILERFLAGS) $(COMPILERFLAGS_X86_64) $(INCLUDE) $(INCLUDE_X86_64)
-CPPFLAGS_PPC = $(COMPILERPPFLAGS) $(CFLAGS_PPC)
-CPPFLAGS_I386 = $(COMPILERPPFLAGS) $(CFLAGS_I386)
CPPFLAGS_X86_64 = $(COMPILERPPFLAGS) $(CFLAGS_X86_64)
-LIBRARIES_PPC = -Wl,-syslibroot /Developer/SDKs/MacOSX10.5.sdk
-LIBRARIES_I386 = -Wl,-syslibroot /Developer/SDKs/MacOSX10.5.sdk
-LIBRARIES_X86_64 = -Wl,-syslibroot /Developer/SDKs/MacOSX10.6.sdk
LIBTOOL = libtool
LIPO = lipo

TARGET = freeimage
STATICLIB = lib$(TARGET).a
SHAREDLIB = lib$(TARGET)-$(VER_MAJOR).$(VER_MINOR).dylib
-LIBNAME = lib$(TARGET).$(VER_MAJOR).dylib
+LIBNAME = lib$(TARGET).dylib
HEADER = Source/FreeImage.h

-.SUFFIXES: .o-ppc .o-i386 .o-x86_64
-MODULES_PPC = $(SRCS:.c=.o-ppc)
-MODULES_I386 = $(SRCS:.c=.o-i386)
-MODULES_X86_64 = $(SRCS:.c=.o-x86_64)
-MODULES_PPC := $(MODULES_PPC:.cpp=.o-ppc)
-MODULES_I386 := $(MODULES_I386:.cpp=.o-i386)
-MODULES_X86_64 := $(MODULES_X86_64:.cpp=.o-x86_64)
+.SUFFIXES: .o
+MODULES_X86_64 = $(SRCS:.c=.o)
+MODULES_X86_64 := $(MODULES_X86_64:.cpp=.o)

PREFIX = /usr/local
INSTALLDIR = $(PREFIX)/lib
@@ -55,61 +34,30 @@ default: all
all: dist

dist: FreeImage
- mkdir -p Dist
- cp *.a Dist/
- cp *.dylib Dist/
- cp Source/FreeImage.h Dist/
+ cp *.a Dist
+ cp *.dylib Dist
+ cp Source/FreeImage.h Dist

FreeImage: $(STATICLIB) $(SHAREDLIB)

-$(STATICLIB): $(STATICLIB)-ppc $(STATICLIB)-i386 $(STATICLIB)-x86_64
- $(LIPO) -create $(STATICLIB)-ppc $(STATICLIB)-i386 $(STATICLIB)-x86_64 -output $(STATICLIB)
-
-$(STATICLIB)-ppc: $(MODULES_PPC)
- $(LIBTOOL) -arch_only ppc -o $@ $(MODULES_PPC)
-
-$(STATICLIB)-i386: $(MODULES_I386)
- $(LIBTOOL) -arch_only i386 -o $@ $(MODULES_I386)
-
-$(STATICLIB)-x86_64: $(MODULES_X86_64)
+$(STATICLIB): $(MODULES_X86_64)
$(LIBTOOL) -arch_only x86_64 -o $@ $(MODULES_X86_64)

-$(SHAREDLIB): $(SHAREDLIB)-ppc $(SHAREDLIB)-i386 $(SHAREDLIB)-x86_64
- $(LIPO) -create $(SHAREDLIB)-ppc $(SHAREDLIB)-i386 $(SHAREDLIB)-x86_64 -output $(SHAREDLIB)
-
-$(SHAREDLIB)-ppc: $(MODULES_PPC)
- $(CPP_PPC) -arch ppc -dynamiclib $(LIBRARIES_PPC) -o $@ $(MODULES_PPC)
-
-$(SHAREDLIB)-i386: $(MODULES_I386)
- $(CPP_I386) -arch i386 -dynamiclib $(LIBRARIES_I386) -o $@ $(MODULES_I386)
-
-$(SHAREDLIB)-x86_64: $(MODULES_X86_64)
+$(SHAREDLIB): $(MODULES_X86_64)
$(CPP_X86_64) -arch x86_64 -dynamiclib $(LIBRARIES_X86_64) -o $@ $(MODULES_X86_64)

-.c.o-ppc:
- $(CC_PPC) $(CFLAGS_PPC) -c $< -o $@
-
-.c.o-i386:
- $(CC_I386) $(CFLAGS_I386) -c $< -o $@
-
-.c.o-x86_64:
+.c.o:
$(CC_X86_64) $(CFLAGS_X86_64) -c $< -o $@

-.cpp.o-ppc:
- $(CPP_PPC) $(CPPFLAGS_PPC) -c $< -o $@
-
-.cpp.o-i386:
- $(CPP_I386) $(CPPFLAGS_I386) -c $< -o $@
-
-.cpp.o-x86_64:
+.cpp.o:
$(CPP_X86_64) $(CPPFLAGS_X86_64) -c $< -o $@

install:
- install -d -m 755 -o root -g wheel $(INCDIR) $(INSTALLDIR)
- install -m 644 -o root -g wheel $(HEADER) $(INCDIR)
- install -m 644 -o root -g wheel $(SHAREDLIB) $(STATICLIB) $(INSTALLDIR)
+ install -d -m 755 $(INCDIR) $(INSTALLDIR)
+ install -m 644 $(HEADER) $(INCDIR)
+ install -m 644 $(SHAREDLIB) $(STATICLIB) $(INSTALLDIR)
ranlib -sf $(INSTALLDIR)/$(STATICLIB)
ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(LIBNAME)

clean:
- rm -f core Dist/*.* u2dtmp* $(MODULES_PPC) $(MODULES_I386) $(MODULES_X86_64) $(STATICLIB) $(STATICLIB)-ppc $(STATICLIB)-i386 $(SHAREDLIB) $(SHAREDLIB)-ppc $(SHAREDLIB)-i386 $(SHAREDLIB)-x86_64
+ rm -f core Dist/*.* u2dtmp* $(MODULES_X86_64) $(STATICLIB) $(SHAREDLIB) $(SHAREDLIB)
14 changes: 14 additions & 0 deletions freeimage/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

if defined ProgramFiles(x86) (
set ARCH=x64
) else (
set ARCH=Win32
)

devenv.exe FreeImage.2008.sln /Upgrade
msbuild FreeImage.2008.sln /property:Configuration=Release /property:Platform=%ARCH%

copy Dist\FreeImage.dll %LIBRARY_BIN%\FreeImage-3.17.0.dll
copy Dist\FreeImage.dll %LIBRARY_BIN%\FreeImage.dll
copy Dist\FreeImage.h %LIBRARY_INC%\FreeImage.h
copy Dist\FreeImage.lib %LIBRARY_LIB%\FreeImage.lib
10 changes: 2 additions & 8 deletions freeimage/build.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
#!/bin/bash

export CFLAGS="-Wall -g -m64 -pipe -O2 -march=x86-64 -fPIC"
export CXXLAGS="${CFLAGS}"
export CPPFLAGS="-I${PREFIX}/include"
export LDFLAGS="-L${PREFIX}/lib"

cd ${SRC_DIR} || exit 1;

sed -i 's:-o root -g root::' Makefile* || exit 1;
LANG="C" sed -i.bak 's:-o root -g root::' Makefile* || exit 1;

make || exit 1;
make install DESTDIR="${PREFIX}" || exit 1;

mkdir -p ${PREFIX}/lib || exit 1;
mkdir -p ${PREFIX}/include || exit 1;

mv ${PREFIX}/usr/lib/* ${PREFIX}/lib || exit 1;
mv ${PREFIX}/usr/include/* ${PREFIX}/include || exit 1;

rm -rf ${PREFIX}/usr/ || exit 1;
make install PREFIX="${PREFIX}" DESTDIR="${PREFIX}" INCDIR="${PREFIX}/include" INSTALLDIR="${PREFIX}/lib" || exit 1;
33 changes: 24 additions & 9 deletions freeimage/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@

package:
name: freeimage
version: 3.15.4
version: 3.17.0
# note: also update version in run_test.py

source:
fn: FreeImage3154.zip
url: http://optimate.dl.sourceforge.net/project/freeimage/Source%20Distribution/3.15.4/FreeImage3154.zip
md5: 9f9a3b2c3c1b4fd24fe479e8aaee86b1
fn: FreeImage3170.zip
url: http://optimate.dl.sourceforge.net/project/freeimage/Source%20Distribution/3.17.0/FreeImage3170.zip
md5: 459e15f0ec75d6efa3c7bd63277ead86

patches:
- Makefile.osx.patch # [osx]
- vs2010_omp.patch # [win and py3k]
- vs_snprintf.patch # [win and py>=3.5]

build:
number: 0
number: 1
features:
- vc9 [win and py27]
- vc10 [win and py34]
- vc14 [win and py35]

requirements:
run:
- zlib
- libtiff
build:
# Python here forces tracking of vc features on win.
- python [win]

test:
requires:
- python
commands:
- python run_test.py

about:
home: http://freeimage.sourceforge.net/
Expand Down
Loading

0 comments on commit 0564278

Please sign in to comment.