Skip to content

Instantly share code, notes, and snippets.

@msarahan
msarahan / post_diff.diff
Created October 3, 2016 23:43
Diff of post module from 1.21.14..2.0.2
diff --git a/conda_build/post.py b/conda_build/post.py
index 9ef0068..b94ee0b 100644
--- a/conda_build/post.py
+++ b/conda_build/post.py
@@ -1,6 +1,7 @@
from __future__ import absolute_import, division, print_function
from collections import defaultdict
+from functools import partial
from glob import glob
resources:
- name: project-a
type: git
source:
uri: https://github.com/msarahan/ci_test.git
- name: project-b
type: git
source:
uri: https://github.com/msarahan/ci_test.git

Keybase proof

I hereby claim:

  • I am msarahan on github.
  • I am msarahan (https://keybase.io/msarahan) on keybase.
  • I have a public key ASCgbQYvxs8paTvJyarz6ff2C3e9Dpt_1ncKka0M93enjAo

To claim this, I am signing this object:

@msarahan
msarahan / suggestions.patch
Created March 24, 2017 15:21
recipe change recommendations for @betranjacob
diff --git a/condarecipe/meta.yaml b/condarecipe/meta.yaml
index 23cfd3b..7f45fd9 100755
--- a/condarecipe/meta.yaml
+++ b/condarecipe/meta.yaml
@@ -6,19 +6,20 @@ package:
source:
path: ..
+build:
+ skip: True # [py<35]
@msarahan
msarahan / recipe_problems.patch
Created April 3, 2017 20:22
recipe suggestions
diff --git a/build/meta.yaml b/build/meta.yaml
index f615412..a276d6c 100644
--- a/build/meta.yaml
+++ b/build/meta.yaml
@@ -8,15 +8,16 @@ source:
build:
number: 1
string: py_{{PKG_BUILDNUM}}
+ skip: True # [py!=27]
@msarahan
msarahan / config
Created April 5, 2017 20:41
config
#
# Automatically generated file; DO NOT EDIT.
# Crosstool-NG Configuration
#
CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_make_3_81_or_newer=y
CT_CONFIGURE_has_xz=y
CT_CONFIGURE_has_cvs=y
CT_CONFIGURE_has_svn=y
CT_MODULES=y
@msarahan
msarahan / conda-build-3-demo.ipynb
Last active May 17, 2017 15:41
Conda-build 3 demo notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ipdb>
> z:\msarahan\code\conda-build\conda_build\environ.py(688)get_install_actions()
687 try:
--> 688 actions = install_actions(prefix, index, specs, force=True)
689 except NoPackagesFoundError as exc:
ipdb> specs
(MatchSpec('vs2015_runtime 14.0.25420.*'), MatchSpec('wheel 0.29.0.*'), MatchSpec('pip 9.0.1.*'), MatchSpec('lib1intradependencies 1.0.*'), MatchSpec('setuptools 27.2.0.*'), MatchSpec('python 3.6.0.*'))
ipdb> n
> z:\msarahan\code\conda-build\conda_build\environ.py(728)get_install_actions()
[
{
"basename": "osx-64/pygeogrids-0.2.3-py36_0.tar.bz2",
"data": [
{
"keyname": "570e9196878cc60a5b0434be/58eb457ffe2ee046e7fff201",
"id": "58eb457ffe2ee046e7fff201",
"md5": "561d5205f979365df3e6d809cdb4903d",
"time": "2017-04-10T08:42:40.025000+00:00"
},
@msarahan
msarahan / compile_baggageclaim_log
Created September 1, 2017 20:52
Compile baggageclaim standalone binary
[root@d350a9013fe3 build_scripts]# wget https://storage.googleapis.com/golang/go1.9.linux-386.tar.gz
[root@d350a9013fe3 build_scripts]# tar -xf go1.9.linux-386.tar.gz
[root@d350a9013fe3 build_scripts]# export GOPATH=${PWD}/baggageclaim/
[root@d350a9013fe3 build_scripts]# export GOROOT=${PWD}/go
[root@d350a9013fe3 build_scripts]# git clone https://github.com/concourse/baggageclaim
Cloning into 'baggageclaim'...
remote: Counting objects: 1999, done.
remote: Total 1999 (delta 0), reused 1 (delta 0), pack-reused 1998
Receiving objects: 100% (1999/1999), 433.82 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1278/1278), done.