Skip to content

Commit

Permalink
#64 replace patch by sed for fix of requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelToman committed Aug 2, 2024
1 parent 780b9ae commit cd70167
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions 64_scenicplus/scenicplus-2023a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ dependencies = [
('gensim', '4.3.2'),
]

# fix requirements.txt of scenicplus
local_preinstallopts = (
"sed -i"
" -e '/typing==3.7.4.3/d'"
" -e 's/==.*//g'"
" -e '/pyarrow-hotfix/d'"
)
# unpin version restriction and delete typing requirement
local_pycistopic_preinstallopts = (
"sed -i"
Expand Down Expand Up @@ -249,16 +256,12 @@ exts_list = [
'checksums': ['7285ac03be9d148437442a726366d7c6f9f5f86bc6636369149a2bc2cd8e0e29'],
}),
(name, version, {
'patches': [
'scenicplus-1.0a1-18072024_requirements.txt.patch',
],
'preinstallopts': local_preinstallopts,
'source_urls': ['https://github.com/aertslab/scenicplus/archive/'],
'sources': [{'download_filename': 'fa55dae.tar.gz', 'filename': '%(name)s-%(version)s-fa55dae.tar.gz'}],
'checksums': [
{'scenicplus-1.0a1-18072024-fa55dae.tar.gz':
'88cddec1ab2618861e5c93e8a0b17b8e9e2aa3a76410d882c35d472f98724e29'},
{'scenicplus-1.0a1-18072024_requirements.txt.patch':
'e39f643872263bcfa305c6483d125bde9ebf9ef3bd146247aa9b924c2ac76c56'},
],
}),
]
Expand Down

0 comments on commit cd70167

Please sign in to comment.