Skip to content

Add snakemake to python3 builds #22

Closed
thomas opened this issue May 29, 2018 · 2 comments
Closed

Add snakemake to python3 builds #22

thomas opened this issue May 29, 2018 · 2 comments

Comments

@thomas
Copy link
Contributor

thomas commented May 29, 2018

It won't hurt to have a 'versionend' snakemake within the python3 context, whilst also keeping the standalone variant.

@donald
Copy link
Contributor

donald commented Apr 30, 2019

When you've built python-3.7.1-1 you already seem to have readded snakemake. And I don't understand 'versionend' snakemake. Can this issue been closed?

buczek@theinternet:~/git/pkg-scripts (update-python-3.7)$ diff python-3.7.1-0.build.sh python-3.7.1-1.build.sh
7c7
< BUILD=0
---
> BUILD=1
18c18
<         PATH=$PREFIX/bin:\$PATH
---
> 	PATH=$PREFIX/bin:\$PATH
21a22,25
> #	LD_LIBRARY_PATH=$PREFIX/lib\${LD_LIBRARY_PATH:+:}\$LD_LIBRARY_PATH
> #	export LD_LIBRARY_PATH
> 
> 
29c33
< test -d  Python-$VERSION       || tar xvf Python-$VERSION.tar.xz
---
> test -d Python-$VERSION        || tar xvf Python-$VERSION.tar.xz
30a35,36
> 
> LDFLAGS="-Wl,-rpath=$PREFIX/lib" \
32c38,40
<         --prefix=$PREFIX
---
>         --prefix=$PREFIX \
>         --enable-shared
> 
42d49
<   # test -n 'XWIPE' && rm -rf sip-$SIP_VERSION
89d95
< # pip3 install snakemake     # fails
98c104,119
< # exit 1 # final test, inhibits 'closing' on success
---
> # snakemake likes to have this one, but datrie isn't 3.7 aware ...
> # luckily a fix is available (https://github.com/pytries/datrie/issues/52)
> (
>   DATRIE_PY_VERSION=0.7.1
>   DATRIE_PY_SRC=https://github.com/pytries/datrie/archive/$DATRIE_PY_VERSION.tar.gz
>   cd $PREFIX/build
>   test -e $DATRIE_PY_VERSION.tar.gz || wget $DATRIE_PY_SRC
>   test -d datrie-$DATRIE_PY_VERSION || tar -xf $DATRIE_PY_VERSION.tar.gz
> 
>   cd datrie-$DATRIE_PY_VERSION
>   ./update_c.sh
>   python3.7 setup.py build
>   python3.7 setup.py install
> )
> pip3 install snakemake
> 

@thomas
Copy link
Contributor Author

thomas commented Apr 30, 2019

snakemake is now part of python-3.7.3-0, see #60.

@thomas thomas closed this as completed Apr 30, 2019
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants