summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:25:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:25:54 +0000
commita9ce0bf20901a950e9ac3f0dc86e85aefc1eda8d (patch)
tree6b20fce6d8d2a9ced2db01e79408afa9aeb1e476
parent6c53b9e3099546d15d8038c4bbfe30fa8a78ad87 (diff)
automatic import of python-lbapcommon
-rw-r--r--.gitignore1
-rw-r--r--python-lbapcommon.spec119
-rw-r--r--sources1
3 files changed, 121 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f65c738 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/LbAPCommon-0.9.3.tar.gz
diff --git a/python-lbapcommon.spec b/python-lbapcommon.spec
new file mode 100644
index 0000000..e1fadd6
--- /dev/null
+++ b/python-lbapcommon.spec
@@ -0,0 +1,119 @@
+%global _empty_manifest_terminate_build 0
+Name: python-LbAPCommon
+Version: 0.9.3
+Release: 1
+Summary: Common utilities used by LHCb DPA WP2 related software
+License: GNU General Public License v3 or later (GPLv3+)
+URL: https://gitlab.cern.ch/lhcb-dpa/analysis-productions/LbAPCommon
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7f/4a/8020861b40c319989c03876d0a3f1a68e01b47e56f2ffcc2e752a764a46e/LbAPCommon-0.9.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-strictyaml
+Requires: python3-jinja2
+Requires: python3-lxml
+Requires: python3-pyyaml
+Requires: python3-setuptools
+Requires: python3-boost-histogram
+Requires: python3-hist
+Requires: python3-requests
+Requires: python3-uproot
+Requires: python3-awkward
+Requires: python3-matplotlib
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-timeout
+
+%description
+# Common functionality for LHCb Analysis Productions packages
+
+ [![pipeline status](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/badges/master/pipeline.svg)](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/-/commits/master)
+ [![coverage report](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/badges/master/coverage.svg)](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/-/commits/master)
+
+This repository contains the implementation of `LbAPCommon`, a Python package for shareing functionality between:
+
+* [LbAnalysisProductions](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/LbAnalysisProductions/)
+* [LbAPLocal](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/LbAPLocal/)
+
+This package is currently unstable to allow it to be adapted for the needs of its dependent packages.
+
+
+%package -n python3-LbAPCommon
+Summary: Common utilities used by LHCb DPA WP2 related software
+Provides: python-LbAPCommon
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-LbAPCommon
+# Common functionality for LHCb Analysis Productions packages
+
+ [![pipeline status](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/badges/master/pipeline.svg)](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/-/commits/master)
+ [![coverage report](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/badges/master/coverage.svg)](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/-/commits/master)
+
+This repository contains the implementation of `LbAPCommon`, a Python package for shareing functionality between:
+
+* [LbAnalysisProductions](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/LbAnalysisProductions/)
+* [LbAPLocal](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/LbAPLocal/)
+
+This package is currently unstable to allow it to be adapted for the needs of its dependent packages.
+
+
+%package help
+Summary: Development documents and examples for LbAPCommon
+Provides: python3-LbAPCommon-doc
+%description help
+# Common functionality for LHCb Analysis Productions packages
+
+ [![pipeline status](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/badges/master/pipeline.svg)](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/-/commits/master)
+ [![coverage report](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/badges/master/coverage.svg)](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/lbapcommon/-/commits/master)
+
+This repository contains the implementation of `LbAPCommon`, a Python package for shareing functionality between:
+
+* [LbAnalysisProductions](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/LbAnalysisProductions/)
+* [LbAPLocal](https://gitlab.cern.ch/lhcb-dpa/analysis-productions/LbAPLocal/)
+
+This package is currently unstable to allow it to be adapted for the needs of its dependent packages.
+
+
+%prep
+%autosetup -n LbAPCommon-0.9.3
+
+%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-LbAPCommon -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4a730e1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+085802c71d762ec6f82568080234d487 LbAPCommon-0.9.3.tar.gz