-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Add recipe for tinyarray #1444
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 91790a6
gcc -> toolchain
basnijholt 10dab31
Skip Windows
basnijholt 9554b9c
Add newline
basnijholt c818224
Change BSD to BSD 2-Clause
basnijholt a4e551c
Update source from git to archive.tar.gz
basnijholt 3a52ab9
Correct sha256
basnijholt 4989d3a
kwant -> tinyarray
basnijholt f6ac41a
Correct sha256 to .tar.gz file
basnijholt 38c6ba6
Remove nose as runtime dependency
basnijholt 2a51219
Trying out versioneer
basnijholt 02911c5
Update sha256
basnijholt b6223b1
Change sha256 to latest commit
basnijholt ddc0459
Add test_tinyarray.py
basnijholt 7ed924b
Current version of conda-build doesn't recognize source_files
basnijholt 93e1787
New sha256 with <algorithm> header
basnijholt e317bbd
Remove test
basnijholt 8dcd7d4
Add tests
basnijholt ba8a0ee
python test_tinyarray.py
basnijholt c03cfee
Comment out test_tinyarray.py
basnijholt 126ce25
Merge pull request #2 from conda-forge/master
basnijholt c9fe529
Add nose to build requirements again
basnijholt 8854e1b
conda_test tag
basnijholt 36398ae
Define version
basnijholt a2d19c1
Update to official v1.2.0a1
basnijholt c4e2cb2
Change sh256 to v1.2.0a1
basnijholt 87d620f
Uncommenting tests that require conda-build 2.0.0
basnijholt ae46110
Add numpy as test requirement
basnijholt 8b405d0
Merge pull request #4 from conda-forge/master
basnijholt 790257c
update description
basnijholt a6582a2
Comment out conda build 2 part
basnijholt 7d8e2e5
change doc_url and comment out nose for building for conda build 1
basnijholt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add: