summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-21 16:17:51 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-21 16:17:51 -0700
commitfd6485eface28d653d561ab37407dcaeae12f75e (patch)
treeb01b81e20fbe6678fac99a679bd09370b25aed8a /var
parent17ee9c7229f77f6997cf8825eadb0b3bcb8e6989 (diff)
downloadspack-fd6485eface28d653d561ab37407dcaeae12f75e.tar.gz
spack-fd6485eface28d653d561ab37407dcaeae12f75e.tar.bz2
spack-fd6485eface28d653d561ab37407dcaeae12f75e.tar.xz
spack-fd6485eface28d653d561ab37407dcaeae12f75e.zip
new package: py-mechanize (#12468)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-mechanize/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mechanize/package.py b/var/spack/repos/builtin/packages/py-mechanize/package.py
new file mode 100644
index 0000000000..9c019c73ee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-mechanize/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMechanize(PythonPackage):
+ """Stateful programmatic web browsing."""
+
+ homepage = "https://github.com/python-mechanize/mechanize"
+ url = "https://pypi.io/packages/source/m/mechanize/mechanize-0.4.3.tar.gz"
+
+ version('0.4.3', sha256='d7d7068be5e1b3069575c98c870aaa96dd26603fe8c8697b470e2f65259fddbf')
+ version('0.2.5', sha256='2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-html5lib@0.9999999999:', type=('build', 'run'))
+ depends_on('python@2.7:', type=('build', 'run'))