summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:34:51 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:34:51 +0000
commit74b08c20614377c87bbe4efed805d8deb50e5c02 (patch)
tree6b4d90ca027d74a67ab512357851ab678e3c4644
parent8e4fe7fef2f4b4f1a6c5fb8d7e0f0d21d023e20b (diff)
automatic import of python-exergi
-rw-r--r--.gitignore1
-rw-r--r--python-exergi.spec198
-rw-r--r--sources1
3 files changed, 200 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..56d5cc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/exergi-0.5.23.tar.gz
diff --git a/python-exergi.spec b/python-exergi.spec
new file mode 100644
index 0000000..f70a69b
--- /dev/null
+++ b/python-exergi.spec
@@ -0,0 +1,198 @@
+%global _empty_manifest_terminate_build 0
+Name: python-exergi
+Version: 0.5.23
+Release: 1
+Summary: SE Libary for various tasks
+License: MIT
+URL: https://pypi.org/project/exergi/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/26/63/e9c014e0cb678b9370a78ec63905c3e21b54ff4da63521b7e2182b1c1498/exergi-0.5.23.tar.gz
+BuildArch: noarch
+
+
+%description
+# Exergi
+This project is a part of the Datadriven Production & Distribution Department
+
+## Project Intro/Objective
+The purpose of this project is to gather all exergi specific code in one repo and share it easily across the organisation.
+
+## Modules
+- **aws.s3**. Module for S3 related functions such as import, export.
+- **aws.rds**. Module used to connect, import and export data from PostgreSQL databases on RDS or local docker environment.
+- **plot**. Common plotting library based on plotly.
+
+## Installation
+A step by step series of examples that tell you how to get a development env running
+
+Say what the step will be
+
+```
+pip install exergi
+```
+
+To update exergi package please use
+
+```
+pip install --upgrade exergi
+```
+
+## Automated release process
+
+This project utilized gitlab ci for automated release process. For more information see the following link
+
+https://towardsdatascience.com/setup-version-increment-and-automated-release-process-591d87ea1221
+
+## Contributing Members
+
+**Leads : [Kasper Janehag](https://gitlab.stockholmexergi.io/kasper.janehag)**
+**Contributor : [Johan Wållgren](https://gitlab.stockholmexergi.io/kasper.janehag)**
+
+## Members:
+
+|Name | Role |
+|---------|-----------------|
+|[Kasper Janehag] | Data Scientist |
+|[Johan Wållgren] | Data Scientist |
+
+%package -n python3-exergi
+Summary: SE Libary for various tasks
+Provides: python-exergi
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-exergi
+# Exergi
+This project is a part of the Datadriven Production & Distribution Department
+
+## Project Intro/Objective
+The purpose of this project is to gather all exergi specific code in one repo and share it easily across the organisation.
+
+## Modules
+- **aws.s3**. Module for S3 related functions such as import, export.
+- **aws.rds**. Module used to connect, import and export data from PostgreSQL databases on RDS or local docker environment.
+- **plot**. Common plotting library based on plotly.
+
+## Installation
+A step by step series of examples that tell you how to get a development env running
+
+Say what the step will be
+
+```
+pip install exergi
+```
+
+To update exergi package please use
+
+```
+pip install --upgrade exergi
+```
+
+## Automated release process
+
+This project utilized gitlab ci for automated release process. For more information see the following link
+
+https://towardsdatascience.com/setup-version-increment-and-automated-release-process-591d87ea1221
+
+## Contributing Members
+
+**Leads : [Kasper Janehag](https://gitlab.stockholmexergi.io/kasper.janehag)**
+**Contributor : [Johan Wållgren](https://gitlab.stockholmexergi.io/kasper.janehag)**
+
+## Members:
+
+|Name | Role |
+|---------|-----------------|
+|[Kasper Janehag] | Data Scientist |
+|[Johan Wållgren] | Data Scientist |
+
+%package help
+Summary: Development documents and examples for exergi
+Provides: python3-exergi-doc
+%description help
+# Exergi
+This project is a part of the Datadriven Production & Distribution Department
+
+## Project Intro/Objective
+The purpose of this project is to gather all exergi specific code in one repo and share it easily across the organisation.
+
+## Modules
+- **aws.s3**. Module for S3 related functions such as import, export.
+- **aws.rds**. Module used to connect, import and export data from PostgreSQL databases on RDS or local docker environment.
+- **plot**. Common plotting library based on plotly.
+
+## Installation
+A step by step series of examples that tell you how to get a development env running
+
+Say what the step will be
+
+```
+pip install exergi
+```
+
+To update exergi package please use
+
+```
+pip install --upgrade exergi
+```
+
+## Automated release process
+
+This project utilized gitlab ci for automated release process. For more information see the following link
+
+https://towardsdatascience.com/setup-version-increment-and-automated-release-process-591d87ea1221
+
+## Contributing Members
+
+**Leads : [Kasper Janehag](https://gitlab.stockholmexergi.io/kasper.janehag)**
+**Contributor : [Johan Wållgren](https://gitlab.stockholmexergi.io/kasper.janehag)**
+
+## Members:
+
+|Name | Role |
+|---------|-----------------|
+|[Kasper Janehag] | Data Scientist |
+|[Johan Wållgren] | Data Scientist |
+
+%prep
+%autosetup -n exergi-0.5.23
+
+%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-exergi -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.23-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7964b15
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+027cc395d8bd1e7360c56f8f94382044 exergi-0.5.23.tar.gz