summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumbach <healther@users.noreply.github.com>2019-11-06 00:03:31 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-05 17:03:31 -0600
commita684efe8267981563fe6f9c5fa2ad23c50d87cc6 (patch)
treeb0c64c988e8c78463857b2b4d461747f29dd8bfe
parent6dabdb7a82e2522012ad85f838e0f0ee90017772 (diff)
downloadspack-a684efe8267981563fe6f9c5fa2ad23c50d87cc6.tar.gz
spack-a684efe8267981563fe6f9c5fa2ad23c50d87cc6.tar.bz2
spack-a684efe8267981563fe6f9c5fa2ad23c50d87cc6.tar.xz
spack-a684efe8267981563fe6f9c5fa2ad23c50d87cc6.zip
new package: py-ics (#13576)
* new package: py-ics * drop 0.5 and move to tar-ball * Update var/spack/repos/builtin/packages/py-ics/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-ics/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-ics/package.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-ics/package.py b/var/spack/repos/builtin/packages/py-ics/package.py
new file mode 100644
index 0000000000..178e1efc46
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ics/package.py
@@ -0,0 +1,39 @@
+# 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 PyIcs(PythonPackage):
+ """Ics.py : iCalendar for Humans
+
+ Ics.py is a pythonic and easy iCalendar library. Its goals are to
+ read and write ics data in a developer friendly way.
+
+ iCalendar is a widely-used and useful format but not user friendly.
+ Ics.py is there to give you the ability of creating and reading
+ this format without any knowledge of it.
+
+ It should be able to parse every calendar that respects the
+ rfc5545 and maybe some more. It also outputs rfc compliant
+ calendars.
+
+ iCalendar (file extension .ics) is used by Google Calendar, Apple
+ Calendar, Android and many more.
+
+ Ics.py is available for Python>=3.6 and is Apache2 Licensed.
+ """
+
+ homepage = "https://github.com/C4ptainCrunch/ics.py"
+ url = "https://github.com/C4ptainCrunch/ics.py/archive/v0.6.tar.gz"
+
+ version('0.6', sha256='4947263136202d0489d4f5e5c7175dfd2db5d3508b8b003ddeaef96347f68830')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-arrow@0.11:0.14.99', type=('build', 'run'))
+ depends_on('py-six@1.5:', type=('build', 'run'))
+ depends_on('py-tatsu@4.2:', type=('build', 'run'), when='@0.6:')