%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.aliyun.com/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 * Thu Jun 08 2023 Python_Bot - 0.9.3-1 - Package Spec generated