summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-snowfakery.spec186
-rw-r--r--sources1
3 files changed, 188 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8f5423e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/snowfakery-3.5.0.tar.gz
diff --git a/python-snowfakery.spec b/python-snowfakery.spec
new file mode 100644
index 0000000..c20cee5
--- /dev/null
+++ b/python-snowfakery.spec
@@ -0,0 +1,186 @@
+%global _empty_manifest_terminate_build 0
+Name: python-snowfakery
+Version: 3.5.0
+Release: 1
+Summary: Snowfakery is a tool for generating fake data that has relations between tables. Every row is faked data, but also unique and random, like a snowflake.
+License: MIT License
+URL: https://github.com/SFDO-Tooling/Snowfakery
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ea/b9/658b9460342df4af274c48f61ac928dd6da4f2bf36bc3dc36f01cd743687/snowfakery-3.5.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-certifi
+Requires: python3-charset-normalizer
+Requires: python3-click
+Requires: python3-faker
+Requires: python3-greenlet
+Requires: python3-gvgen
+Requires: python3-idna
+Requires: python3-jinja2
+Requires: python3-markupsafe
+Requires: python3-pydantic
+Requires: python3-baseconv
+Requires: python3-dateutil
+Requires: python3-pyyaml
+Requires: python3-requests
+Requires: python3-six
+Requires: python3-sqlalchemy
+Requires: python3-typing-extensions
+Requires: python3-urllib3
+
+%description
+[![Coverage Status](https://coveralls.io/repos/github/SFDO-Tooling/Snowfakery/badge.svg?branch=main)](https://coveralls.io/github/SFDO-Tooling/Snowfakery?branch=main)
+
+# Snowfakery Documentation
+
+Snowfakery is a tool for generating fake data that has relations between tables. Every row is faked data, but also unique and random, like a snowflake.
+
+To tell Snowfakery what data you want to generate, you need to write a Recipe file in YAML.
+
+Snowfakery can write its output to stdout, or any database accessible to SQLAlchemy. **When it is embedded in CumulusCI it can output to a Salesforce org**. Adding new output formats is fairly straightforward and open source contributions of that form are gratefully accepted.
+
+[Documentation](https://snowfakery.readthedocs.io)
+
+## Contributing
+
+To contribute to snowfakery you will first need to setup a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
+Once you have youre virtual environment, you can install dependencies via pip:
+
+`pip install -r requirements_dev.txt`
+
+Or you can install dependencies via pip tools:
+
+```python
+make dev-install
+```
+
+Now you're all set for contributing to Snowfakery!
+
+### Updating Dependencies
+
+Performing dependency updates is easy. Just run `make update-deps` and commit any changes to `requirements/prod.txt` and `requirements/dev.txt`.
+
+
+
+
+%package -n python3-snowfakery
+Summary: Snowfakery is a tool for generating fake data that has relations between tables. Every row is faked data, but also unique and random, like a snowflake.
+Provides: python-snowfakery
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-snowfakery
+[![Coverage Status](https://coveralls.io/repos/github/SFDO-Tooling/Snowfakery/badge.svg?branch=main)](https://coveralls.io/github/SFDO-Tooling/Snowfakery?branch=main)
+
+# Snowfakery Documentation
+
+Snowfakery is a tool for generating fake data that has relations between tables. Every row is faked data, but also unique and random, like a snowflake.
+
+To tell Snowfakery what data you want to generate, you need to write a Recipe file in YAML.
+
+Snowfakery can write its output to stdout, or any database accessible to SQLAlchemy. **When it is embedded in CumulusCI it can output to a Salesforce org**. Adding new output formats is fairly straightforward and open source contributions of that form are gratefully accepted.
+
+[Documentation](https://snowfakery.readthedocs.io)
+
+## Contributing
+
+To contribute to snowfakery you will first need to setup a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
+Once you have youre virtual environment, you can install dependencies via pip:
+
+`pip install -r requirements_dev.txt`
+
+Or you can install dependencies via pip tools:
+
+```python
+make dev-install
+```
+
+Now you're all set for contributing to Snowfakery!
+
+### Updating Dependencies
+
+Performing dependency updates is easy. Just run `make update-deps` and commit any changes to `requirements/prod.txt` and `requirements/dev.txt`.
+
+
+
+
+%package help
+Summary: Development documents and examples for snowfakery
+Provides: python3-snowfakery-doc
+%description help
+[![Coverage Status](https://coveralls.io/repos/github/SFDO-Tooling/Snowfakery/badge.svg?branch=main)](https://coveralls.io/github/SFDO-Tooling/Snowfakery?branch=main)
+
+# Snowfakery Documentation
+
+Snowfakery is a tool for generating fake data that has relations between tables. Every row is faked data, but also unique and random, like a snowflake.
+
+To tell Snowfakery what data you want to generate, you need to write a Recipe file in YAML.
+
+Snowfakery can write its output to stdout, or any database accessible to SQLAlchemy. **When it is embedded in CumulusCI it can output to a Salesforce org**. Adding new output formats is fairly straightforward and open source contributions of that form are gratefully accepted.
+
+[Documentation](https://snowfakery.readthedocs.io)
+
+## Contributing
+
+To contribute to snowfakery you will first need to setup a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
+Once you have youre virtual environment, you can install dependencies via pip:
+
+`pip install -r requirements_dev.txt`
+
+Or you can install dependencies via pip tools:
+
+```python
+make dev-install
+```
+
+Now you're all set for contributing to Snowfakery!
+
+### Updating Dependencies
+
+Performing dependency updates is easy. Just run `make update-deps` and commit any changes to `requirements/prod.txt` and `requirements/dev.txt`.
+
+
+
+
+%prep
+%autosetup -n snowfakery-3.5.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-snowfakery -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 3.5.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b3d0269
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1fef02fcfa6e2a73c139a2fb4ba1dc88 snowfakery-3.5.0.tar.gz