{"action":"created","comment":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments/88360924","pull_request_review_id":8937378,"id":88360924,"diff_hunk":"@@ -0,0 +1,65 @@\n+#!/bin/sh\n+\n+export CC=${PREFIX}/bin/gcc\n+export CXXFLAGS=\"-fPIC\"\n+export LDFLAGS=\"-L${PREFIX}/lib\"\n+export CPPFLAGS=\"-I${PREFIX}/include\"\n+export CFLAGS=\"-I${PREFIX}/include\"\n+\n+if [ \"$(uname)\" = \"Darwin\" ]; then\n+    if [ -d \"/opt/X11\" ]; then\n+        x11_lib=\"-L/opt/X11/lib\"\n+        x11_inc=\"-I/opt/X11/include -I/opt/X11/include/freetype2\"\n+    else\n+        echo \"No X11 libs found. Exiting...\" 1>&2\n+        exit\n+    fi\n+\n+    conf_file=config/Darwin_Intel\n+elif [ \"$(uname)\" = \"Linux\" ]; then\n+    conf_file=config/LINUX\n+fi\n+\n+mkdir triangle_tmp && cd triangle_tmp && curl -q http://www.netlib.org/voronoi/triangle.shar | sh && mv triangle.? ../ni/src/lib/hlu/. && cd -\n+\n+# add \"-std=c99\" to compile config files -- not needed after NCL 6.3.0\n+sed -e \"s/^\\(#define CcOptions.*\\)$/\\1 -std=c99/\" -i.backup \"${conf_file}\"\n+\n+# install csh on CircleCI builds\n+if [ \"${CIRCLE_BUILD_IMAGE}\" = \"ubuntu-12.04\" ]; then\n+    sudo apt-get install csh\n+fi\n+\n+echo \"/*\n+ *  This file was created by the Configure script.\n+ */\n+\n+#ifdef FirstSite\n+\n+#endif /* FirstSite */\n+\n+#ifdef SecondSite\n+\n+#define YmakeRoot ${PREFIX}\n+\n+#define LibSearch ${x11_lib} -L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib\n+#define IncSearch ${x11_inc} -I${PREFIX}/include -I${PREFIX}/include/freetype2\n+\n+#define BuildGDAL 1\n+\n+#define HDF5lib -lhdf5_hl -lhdf5 -lz\n+#define NetCDF4lib  -lhdf5_hl -lhdf5\n+\n+#endif /* SecondSite */\" > config/Site.local","path":"recipes/ncl/build.sh","position":53,"original_position":53,"commit_id":"d251fd94e3979e2885161a75e5c99407e9a68063","original_commit_id":"d251fd94e3979e2885161a75e5c99407e9a68063","user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"body":"To keep the `build.sh` clean and readable maybe we could put this in a separate file in the recipe and just copy to `config/Site.local` at build time.","created_at":"2016-11-17T00:11:32Z","updated_at":"2016-11-17T00:11:32Z","html_url":"https://github.com/conda-forge/staged-recipes/pull/1955#discussion_r88360924","pull_request_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955","_links":{"self":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments/88360924"},"html":{"href":"https://github.com/conda-forge/staged-recipes/pull/1955#discussion_r88360924"},"pull_request":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955"}}},"pull_request":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955","id":94070932,"html_url":"https://github.com/conda-forge/staged-recipes/pull/1955","diff_url":"https://github.com/conda-forge/staged-recipes/pull/1955.diff","patch_url":"https://github.com/conda-forge/staged-recipes/pull/1955.patch","issue_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1955","number":1955,"state":"open","locked":false,"title":"Added NCL (NCAR Command Language) recipe","user":{"login":"khallock","id":1924696,"avatar_url":"https://avatars.githubusercontent.com/u/1924696?v=3","gravatar_id":"","url":"https://api.github.com/users/khallock","html_url":"https://github.com/khallock","followers_url":"https://api.github.com/users/khallock/followers","following_url":"https://api.github.com/users/khallock/following{/other_user}","gists_url":"https://api.github.com/users/khallock/gists{/gist_id}","starred_url":"https://api.github.com/users/khallock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khallock/subscriptions","organizations_url":"https://api.github.com/users/khallock/orgs","repos_url":"https://api.github.com/users/khallock/repos","events_url":"https://api.github.com/users/khallock/events{/privacy}","received_events_url":"https://api.github.com/users/khallock/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-16T23:15:00Z","updated_at":"2016-11-17T00:11:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26b3c02b2ba6ab85562ed8b50b497bb74a04624d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955/commits","review_comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955/comments","review_comment_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1955/comments","statuses_url":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/d251fd94e3979e2885161a75e5c99407e9a68063","head":{"label":"khallock:ncl","ref":"ncl","sha":"d251fd94e3979e2885161a75e5c99407e9a68063","user":{"login":"khallock","id":1924696,"avatar_url":"https://avatars.githubusercontent.com/u/1924696?v=3","gravatar_id":"","url":"https://api.github.com/users/khallock","html_url":"https://github.com/khallock","followers_url":"https://api.github.com/users/khallock/followers","following_url":"https://api.github.com/users/khallock/following{/other_user}","gists_url":"https://api.github.com/users/khallock/gists{/gist_id}","starred_url":"https://api.github.com/users/khallock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khallock/subscriptions","organizations_url":"https://api.github.com/users/khallock/orgs","repos_url":"https://api.github.com/users/khallock/repos","events_url":"https://api.github.com/users/khallock/events{/privacy}","received_events_url":"https://api.github.com/users/khallock/received_events","type":"User","site_admin":false},"repo":{"id":63289403,"name":"staged-recipes","full_name":"khallock/staged-recipes","owner":{"login":"khallock","id":1924696,"avatar_url":"https://avatars.githubusercontent.com/u/1924696?v=3","gravatar_id":"","url":"https://api.github.com/users/khallock","html_url":"https://github.com/khallock","followers_url":"https://api.github.com/users/khallock/followers","following_url":"https://api.github.com/users/khallock/following{/other_user}","gists_url":"https://api.github.com/users/khallock/gists{/gist_id}","starred_url":"https://api.github.com/users/khallock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khallock/subscriptions","organizations_url":"https://api.github.com/users/khallock/orgs","repos_url":"https://api.github.com/users/khallock/repos","events_url":"https://api.github.com/users/khallock/events{/privacy}","received_events_url":"https://api.github.com/users/khallock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/khallock/staged-recipes","description":"A place to submit conda recipes before they become fully fledged conda-forge feedstocks","fork":true,"url":"https://api.github.com/repos/khallock/staged-recipes","forks_url":"https://api.github.com/repos/khallock/staged-recipes/forks","keys_url":"https://api.github.com/repos/khallock/staged-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/khallock/staged-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/khallock/staged-recipes/teams","hooks_url":"https://api.github.com/repos/khallock/staged-recipes/hooks","issue_events_url":"https://api.github.com/repos/khallock/staged-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/khallock/staged-recipes/events","assignees_url":"https://api.github.com/repos/khallock/staged-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/khallock/staged-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/khallock/staged-recipes/tags","blobs_url":"https://api.github.com/repos/khallock/staged-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/khallock/staged-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/khallock/staged-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/khallock/staged-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/khallock/staged-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/khallock/staged-recipes/languages","stargazers_url":"https://api.github.com/repos/khallock/staged-recipes/stargazers","contributors_url":"https://api.github.com/repos/khallock/staged-recipes/contributors","subscribers_url":"https://api.github.com/repos/khallock/staged-recipes/subscribers","subscription_url":"https://api.github.com/repos/khallock/staged-recipes/subscription","commits_url":"https://api.github.com/repos/khallock/staged-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/khallock/staged-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/khallock/staged-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/khallock/staged-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/khallock/staged-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/khallock/staged-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/khallock/staged-recipes/merges","archive_url":"https://api.github.com/repos/khallock/staged-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/khallock/staged-recipes/downloads","issues_url":"https://api.github.com/repos/khallock/staged-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/khallock/staged-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/khallock/staged-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/khallock/staged-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/khallock/staged-recipes/labels{/name}","releases_url":"https://api.github.com/repos/khallock/staged-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/khallock/staged-recipes/deployments","created_at":"2016-07-14T00:43:59Z","updated_at":"2016-07-14T00:44:00Z","pushed_at":"2016-11-16T23:57:31Z","git_url":"git://github.com/khallock/staged-recipes.git","ssh_url":"git@github.com:khallock/staged-recipes.git","clone_url":"https://github.com/khallock/staged-recipes.git","svn_url":"https://github.com/khallock/staged-recipes","homepage":"https://conda-forge.github.io/","size":6879,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"conda-forge:master","ref":"master","sha":"ef6bcd9ed97bdf187d8c003619fe607384cb689c","user":{"login":"conda-forge","id":11897326,"avatar_url":"https://avatars.githubusercontent.com/u/11897326?v=3","gravatar_id":"","url":"https://api.github.com/users/conda-forge","html_url":"https://github.com/conda-forge","followers_url":"https://api.github.com/users/conda-forge/followers","following_url":"https://api.github.com/users/conda-forge/following{/other_user}","gists_url":"https://api.github.com/users/conda-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/conda-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda-forge/subscriptions","organizations_url":"https://api.github.com/users/conda-forge/orgs","repos_url":"https://api.github.com/users/conda-forge/repos","events_url":"https://api.github.com/users/conda-forge/events{/privacy}","received_events_url":"https://api.github.com/users/conda-forge/received_events","type":"Organization","site_admin":false},"repo":{"id":41829476,"name":"staged-recipes","full_name":"conda-forge/staged-recipes","owner":{"login":"conda-forge","id":11897326,"avatar_url":"https://avatars.githubusercontent.com/u/11897326?v=3","gravatar_id":"","url":"https://api.github.com/users/conda-forge","html_url":"https://github.com/conda-forge","followers_url":"https://api.github.com/users/conda-forge/followers","following_url":"https://api.github.com/users/conda-forge/following{/other_user}","gists_url":"https://api.github.com/users/conda-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/conda-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda-forge/subscriptions","organizations_url":"https://api.github.com/users/conda-forge/orgs","repos_url":"https://api.github.com/users/conda-forge/repos","events_url":"https://api.github.com/users/conda-forge/events{/privacy}","received_events_url":"https://api.github.com/users/conda-forge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda-forge/staged-recipes","description":"A place to submit conda recipes before they become fully fledged conda-forge feedstocks","fork":false,"url":"https://api.github.com/repos/conda-forge/staged-recipes","forks_url":"https://api.github.com/repos/conda-forge/staged-recipes/forks","keys_url":"https://api.github.com/repos/conda-forge/staged-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda-forge/staged-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda-forge/staged-recipes/teams","hooks_url":"https://api.github.com/repos/conda-forge/staged-recipes/hooks","issue_events_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/conda-forge/staged-recipes/events","assignees_url":"https://api.github.com/repos/conda-forge/staged-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/conda-forge/staged-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/conda-forge/staged-recipes/tags","blobs_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/conda-forge/staged-recipes/languages","stargazers_url":"https://api.github.com/repos/conda-forge/staged-recipes/stargazers","contributors_url":"https://api.github.com/repos/conda-forge/staged-recipes/contributors","subscribers_url":"https://api.github.com/repos/conda-forge/staged-recipes/subscribers","subscription_url":"https://api.github.com/repos/conda-forge/staged-recipes/subscription","commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda-forge/staged-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/conda-forge/staged-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda-forge/staged-recipes/merges","archive_url":"https://api.github.com/repos/conda-forge/staged-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda-forge/staged-recipes/downloads","issues_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/conda-forge/staged-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/conda-forge/staged-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda-forge/staged-recipes/labels{/name}","releases_url":"https://api.github.com/repos/conda-forge/staged-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/conda-forge/staged-recipes/deployments","created_at":"2015-09-02T21:49:20Z","updated_at":"2016-11-08T19:15:46Z","pushed_at":"2016-11-17T00:01:09Z","git_url":"git://github.com/conda-forge/staged-recipes.git","ssh_url":"git@github.com:conda-forge/staged-recipes.git","clone_url":"https://github.com/conda-forge/staged-recipes.git","svn_url":"https://github.com/conda-forge/staged-recipes","homepage":"https://conda-forge.github.io/","size":8634,"stargazers_count":47,"watchers_count":47,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":260,"mirror_url":null,"open_issues_count":207,"forks":260,"open_issues":207,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955"},"html":{"href":"https://github.com/conda-forge/staged-recipes/pull/1955"},"issue":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1955"},"comments":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1955/comments"},"review_comments":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955/comments"},"review_comment":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1955/commits"},"statuses":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/d251fd94e3979e2885161a75e5c99407e9a68063"}}}}
{"actor":{"display_login":"ocefpaf"}}