package:py-wand add build env var, add new version (#39281)
* package:py-wand add build env var, add new version * fix style * [@spackbot] updating style on behalf of Sinan81 * improve * improve --------- Co-authored-by: sbulut <sbulut@3vgeomatics.com> Co-authored-by: Sinan81 <Sinan81@users.noreply.github.com>
This commit is contained in:
parent
19e1d10cdf
commit
49f3681a12
1 changed files with 3 additions and 4 deletions
|
@ -12,14 +12,13 @@ class PyWand(PythonPackage):
|
|||
homepage = "https://docs.wand-py.org"
|
||||
pypi = "Wand/Wand-0.5.6.tar.gz"
|
||||
|
||||
version("0.6.11", sha256="b661700da9f8f1e931e52726e4fc643a565b9514f5883d41b773e3c37c9fa995")
|
||||
version("0.5.6", sha256="d06b59f36454024ce952488956319eb542d5dc65f1e1b00fead71df94dbfcf88")
|
||||
version("0.4.2", sha256="a0ded99a9824ddd82617a4b449164e2c5c93853aaff96f9e0bab8b405d62ca7c")
|
||||
|
||||
variant("docs", default=False, description="Build docs")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
# provides libmagickwand
|
||||
depends_on("imagemagick")
|
||||
depends_on("python@2.7:2.8,3.3:", type=("build", "run"))
|
||||
|
||||
depends_on("py-sphinx@1:", type="build", when="+docs")
|
||||
def setup_build_environment(self, env):
|
||||
env.set("MAGICK_HOME", self.spec["imagemagick"].prefix)
|
||||
|
|
Loading…
Reference in a new issue