From eddd82ce86c46f2e6e5dfa27bb96023acf7691a2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 06:14:10 +0000 Subject: automatic import of python-ingester3 --- .gitignore | 1 + python-ingester3.spec | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 106 insertions(+) create mode 100644 python-ingester3.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..cf01a89 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ingester3-1.9.1.tar.gz diff --git a/python-ingester3.spec b/python-ingester3.spec new file mode 100644 index 0000000..bcf43c9 --- /dev/null +++ b/python-ingester3.spec @@ -0,0 +1,104 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ingester3 +Version: 1.9.1 +Release: 1 +Summary: Data ingester for ViEWS3. +License: MIT +URL: https://github.com/UppsalaConflictDataProgram/ingester3> +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/52/0b/9e9c015062632dbe4e1f61fea9ee1925d874aca994ce05e02ac696d2844f/ingester3-1.9.1.tar.gz +BuildArch: noarch + +Requires: python3-cryptography +Requires: python3-diskcache +Requires: python3-levenshtein +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-psycopg2 +Requires: python3-dotenv +Requires: python3-sqlalchemy + +%description +# Ingester3 + +Ingester3 is the Pandas extension-based system for ingesting data in the ViEWS3 system. + +## Funding + +The contents of this repository is the outcome of projects that have received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 694640, *ViEWS*) and Horizon Europe (Grant agreement No. 101055176, *ANTICIPATE*; and No. 101069312, *ViEWS* (ERC-2022-POC1)), Riksbankens Jubileumsfond (Grant agreement No. M21-0002, *Societies at Risk*), Uppsala University, Peace Research Institute Oslo, the United Nations Economic and Social Commission for Western Asia (*ViEWS-ESCWA*), the United Kingdom Foreign, Commonwealth & Development Office (GSRA – *Forecasting Fatalities in Armed Conflict*), the Swedish Research Council (*DEMSCORE*), the Swedish Foundation for Strategic Environmental Research (*MISTRA Geopolitics*), the Norwegian MFA (*Conflict Trends* QZA-18/0227), and the United Nations High Commissioner for Refugees (*the Sahel Predictive Analytics project*). + + + +%package -n python3-ingester3 +Summary: Data ingester for ViEWS3. +Provides: python-ingester3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ingester3 +# Ingester3 + +Ingester3 is the Pandas extension-based system for ingesting data in the ViEWS3 system. + +## Funding + +The contents of this repository is the outcome of projects that have received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 694640, *ViEWS*) and Horizon Europe (Grant agreement No. 101055176, *ANTICIPATE*; and No. 101069312, *ViEWS* (ERC-2022-POC1)), Riksbankens Jubileumsfond (Grant agreement No. M21-0002, *Societies at Risk*), Uppsala University, Peace Research Institute Oslo, the United Nations Economic and Social Commission for Western Asia (*ViEWS-ESCWA*), the United Kingdom Foreign, Commonwealth & Development Office (GSRA – *Forecasting Fatalities in Armed Conflict*), the Swedish Research Council (*DEMSCORE*), the Swedish Foundation for Strategic Environmental Research (*MISTRA Geopolitics*), the Norwegian MFA (*Conflict Trends* QZA-18/0227), and the United Nations High Commissioner for Refugees (*the Sahel Predictive Analytics project*). + + + +%package help +Summary: Development documents and examples for ingester3 +Provides: python3-ingester3-doc +%description help +# Ingester3 + +Ingester3 is the Pandas extension-based system for ingesting data in the ViEWS3 system. + +## Funding + +The contents of this repository is the outcome of projects that have received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 694640, *ViEWS*) and Horizon Europe (Grant agreement No. 101055176, *ANTICIPATE*; and No. 101069312, *ViEWS* (ERC-2022-POC1)), Riksbankens Jubileumsfond (Grant agreement No. M21-0002, *Societies at Risk*), Uppsala University, Peace Research Institute Oslo, the United Nations Economic and Social Commission for Western Asia (*ViEWS-ESCWA*), the United Kingdom Foreign, Commonwealth & Development Office (GSRA – *Forecasting Fatalities in Armed Conflict*), the Swedish Research Council (*DEMSCORE*), the Swedish Foundation for Strategic Environmental Research (*MISTRA Geopolitics*), the Norwegian MFA (*Conflict Trends* QZA-18/0227), and the United Nations High Commissioner for Refugees (*the Sahel Predictive Analytics project*). + + + +%prep +%autosetup -n ingester3-1.9.1 + +%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-ingester3 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 1.9.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..cc8289d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +8308d386b6efdb435885e9393eac596f ingester3-1.9.1.tar.gz -- cgit v1.2.3