summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2019-11-07 18:51:53 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-07 11:51:53 -0600
commit76c15f11e0a5c7a22ad3e8504e573c051ecd8625 (patch)
treef1fef82fdbdfa717271c1e9705bb4fdeaf3ce035
parent344e4e0d1c139d49caa058cbd672da3e49c2715a (diff)
downloadspack-76c15f11e0a5c7a22ad3e8504e573c051ecd8625.tar.gz
spack-76c15f11e0a5c7a22ad3e8504e573c051ecd8625.tar.bz2
spack-76c15f11e0a5c7a22ad3e8504e573c051ecd8625.tar.xz
spack-76c15f11e0a5c7a22ad3e8504e573c051ecd8625.zip
new package: py-convertdate (#13573)
* new package: py-convertdate * Update docstring
-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'))