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 python-lzo #3370

Merged
merged 7 commits into from
Jul 27, 2017
Merged

Add python-lzo #3370

merged 7 commits into from
Jul 27, 2017

Conversation

sebastian-luna-valero
Copy link
Member

No description provided.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/python-lzo) and found some lint.

Here's what I've got...

For recipes/python-lzo:

  • There are 1 too many lines. There should be one empty line at the end of the file.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/python-lzo) and found it was in an excellent condition.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/python-lzo) and found some lint.

Here's what I've got...

For recipes/python-lzo:

  • Selectors are suggested to take a <two spaces>#<one space>[<expression>] form.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/python-lzo) and found it was in an excellent condition.

@sebastian-luna-valero
Copy link
Member Author

Please @conda-forge/staged-recipes review.

Copy link
Member

@ocefpaf ocefpaf left a comment

Choose a reason for hiding this comment

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

Two minor things that can be done later in the feedstock. Thanks @sebastian-luna-valero!

- lzo 2.10.*
run:
- python
- lzo 2.10.*
Copy link
Member

Choose a reason for hiding this comment

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

I think we are using 2.* instead of 2.10.*. The latter is more restrictive and it is fine if your package needs that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, thanks!

export CPPFLAGS="-I$PREFIX/include -I$PREFIX/include/lzo $CPPFLAGS"
export LDFLAGS="-L$PREFIX/lib $LDFLAGS"

$PYTHON setup.py install
Copy link
Member

Choose a reason for hiding this comment

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

This seems to use setuptools, can you add --single-version-externally-managed --record record.txt? (See the example recipe for details on this.)

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 got error: option --single-version-externally-managed not recognized. Please see: https://travis-ci.org/conda-forge/staged-recipes/builds/258113000#L243

Copy link
Member

Choose a reason for hiding this comment

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

I guess that the package does not use setuptools then. You can probably remove it from the build section later.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure, sorry. Presumably @jd-boyd can confirm, and I am happy to update the package.

Copy link
Member

Choose a reason for hiding this comment

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

