py-python-fmask: update to latest versions (#40378)

* tidy and add new version

* add comment about dependencies

* whitespace
This commit is contained in:
Sam Gillingham 2023-10-15 03:28:51 +10:00 committed by GitHub
parent b8cb36ce50
commit 655d123785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,11 +11,16 @@ class PyPythonFmask(PythonPackage):
the FMASK algorithm for Landsat and Sentinel-2"""
homepage = "https://www.pythonfmask.org/en/latest/"
url = "https://github.com/ubarsc/python-fmask/archive/pythonfmask-0.5.4.tar.gz"
url = "https://github.com/ubarsc/python-fmask/releases/download/pythonfmask-0.5.8/python-fmask-0.5.8.tar.gz"
version("0.5.4", sha256="a216aa3108de837fec182602b2b4708442746be31fc1585906802437784a63fe")
version("0.5.8", sha256="d55f54d3fecde818374017fdbe0ad173c893ef74c79ba2a7bc1890b7ec416c2f")
version("0.5.7", sha256="da9dad1b977a50599d068dedaed007100b20322a79ca5d78f702712647c2c3f3")
version("0.5.6", sha256="a63abd12d36fb4ec010e618bcabd5e2f782a0479ebcbf40aec1bcef943c00c5c")
version("0.5.5", sha256="8257227d2527ea5fbd229f726d06d05986914beafd090acef05772a27dbbf062")
version("0.5.4", sha256="ed20776f6b63615f664da89a9e3951c79437b66c2bf88fe19a93c2cc7dc40c82")
# Note: Dependencies are listed here: https://github.com/ubarsc/python-fmask/blob/master/doc/source/index.rst#introduction
depends_on("python@2.7:2.8,3.4:", type=("build", "run"))
# pip silently replaces distutils with setuptools
depends_on("py-setuptools", type="build")
depends_on("py-rios", type=("build", "run"))