summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorrvinaybharadwaj <vinayr@lanl.gov>2020-10-07 21:28:13 -0600
committerGitHub <noreply@github.com>2020-10-07 21:28:13 -0600
commite70d9e397168a75534d2157aff8e136e354bdca1 (patch)
treecaef86002fdf1d66b1ec5e15b81c8f2c7c880b48 /var
parenta83f6bdb46b2b49c35ec4efd665c845dc80fab14 (diff)
downloadspack-e70d9e397168a75534d2157aff8e136e354bdca1.tar.gz
spack-e70d9e397168a75534d2157aff8e136e354bdca1.tar.bz2
spack-e70d9e397168a75534d2157aff8e136e354bdca1.tar.xz
spack-e70d9e397168a75534d2157aff8e136e354bdca1.zip
Add py-avro-python3 (#19202)
* Add py-avro-python3 * Adding deprecation warning * Updating python versions * Fixing docstring indentation * Update package.py Co-authored-by: Christoph Junghans <christoph.junghans@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-avro-python3/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-avro-python3/package.py b/var/spack/repos/builtin/packages/py-avro-python3/package.py
new file mode 100644
index 0000000000..2c62f35825
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-avro-python3/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2020 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 PyAvroPython3(PythonPackage):
+ """Apache Avro is a data serialization system.
+ Note: lang/py3 version (this package) will be deprecated and lang/py
+ functions will be made available for both python2 and python3."""
+
+ homepage = "https://github.com/apache/avro/tree/master/lang/py3"
+ url = "https://pypi.io/packages/source/a/avro-python3/avro-python3-1.10.0.tar.gz"
+
+ version('1.10.0', sha256='a455c215540b1fceb1823e2a918e94959b54cb363307c97869aa46b5b55bde05')
+
+ depends_on('python@2.7,3.0:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')