import os
from spack import *

class Libcircle(Package):
    """libcircle provides an efficient distributed queue on a cluster,
       using self-stabilizing work stealing."""

    homepage = "https://github.com/hpc/libcircle"
    url      = "https://github.com/adammoody/libcircle/releases/download/v0.2.1-rc.1/libcircle-0.2.1-rc.1.tar.gz"

    version('0.2.1-rc.1', 'a10a14e76ac2ad7357a4b21b794e8e4e')

    depends_on('mpi')

    def install(self, spec, prefix):
        configure("--prefix=" + prefix)
        make()
        make("install")

@@ -224,24 +224,89 @@
 le%22%0A
+%0A
     
-url      = %22
+version('0.2.1-rc.1', '2b1369a5736457239f908abf88143ec2',%0A             url='
 http
@@ -324,17 +324,11 @@
 com/
-adammoody
+hpc
 /lib
@@ -352,17 +352,16 @@
 ownload/
-v
 0.2.1-rc
@@ -394,70 +394,8 @@
 r.gz
-%22%0A%0A    version('0.2.1-rc.1', 'a10a14e76ac2ad7357a4b21b794e8e4e
 ')%0A%0A

update libcircle to download tarball from github/hpc