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 SunPy, Glymur and wcsaxes #605

Merged
merged 28 commits into from
May 17, 2016
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a386ad1
Add glymur recipe
Cadair May 13, 2016
842876c
Add sunpy
Cadair May 13, 2016
ff73070
remove build scripts and try and fix selectors
Cadair May 13, 2016
5c813bb
Fix selectors again
Cadair May 13, 2016
485fded
That needs to be there.
Cadair May 13, 2016
41da752
Fixes from comments and build fixes for glymur
Cadair May 13, 2016
d4229db
remove space in version specifier
Cadair May 13, 2016
fe7ec47
this time, change both the version specifiers.
Cadair May 13, 2016
2b236e7
fix sunpy src url
Cadair May 13, 2016
a0a98d0
add wcsaxes, which is needed for sunpy
Cadair May 13, 2016
813785e
add wcsaxes summary
Cadair May 13, 2016
385a9e8
wcsaxes can be built for 3.x
Cadair May 13, 2016
e7510b6
that's not the version wcsaxes are looking for
Cadair May 13, 2016
759ecc3
Add wcsaxes tests
Cadair May 13, 2016
a026ef3
Try building wcsaxes with just setuptools
Cadair May 13, 2016
fe565a7
Update meta.yaml
Cadair May 13, 2016
7a668a9
Try a new glymur URL
Cadair May 13, 2016
17eab4a
Merge branch 'master' of github.com:Cadair/staged-recipes
Cadair May 13, 2016
8e90e61
Add sunpy tests to build
Cadair May 14, 2016
d8ca88f
scrap that
Cadair May 15, 2016
32523fb
try different glymur url
Cadair May 15, 2016
d18c269
Try nomkl for windows builds
Cadair May 15, 2016
75ea212
Try to pin mkl version
Cadair May 15, 2016
6f06e28
fix version spec
Cadair May 15, 2016
d940dbb
fix mkl version for run.
Cadair May 15, 2016
7a374c9
Skip Glymur on Windows and Python 3.5.
Cadair May 16, 2016
1feba7d
Fix indentation
Cadair May 16, 2016
165325a
Small fixes
Cadair May 17, 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
54 changes: 54 additions & 0 deletions recipes/glymur/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{% set version = "0.8.3" %}
package:
name: glymur
version: {{ version }}

source:
fn: Glymur-0.8.3.tar.gz
url: https://pypi.python.org/packages/33/6e/3bb303c46e2b9a795389115401fd32f1eff16c12a66c7a53fa36c244f9bc/Glymur-0.8.3.tar.gz
md5: 2ff4c70a63a1e01f84b18e0ec4eb9b88

build:
number: 0
script: python setup.py install --single-version-externally-managed --record record.txt
entry_points:
- jp2dump=glymur.command_line:main

requirements:
build:
- python
- setuptools
- numpy >=1.7.0
Copy link
Member

Choose a reason for hiding this comment

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

In theory is not need as we only build numpy > 1.9 already, but I guess it does not hurt.

Copy link
Member Author

Choose a reason for hiding this comment

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

i suppose the only use would be if someone has some custom packages coming from somewhere else. It's probably worth keeping.

- lxml >=2.3.2
- mock
Copy link
Member

Choose a reason for hiding this comment

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

Is mock a build and run dependency? Or is it just for tests?

Copy link
Member Author

Choose a reason for hiding this comment

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

it's probably only a build dep.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just for tests. I should remove that...

On Fri, May 13, 2016 at 11:59 AM, Filipe notifications@github.com wrote:

In recipes/glymur/meta.yaml
#605 (comment)
:

+build:

  • number: 0
  • script: python setup.py install --single-version-externally-managed --record record.txt
  • entry_points:
    • jp2dump=glymur.command_line:main

+requirements:

  • build:
    • python
    • setuptools
    • numpy >=1.7.0
    • lxml >=2.3.2
    • mock

Is mock a build and run dependency? Or is it just for tests?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/conda-forge/staged-recipes/pull/605/files/d4229db6df4a8530c5778ff1fba2a2fc872d612a#r63207713

John Evans

Copy link
Member Author

Choose a reason for hiding this comment

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

it needs it to build, but I have now removed it from the runtime deps.

- contextlib2 >=0.4

run:
- python
- numpy >=1.7.0
- lxml >=2.3.2
- mock
- contextlib2 >= 0.4

test:
# Python imports
imports:
- glymur
- glymur.data
- glymur.lib
- glymur.lib.test
- glymur.test

commands:
- jp2dump --help

about:
home: https://github.com/quintusdias/glymur
license: MIT License
Copy link
Member

Choose a reason for hiding this comment

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

You can drop the extra License, that is redundant. (Maybe we should fix conda-skeleton to stop adding that 😉)

summary: 'Tools for accessing JPEG2000 files'

extra:
recipe-maintainers:
- cadair
- ehsteve
- quintusdias
Copy link
Member

Choose a reason for hiding this comment

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

@Cadair please check with @ehsteve and @quintusdias if they are OK being maintainers here.

Copy link
Member Author

Choose a reason for hiding this comment

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

@ehsteve is one of the core SunPy devs and it's @quintusdias package on PyPi.

102 changes: 102 additions & 0 deletions recipes/sunpy/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{% set version = "0.6.4" %}

package:
name: sunpy
version: {{version}}

source:
fn: sunpy-{{version}}.tar.gz
url: https://pypi.python.org/packages/source/s/sunpy/sunpy-{{version}}.tar.gz
md5: 45da6a4328fc5c85c717686f8aae2d23

build:
number: 0
script: python setup.py install --offline --no-git --single-version-externally-managed --record record.txt
skip: True # [py>27]


requirements:
build:
- python
- setuptools
- numpy >1.7.1
- astropy >=1.0
- scipy
- matplotlib
- pandas
- mock

run:
- python
- numpy >1.7.1
- astropy >=1.0
- scipy
- pandas >=0.12.1
- matplotlib
- suds-jurko
- glymur
- sqlalchemy
- beautiful-soup
- requests
- bsddb # [unix]
- pytest
- scikit-image
- wcsaxes

test:
# Python imports
Copy link
Member

Choose a reason for hiding this comment

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

You can remove this comment.

imports:
- sunpy
- sunpy.cm
- sunpy.coordinates
- sunpy.data
- sunpy.data.test
- sunpy.data.test.waveunit
- sunpy.database
- sunpy.database.tests
- sunpy.image
- sunpy.image.tests
- sunpy.instr
- sunpy.instr.iris
- sunpy.io
- sunpy.io.tests
- sunpy.lightcurve
- sunpy.lightcurve.sources
- sunpy.lightcurve.tests
- sunpy.map
- sunpy.map.sources
- sunpy.map.tests
- sunpy.net
- sunpy.net.hek
- sunpy.net.hek2vso
- sunpy.net.helio
- sunpy.net.jsoc
- sunpy.net.tests
- sunpy.net.vso
- sunpy.physics
- sunpy.physics.transforms
- sunpy.roi
- sunpy.spectra
- sunpy.spectra.sources
- sunpy.spectra.tests
- sunpy.sun
- sunpy.sun.tests
- sunpy.tests
- sunpy.tests.tests
- sunpy.time
- sunpy.time.tests
- sunpy.util
- sunpy.util.tests
- sunpy.visualization
- sunpy.wcs
- sunpy.wcs.tests

about:
home: http://www.sunpy.org/
license: BSD 2-Clause
Copy link
Member

Choose a reason for hiding this comment

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

👍

summary: "Python for Solar Physics"

extra:
recipe-maintainers:
- cadair
- ehsteve