mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
ipyrad: patch to remove future
This commit is contained in:
parent
77c0e237cb
commit
17da35733b
2 changed files with 9 additions and 2 deletions
|
@ -6,7 +6,7 @@ arch=('any')
|
||||||
url="https://github.com/dereneaton/ipyrad"
|
url="https://github.com/dereneaton/ipyrad"
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
depends=('python' 'python-pandas' 'python-scipy' 'python-numpy' 'python-numba' 'python-h5py' 'python-ipyparallel' 'python-requests' 'python-mpi4py'
|
depends=('python' 'python-pandas' 'python-scipy' 'python-numpy' 'python-numba' 'python-h5py' 'python-ipyparallel' 'python-requests' 'python-mpi4py'
|
||||||
'python-future' 'cutadapt' 'python-pysam' 'bedtools' 'vsearch' 'bwa' 'samtools' 'python-toyplot')
|
'cutadapt' 'python-pysam' 'bedtools' 'vsearch' 'bwa' 'samtools' 'python-toyplot')
|
||||||
optdepends=('jupyter-notebook: for interactive')
|
optdepends=('jupyter-notebook: for interactive')
|
||||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'gcc' 'make')
|
makedepends=('python-build' 'python-installer' 'python-wheel' 'gcc' 'make')
|
||||||
source=("https://github.com/dereneaton/ipyrad/archive/${pkgver}.tar.gz"
|
source=("https://github.com/dereneaton/ipyrad/archive/${pkgver}.tar.gz"
|
||||||
|
@ -15,6 +15,14 @@ sha256sums=('8da9e03569ee1bc0e84bafefd1204249091602a9caa732a79511f67ba81d96b1'
|
||||||
'c70c552231cd3289f1bad51c9bd174804c18bb3adcf47f501afec7a68f9c482e')
|
'c70c552231cd3289f1bad51c9bd174804c18bb3adcf47f501afec7a68f9c482e')
|
||||||
provides=('muscle<5')
|
provides=('muscle<5')
|
||||||
conflicts=('muscle')
|
conflicts=('muscle')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
# fix future
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
find . -name "*.py" -exec sed -i '/from __future__/d' {} +
|
||||||
|
sed -i '/"future",/d' setup.py
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# muscle v3
|
# muscle v3
|
||||||
cd $srcdir
|
cd $srcdir
|
||||||
|
|
|
@ -15,7 +15,6 @@ repo_depends:
|
||||||
- bwa
|
- bwa
|
||||||
- samtools
|
- samtools
|
||||||
- python-toyplot
|
- python-toyplot
|
||||||
- python-future
|
|
||||||
update_on:
|
update_on:
|
||||||
- source: github
|
- source: github
|
||||||
github: dereneaton/ipyrad
|
github: dereneaton/ipyrad
|
||||||
|
|
Loading…
Add table
Reference in a new issue