py-imageio-ffmpeg: add 0.4.5, fix installation and import (#26330)
This commit is contained in:
parent
78dbac69e9
commit
e01947effc
1 changed files with 7 additions and 1 deletions
|
@ -18,8 +18,14 @@ class PyImageioFfmpeg(PythonPackage):
|
||||||
homepage = "https://github.com/imageio/imageio-ffmpeg"
|
homepage = "https://github.com/imageio/imageio-ffmpeg"
|
||||||
pypi = "imageio-ffmpeg/imageio-ffmpeg-0.4.3.tar.gz"
|
pypi = "imageio-ffmpeg/imageio-ffmpeg-0.4.3.tar.gz"
|
||||||
|
|
||||||
|
version('0.4.5', sha256='f2ea4245a2adad25dedf98d343159579167e549ac8c4691cef5eff980e20c139')
|
||||||
version('0.4.3', sha256='f826260a3207b872f1a4ba87ec0c8e02c00afba4fd03348a59049bdd8215841e')
|
version('0.4.3', sha256='f826260a3207b872f1a4ba87ec0c8e02c00afba4fd03348a59049bdd8215841e')
|
||||||
|
|
||||||
depends_on('python@3.4:', type=('build', 'run'))
|
depends_on('python@3.4:', type=('build', 'run'))
|
||||||
depends_on('py-setuptools', type='build')
|
# Needs setuptools at runtime so that `import pkg_resources` succeeds
|
||||||
|
depends_on('py-setuptools', type=('build', 'run'))
|
||||||
depends_on('ffmpeg', type='run')
|
depends_on('ffmpeg', type='run')
|
||||||
|
|
||||||
|
def patch(self):
|
||||||
|
filter_file('setup_requires=["pip>19"]', 'setup_requires=[]',
|
||||||
|
'setup.py', string=True)
|
||||||
|
|
Loading…
Reference in a new issue