summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-25 21:27:44 -0500
committerGitHub <noreply@github.com>2019-10-25 21:27:44 -0500
commit5582de837ef126ad736d44565a8d4231225b29da (patch)
treeccd662ad6f560e416cffe3e5d0fb9f33dc8cd33b /var
parent85597be4d7f8772aefdf570058348183eb2d814c (diff)
downloadspack-5582de837ef126ad736d44565a8d4231225b29da.tar.gz
spack-5582de837ef126ad736d44565a8d4231225b29da.tar.bz2
spack-5582de837ef126ad736d44565a8d4231225b29da.tar.xz
spack-5582de837ef126ad736d44565a8d4231225b29da.zip
Add py-twine package (#13449)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-twine/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-twine/package.py b/var/spack/repos/builtin/packages/py-twine/package.py
new file mode 100644
index 0000000000..d7ddcebd16
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-twine/package.py
@@ -0,0 +1,22 @@
+# 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 PyTwine(PythonPackage):
+ """Twine is a utility for publishing Python packages on PyPI."""
+
+ homepage = "https://twine.readthedocs.io/"
+ url = "https://pypi.io/packages/source/t/twine/twine-2.0.0.tar.gz"
+
+ version('2.0.0', sha256='9fe7091715c7576df166df8ef6654e61bada39571783f2fd415bdcba867c6993')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-pkginfo@1.4.2:', type=('build', 'run'))
+ depends_on('py-readme-renderer@21.0:', type=('build', 'run'))
+ depends_on('py-requests-toolbelt@0.8.0:0.8.999,0.9.1:', type=('build', 'run'))
+ depends_on('py-setuptools@0.7.0:', type=('build', 'run'))
+ depends_on('py-tqdm@4.14:', type=('build', 'run'))