Add py-clipboard package (#12364)

This commit is contained in:
Adam J. Stewart 2019-08-10 11:52:52 -05:00 committed by GitHub
parent 6e14e74014
commit e69456bde2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
# 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 PyClipboard(PythonPackage):
"""A cross platform clipboard operation library of Python."""
homepage = "https://github.com/terryyin/clipboard"
url = "https://pypi.io/packages/source/c/clipboard/clipboard-0.0.4.tar.gz"
version('0.0.4', sha256='a72a78e9c9bf68da1c3f29ee022417d13ec9e3824b511559fd2b702b1dd5b817')
depends_on('py-setuptools', type='build')
depends_on('py-pyperclip@1.3:', type=('build', 'run'))