Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for tinyarray #1444

Merged
merged 32 commits into from
Oct 27, 2016
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5eab956
Initial commit for tinyarray
basnijholt Aug 31, 2016
91790a6
gcc -> toolchain
basnijholt Aug 31, 2016
10dab31
Skip Windows
basnijholt Aug 31, 2016
9554b9c
Add newline
basnijholt Aug 31, 2016
c818224
Change BSD to BSD 2-Clause
basnijholt Aug 31, 2016
a4e551c
Update source from git to archive.tar.gz
basnijholt Aug 31, 2016
3a52ab9
Correct sha256
basnijholt Aug 31, 2016
4989d3a
kwant -> tinyarray
basnijholt Aug 31, 2016
f6ac41a
Correct sha256 to .tar.gz file
basnijholt Aug 31, 2016
38c6ba6
Remove nose as runtime dependency
basnijholt Sep 3, 2016
2a51219
Trying out versioneer
basnijholt Sep 3, 2016
02911c5
Update sha256
basnijholt Sep 3, 2016
b6223b1
Change sha256 to latest commit
basnijholt Sep 3, 2016
ddc0459
Add test_tinyarray.py
basnijholt Sep 3, 2016
7ed924b
Current version of conda-build doesn't recognize source_files
basnijholt Sep 3, 2016
93e1787
New sha256 with <algorithm> header
basnijholt Sep 3, 2016
e317bbd
Remove test
basnijholt Sep 3, 2016
8dcd7d4
Add tests
basnijholt Sep 3, 2016
ba8a0ee
python test_tinyarray.py
basnijholt Sep 3, 2016
c03cfee
Comment out test_tinyarray.py
basnijholt Sep 3, 2016
126ce25
Merge pull request #2 from conda-forge/master
basnijholt Sep 3, 2016
c9fe529
Add nose to build requirements again
basnijholt Sep 3, 2016
8854e1b
conda_test tag
basnijholt Sep 5, 2016
36398ae
Define version
basnijholt Sep 5, 2016
a2d19c1
Update to official v1.2.0a1
basnijholt Sep 5, 2016
c4e2cb2
Change sh256 to v1.2.0a1
basnijholt Sep 6, 2016
87d620f
Uncommenting tests that require conda-build 2.0.0
basnijholt Sep 14, 2016
ae46110
Add numpy as test requirement
basnijholt Sep 20, 2016
8b405d0
Merge pull request #4 from conda-forge/master
basnijholt Sep 20, 2016
790257c
update description
basnijholt Oct 9, 2016
a6582a2
Comment out conda build 2 part
basnijholt Oct 26, 2016
7d8e2e5
change doc_url and comment out nose for building for conda build 1
basnijholt Oct 26, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions recipes/tinyarray/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "tinyarray" %}
{% set version = "1.2.0a1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: v{{ version }}.tar.gz
url: https://gitlab.kwant-project.org/kwant/tinyarray/repository/archive.tar.gz?ref=v{{ version }}
sha256: e155a1c373c90d81877f953810f108cff72cf22a50c44b9cf86a803035198d04

build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
build:
- python
- setuptools
- toolchain
- nose
run:
- python

test:
Copy link
Contributor

@patricksnape patricksnape Sep 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add:

requires:
  - nose
source_files:
  - test_tinyarray.py
commands:
  - $PYTHON test_tinyarray.py   # [unix]
  - %PYTHON% test_tinyarray.py  # [win]

requires:
- numpy
# - nose
# source_files:
# - test_tinyarray.py
# commands:
# - python test_tinyarray.py
imports:
- tinyarray

about:
home: http://git.kwant-project.org/tinyarray/about/
license: BSD 2-Clause
license_file: LICENSE.rst
summary: 'Arrays of numbers for Python, optimized for small sizes'
description: |
Tinyarrays are similar to NumPy arrays, but optimized for small sizes.
Common operations on very small arrays are to 3-7 times faster than
with NumPy (with NumPy 1.6 it used to be up to 35 times), and 3 times
less memory is used to store them. Tinyarrays are useful if you need
many small arrays of numbers, and cannot combine them into a few
large ones.
doc_url: https://gitlab.kwant-project.org/kwant/tinyarray

extra:
recipe-maintainers:
- basnijholt