From 1c81438343da5c607c5f9f90fb5778ea76cb5527 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Thu, 10 Jun 2021 14:58:21 -0400 Subject: New package: py-python-xlib (#24150) * [py-python-xlib] created template * [py-python-xlib] added dependencies * [py-python-xlib] Final cleanup - added homepage - added description - removed fixmes * [py-python-xlib] allowed newer versions of python --- .../builtin/packages/py-python-xlib/package.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-python-xlib/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-python-xlib/package.py b/var/spack/repos/builtin/packages/py-python-xlib/package.py new file mode 100644 index 0000000000..44700c1c84 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-xlib/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2021 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 PyPythonXlib(PythonPackage): + """The Python X Library is intended to be a fully + functional X client library for Python programs. It is + written entirely in Python, in contrast to earlier X + libraries for Python (the ancient X extension and the newer + plxlib) which were interfaces to the C Xlib.""" + + homepage = "https://github.com/python-xlib/python-xlib" + pypi = "python-xlib/python-xlib-0.30.tar.gz" + + version('0.30', sha256='74131418faf9e7b83178c71d9d80297fbbd678abe99ae9258f5a20cd027acb5f') + + depends_on('python@2.7,3.3:', type=('build', 'run')) + depends_on('py-setuptools@30.3.0:', type='build') + depends_on('py-setuptools-scm', type='build') + depends_on('py-six@1.10.0:', type=('build', 'run')) -- cgit v1.2.3-60-g2f50