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 sarge #3034

Merged
merged 3 commits into from
May 26, 2017
Merged
Changes from all commits
Commits
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
43 changes: 43 additions & 0 deletions recipes/sarge/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set name = "sarge" %}
{% set version = "0.1.4" %}
{% set sha256 = "59f93216723ddd9062d17cbbb90ed9e69267b84825cf0bde0b7f8d934c424823" %}

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

source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
number: 0
script: pip install --no-deps .
Copy link
Member

Choose a reason for hiding this comment

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

Please install via python setup.py install

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there a reason to prefer that over pip? AIUI using pip is always recommended now to install packages. This is also what we do for the ipython feedstock, among a number of other recipes.

Copy link
Member

Choose a reason for hiding this comment

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

I had not seen the ipython feedstock before and was mainly going off of my experience reviewing other recipes as well as what is explicitly mentioned in the conda-forge docs. I found the following discussion about what should be "standard practice": #528. The conclusion there was not definitive, but it seems like using pip is ok in the way that you did.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks :-)


requirements:
build:
- python
- pip
Copy link
Member

Choose a reason for hiding this comment

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

If installing via setup.py remove pip.

run:
- python

test:
imports:
- sarge

about:
home: http://sarge.readthedocs.io/en/latest/
license: BSD 3-clause
license_family: BSD
summary: a wrapper for subprocess for interaction with external applications
license_file: LICENSE
Copy link
Member

Choose a reason for hiding this comment

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

please add:

doc_url: http://sarge.readthedocs.io/en/latest/
dev_url: https://bitbucket.org/vinay.sajip/sarge

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

doc_url: http://sarge.readthedocs.io/en/latest/
dev_url: https://bitbucket.org/vinay.sajip/sarge

extra:
recipe-maintainers:
- takluyver
- fangohr
Copy link
Member

Choose a reason for hiding this comment

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

@fangohr, @mb1a15, @davidcortesortuno are you ok being added as co-maintainers of the sarge package on conda-forge?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes I am

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes. Thanks for processing this so swiftly.

- mb1a15
- davidcortesortuno