summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-11-23 15:51:57 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-11-23 15:51:57 -0800
commit6798c177c6eb9421c423ac0f20c17802d71995bb (patch)
tree7dd6ddbc68962a99867c9c4531b65846bf5875dc /var
parent1447fd0a127f810be9a3671b53f40a0fa2a54388 (diff)
parent666d9e88f5a500691bf55096d73689ef2a893192 (diff)
downloadspack-6798c177c6eb9421c423ac0f20c17802d71995bb.tar.gz
spack-6798c177c6eb9421c423ac0f20c17802d71995bb.tar.bz2
spack-6798c177c6eb9421c423ac0f20c17802d71995bb.tar.xz
spack-6798c177c6eb9421c423ac0f20c17802d71995bb.zip
Merge pull request #157 from alfredo-gimenez/develop
Added Python Twisted library
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/py-twisted/package.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/packages/py-twisted/package.py b/var/spack/packages/py-twisted/package.py
new file mode 100644
index 0000000000..2fdebb6cb9
--- /dev/null
+++ b/var/spack/packages/py-twisted/package.py
@@ -0,0 +1,16 @@
+from spack import *
+
+class PyTwisted(Package):
+ """An asynchronous networking framework written in Python"""
+ homepage = "https://twistedmatrix.com/"
+ url = "https://pypi.python.org/packages/source/T/Twisted/Twisted-15.3.0.tar.bz2"
+
+ version('15.4.0', '5337ffb6aeeff3790981a2cd56db9655')
+ version('15.3.0', 'b58e83da2f00b3352afad74d0c5c4599')
+
+ depends_on('py-setuptools')
+
+ extends('python')
+
+ def install(self, spec, prefix):
+ python('setup.py', 'install', '--prefix=%s' % prefix)