diff options
author | Jen Herting <jen@herting.cc> | 2021-12-20 21:08:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 18:08:53 -0800 |
commit | 024c2b690ad0894fe6ff2da7a6582758baf7b65f (patch) | |
tree | c0e92731a4aa3809e63b893540d17b887a3ec218 /var | |
parent | cd211acd80e7008574b4c3845f752f92b2ea5464 (diff) | |
download | spack-024c2b690ad0894fe6ff2da7a6582758baf7b65f.tar.gz spack-024c2b690ad0894fe6ff2da7a6582758baf7b65f.tar.bz2 spack-024c2b690ad0894fe6ff2da7a6582758baf7b65f.tar.xz spack-024c2b690ad0894fe6ff2da7a6582758baf7b65f.zip |
New package: py-faker (#28049)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-faker/package.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-faker/package.py b/var/spack/repos/builtin/packages/py-faker/package.py new file mode 100644 index 0000000000..fcde7bbfcb --- /dev/null +++ b/var/spack/repos/builtin/packages/py-faker/package.py @@ -0,0 +1,25 @@ +# 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 PyFaker(PythonPackage): + """Faker is a Python package that generates fake data for + you. Whether you need to bootstrap your database, create + good-looking XML documents, fill-in your persistence to + stress test it, or anonymize data taken from a production + service, Faker is for you.""" + + homepage = "https://github.com/joke2k/faker" + pypi = "Faker/Faker-9.8.2.tar.gz" + + version('9.8.2', sha256='393bd1b5becf3ccbc04a4f0f13da7e437914b24cafd1a4d8b71b5fecff54fb34') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-python-dateutil@2.4:', type=('build', 'run')) + depends_on('py-text-unidecode@1.3', type=('build', 'run')) + depends_on('py-typing-extensions@3.10.0.2:', type=('build', 'run'), when='^python@:3.8') |