That is a minor thing anyway. You can test that in the next package iteration (updating or bumping the build number for some reason.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Brilliant, will do. Many thanks!

Copy link

Choose a reason for hiding this comment

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

Python-lzo uses distutils

@sebastian-luna-valero
Copy link
Member Author

Silly question, how long do I need to wait for the feedstock to be created?

@isuruf
Copy link
Member

isuruf commented Jul 27, 2017

Until this build, https://travis-ci.org/conda-forge/staged-recipes/builds/258159145 is finished.

@ocefpaf
Copy link
Member

ocefpaf commented Jul 27, 2017

Silly question, how long do I need to wait for the feedstock to be created?

Not silly. In fact that question comes up to often that we should add it to the FAQ 😄

In theory a few hours. But every now and then there are a few hiccups in the CIs that may cause some delay.

@sebastian-luna-valero
Copy link
Member Author

sebastian-luna-valero commented Jul 27, 2017

Thanks both!

Indeed, having this information somewhere in the PR process of staged-recipes would help.

It's passing now:
https://travis-ci.org/conda-forge/staged-recipes/builds/258139566

sebastian-luna-valero added a commit to CGATOxford/cgat that referenced this pull request Jul 28, 2017
@sebastian-luna-valero sebastian-luna-valero deleted the python-lzo branch July 28, 2017 08:18
sebastian-luna-valero added a commit to CGATOxford/cgat that referenced this pull request Jul 31, 2017
*  include conda env export command

*  use conda environment file instead of meta-package

*  fix pysam to 0.11.1

*  fix CondaValueError: invalid package specification: pysam 0.11.1

*  download a copy of the conda spec file before installation

*  try with r 3.3.1 instead of r 3.3.2

*  try with py35

*  try r 3.3.2

*  remove more deps from conda/environments/scripts-nosetests.yml and add conda/environments/scripts-devel.yml

*  pybedtools and wigToBigWig required for testing

*  try adding bedtools

*  update install-CGAT-tools.sh accordingly

*  update install-CGAT-tools.sh to test local install properly

* bedtools is now a dep for pybedtools; bioconda/bioconda-recipes#5351

*  update conda env for scripts-devel

*  DEXSeq is Py2 only

*  python-lzo added to conda-forge: conda-forge/staged-recipes#3370

*  reorganise devel env file

*  update env file and install script

*  make sure scripts are installed in CGAT_HOME/cgat-scripts
sebastian-luna-valero added a commit to CGATOxford/cgat that referenced this pull request Nov 8, 2017
*  include conda env export command

*  use conda environment file instead of meta-package

*  fix pysam to 0.11.1

*  fix CondaValueError: invalid package specification: pysam 0.11.1

*  download a copy of the conda spec file before installation

*  try with r 3.3.1 instead of r 3.3.2

*  try with py35

*  try r 3.3.2

*  remove more deps from conda/environments/scripts-nosetests.yml and add conda/environments/scripts-devel.yml

*  pybedtools and wigToBigWig required for testing

*  try adding bedtools

*  update install-CGAT-tools.sh accordingly

*  update install-CGAT-tools.sh to test local install properly

* bedtools is now a dep for pybedtools; bioconda/bioconda-recipes#5351

*  update conda env for scripts-devel

*  DEXSeq is Py2 only

*  python-lzo added to conda-forge: conda-forge/staged-recipes#3370

*  reorganise devel env file

*  update env file and install script

*  make sure scripts are installed in CGAT_HOME/cgat-scripts

*  improve scripts to check for dependencies

*  use TRAVIS_BRANCH for local installations as well

*  pysam should still be pinned to 0.11.1

*  make --zip the default installation option

*  unified script to find Python and R deps

*  before holiday commit

*  revisit how misc deps are found

*  improve dependency checking

*  forgot to comment out debugging section

*  check deps also for module files in production scripts

*  update test_import.py to reflect new repository structure

*  add sqlalchemy to conda env

*  add mysqlclient to conda env

*  remove __init__.py

*  add helper script to match conda package names with versions

*  start using pinned env files

*  update rpy2 in env file

*  make sure cgat-scripts package from bioconda installs fine

*  try installation on OS X

* Update install-CGAT-tools.sh

* Update .travis.yml

*  further updates for OS X

*  fix .travis.yml

*  temporarily disable xvfb

*  INSTALL_PYTHON_VERSION no longer needed

*  fix curl command

*  fix curl command

*  update comments

*  add bash error trap to installation script

*  fix curl command to download zip file

* fix sed command to work on OS X

*  install bx-python after enabling conda environment

* use INSTALL_BRANCH for git archive

*  update conda env

* {AH} replace zcat with gunzip for OSX compatibility

*  updated cgat_conda_deps.sh and scripts-nosetests.yml

*  install bx-python with pip

*  enable xvfb on Linux only

*  add additional info to bash trap, and check cgat-scripts installation properly

*  nosetests and pep8 are not required as deps for production scripts

*  remove unused import subprocess from cgat_check_deps.py

*  add comment to output regarding creation

*  add bx-python warning instead of pip install, which didn't work properly

* rename install options

* updated README.rst for GitHub

*  update README.rst

*  update README.rst

*  fix conda version

*  fix bx-python version

*  update link to paper

*  unknown input option for install script

*  parse bash statements with bashlex

*  parse statement.append

*  reorder MISC_DEPS

* add excluded items to cgat_check_deps.py

*  clean up parameter interpolation properly

*  add exceptions to cgat_check_deps.py

*  added new condition to get the string of statement.append

*  update conda environments

*  removes pip install bx-python on match_conda_deps.sh

*  output env.yml

*  quiet conda installation

*  bugfix quiet install

*  remove pip install from env

*  update conda env for nosetests

*  updated conda envs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants