Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add c-compiler as noted in docs | {% set name = "clr_loader" %}
{% set version = "0.1.7" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: bd1967d3cf80368c7d890a332704f169c5d2b5d7141635f1dae84d7d40346d51
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
build:
- dotnet-sdk >=5,<6
- sysroot_linux-64 2.17 # [linux64]
host:
- python
- pip
- setuptools
- wheel
run:
- cffi >=1.13
- python
- __glibc >=2.17 # [linux64]
test:
imports:
- clr_loader
requires:
- pip
commands:
- pip check
about:
home: https://github.com/pythonnet/clr-loader
license: MIT
license_family: MIT
license_file: LICENSE
summary: 'Generic pure Python loader for .NET runtimes'
dev_url: https://github.com/pythonnet/clr-loader
extra:
recipe-maintainers:
- m-rossi
- bgruening
| {% set name = "clr_loader" %}
{% set version = "0.1.7" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: bd1967d3cf80368c7d890a332704f169c5d2b5d7141635f1dae84d7d40346d51
build:
number: 0
script: "{{ PYTHON }} -m pip install . -vv"
requirements:
build:
- {{ compiler('c') }} # [linux64]
- dotnet-sdk >=5,<6
- sysroot_linux-64 2.17 # [linux64]
host:
- python
- pip
- setuptools
- wheel
run:
- cffi >=1.13
- python
- __glibc >=2.17 # [linux64]
test:
imports:
- clr_loader
requires:
- pip
commands:
- pip check
about:
home: https://github.com/pythonnet/clr-loader
license: MIT
license_family: MIT
license_file: LICENSE
summary: 'Generic pure Python loader for .NET runtimes'
dev_url: https://github.com/pythonnet/clr-loader
extra:
recipe-maintainers:
- m-rossi
- bgruening
|
Test using jupyter during build | {% set name = "itkwidgets" %}
{% set version = "0.15.1" %}
package:
name: {{ name }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 889e8a6328bb574148a8e62b89980e68178e10635c986fce2b117eee211112e2
build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps -vv"
requirements:
host:
- python
- setuptools
- pip
- nodejs
run:
- python
- itk
- ipydatawidgets >=3.2.0
- ipywidgets >=7.4.0
- ipympl
- numpy
- scipy
- six
- zstandard
test:
requires:
- pytest
commands:
- python -m pytest
imports:
- itkwidgets
about:
home: https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets
license: Apache 2.0
license_family: Apache
summary: 'Interactive Jupyter widgets to visualize images in 2D and 3D'
doc_url: https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets
dev_url: https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets
extra:
recipe-maintainers:
- hadim
| {% set name = "itkwidgets" %}
{% set version = "0.15.1" %}
package:
name: {{ name }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 889e8a6328bb574148a8e62b89980e68178e10635c986fce2b117eee211112e2
build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps -vv"
requirements:
host:
- python
- setuptools
- pip
- jupyter
run:
- python
- itk
- ipydatawidgets >=3.2.0
- ipywidgets >=7.4.0
- ipympl
- numpy
- scipy
- six
- zstandard
test:
requires:
- pytest
commands:
- python -m pytest
imports:
- itkwidgets
about:
home: https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets
license: Apache 2.0
license_family: Apache
summary: 'Interactive Jupyter widgets to visualize images in 2D and 3D'
doc_url: https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets
dev_url: https://github.com/InsightSoftwareConsortium/itk-jupyter-widgets
extra:
recipe-maintainers:
- hadim
|
Change update trinity in circle to one that logs to stdout | version: 2
jobs:
build:
docker: # See https://docs.docker.com/get-started/#docker-concepts if you are new to Docker.
- image: circleci/python:3.4
environment:
PYTHONPATH: /usr/local/lib/python3.4/site-packages/
working_directory: ~/repo
steps:
- checkout
- run:
command: |
sudo apt-get update
sudo apt-get install gdb git cmake gcc g++ pkg-config libglib2.0-dev
# TODO: Cache gdb install
#- restore_cache:
#keys:
#- pydeps-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
- run:
command: |
sudo pip3 install pylint ropper
- run:
command: |
curl https://gist.githubusercontent.com/Grazfather/91e1ea3c3b51be844552263ce0f0d538/raw/c5607a51047b4dc01bf1f3fd443e8cd6318056c6/install-trinity.sh | bash
#- save_cache:
#key: pydeps-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
#paths:
#- /usr/local/lib/python3.4/site-packages
- run: make lint
- run: make test
| version: 2
jobs:
build:
docker: # See https://docs.docker.com/get-started/#docker-concepts if you are new to Docker.
- image: circleci/python:3.4
environment:
PYTHONPATH: /usr/local/lib/python3.4/site-packages/
working_directory: ~/repo
steps:
- checkout
- run:
command: |
sudo apt-get update
sudo apt-get install gdb git cmake gcc g++ pkg-config libglib2.0-dev
# TODO: Cache gdb install
#- restore_cache:
#keys:
#- pydeps-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
- run:
command: |
sudo pip3 install pylint ropper
- run:
command: |
curl https://gist.githubusercontent.com/Grazfather/91e1ea3c3b51be844552263ce0f0d538/raw/76ff432159654e83db7159df7027ca4b11a2bdd4/install-trinity.sh | bash
#- save_cache:
#key: pydeps-{{ .Branch }}-{{ checksum ".circleci/config.yml" }}
#paths:
#- /usr/local/lib/python3.4/site-packages
- run: make lint
- run: make test
|
Update Outlook.com OAuth test credentials to valid app "Nylas - Open Source Dev" | ---
MYSQL_USER: root
MYSQL_PASSWORD: root
GOOGLE_OAUTH_CLIENT_ID: 986659776516-fg79mqbkbktf5ku10c215vdij918ra0a.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET: zgY9wgwML0kmQ6mmYHYJE05d
MS_LIVE_OAUTH_CLIENT_ID: 000000004C12138C
MS_LIVE_OAUTH_CLIENT_SECRET: tjMNyu7ACbE8DOt0LE30Ptk7muNdPosG
# Hexl-encoded static keys used to encrypt blocks in S3, secrets in database:
BLOCK_ENCRYPTION_KEY: 43933ee4aff59913b7cd7204d87ee18cd5d0faea4df296cb7863f9f28525f7cd
SECRET_ENCRYPTION_KEY: 5f2356f7e2dfc4ccc93458d27147f97b954a56cc0554273cb6fee070cbadd050
| ---
MYSQL_USER: root
MYSQL_PASSWORD: root
GOOGLE_OAUTH_CLIENT_ID: 986659776516-fg79mqbkbktf5ku10c215vdij918ra0a.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET: zgY9wgwML0kmQ6mmYHYJE05d
MS_LIVE_OAUTH_CLIENT_ID: 0000000048157D75
MS_LIVE_OAUTH_CLIENT_SECRET: W69jkmY8Lp1CbRqn-H7TtRXLDLU7XBxb
# Hexl-encoded static keys used to encrypt blocks in S3, secrets in database:
BLOCK_ENCRYPTION_KEY: 43933ee4aff59913b7cd7204d87ee18cd5d0faea4df296cb7863f9f28525f7cd
SECRET_ENCRYPTION_KEY: 5f2356f7e2dfc4ccc93458d27147f97b954a56cc0554273cb6fee070cbadd050
|
Create GitHub release during publish | name: Upload Python Package
on:
push:
tags:
- v*.*.*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Publish package
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
poetry publish --build | name: Upload Python Package
on:
push:
tags:
- v*.*.*
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Publish package
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
poetry publish --build
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false |
FIX | Change coveralls token again | version: 1.0.0.{build}
skip_tags: true
os: Visual Studio 2015
configuration: Release
platform: Any CPU
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
COVERALLS_REPO_TOKEN:
secure: cBbjHgg5rQjFgwAjjQGUFwhESw5oEljRFzESN+/xmH8vKXg3AzfVlexOpi0EBaKN
SonarQube_Token:
secure: 4SAyRqYsx6khVu6ERCwz3arpWEuZ82ZEDGRdTbZSfKCk5vtx4zxLc3QWcquAsC0x
install:
- cmd: >-
set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
.paket\paket.bootstrapper.exe
.paket\paket.exe restore
build:
verbosity: minimal
after_build:
- cmd: >-
.paket\paket.exe pack output nupkgs
after_test:
- cmd: .\run_coverage.cmd
- cmd: .\run_quality.cmd | version: 1.0.0.{build}
skip_tags: true
os: Visual Studio 2015
configuration: Release
platform: Any CPU
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
COVERALLS_REPO_TOKEN:
secure: 8FT9CQo21ngsgKlN3/RrjV4tvCRhFaYnBcz2pZkc9zmGcc1Cmq9QyXEHisxkOD0g
SonarQube_Token:
secure: 4SAyRqYsx6khVu6ERCwz3arpWEuZ82ZEDGRdTbZSfKCk5vtx4zxLc3QWcquAsC0x
install:
- cmd: >-
set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
.paket\paket.bootstrapper.exe
.paket\paket.exe restore
build:
verbosity: minimal
after_build:
- cmd: >-
.paket\paket.exe pack output nupkgs
after_test:
- cmd: .\run_coverage.cmd
- cmd: .\run_quality.cmd |
Update io.js from 2 to 3 | # http://www.appveyor.com/docs/appveyor-yml
clone_depth: 10
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "2"
# Install scripts. (runs after repo cloning)
install:
# Get the Node version with matching major & minor numbers
- ps: Install-Product node $env:nodejs_version
# Log HTTP requests.
- npm config set loglevel http
# Typical npm stuff.
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- npm test
# Don't actually build.
build: off
# Finish immediately if one of the jobs fails.
matrix:
fast_finish: true
# Set up cache, clear it on package.json changes.
cache:
# npm cache.
- C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json
# Local npm packages.
- node_modules -> package.json
# Set build version format here instead of in the admin panel.
version: "{build}"
| # http://www.appveyor.com/docs/appveyor-yml
clone_depth: 10
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
# Test against these versions of Node.js.
environment:
matrix:
- nodejs_version: "3"
# Install scripts. (runs after repo cloning)
install:
# Get the Node version with matching major & minor numbers
- ps: Install-Product node $env:nodejs_version
# Log HTTP requests.
- npm config set loglevel http
# Typical npm stuff.
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- npm test
# Don't actually build.
build: off
# Finish immediately if one of the jobs fails.
matrix:
fast_finish: true
# Set up cache, clear it on package.json changes.
cache:
# npm cache.
- C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json
# Local npm packages.
- node_modules -> package.json
# Set build version format here instead of in the admin panel.
version: "{build}"
|
Switch to postgresql db backend |