summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-convertdate/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-convertdate/package.py b/var/spack/repos/builtin/packages/py-convertdate/package.py
new file mode 100644
index 0000000000..9a3cba5afe
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-convertdate/package.py
@@ -0,0 +1,21 @@
+# 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 PyConvertdate(PythonPackage):
+ """Converts between Gregorian dates and other calendar
+ systems.Calendars included: Baha'i, French Republican, Hebrew,
+ Indian Civil, Islamic, ISO, Julian, Mayan and Persian."""
+
+ homepage = "https://github.com/fitnr/convertdate/"
+ url = "https://pypi.io/packages/source/c/convertdate/convertdate-2.2.0.tar.gz"
+
+ version('2.2.0', sha256='9d2b0cd8d5382d2458d4cfa59665abba398a9e9bfd3a01c6f61b7b47768d28bf')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytz@2014.10:2019.13', type=('build', 'run'))
+ depends_on('py-pymeeus@0.3.6:1', type=('build', 'run'))