Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build-with-pip.file
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#PipDepsMatch Command to find out pypi package dependencies
#PipDepsCommand to get package dependencies
#PipInstallCommand Command to install the package
#PipNoWheelDep: If set then do not add py3-wheel deps

## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES}

Expand Down Expand Up @@ -60,8 +61,10 @@
%define pip pip3&package_dependency=py3-pip
Requires: python3 py3-pip py3-setuptools
%if "%{n}" != "py3-wheel"
%if "%{?PipNoWheelDep:set}" != "set"
BuildRequires: py3-wheel
%endif
%endif

%if "%{?source0:set}" != "set"
%define source0 pip://%{pip_name}/%{realversion}?pip_options=%{PipDownloadOptions}&pip=%{pip}&output=/%{pkgsource}
Expand Down
1 change: 1 addition & 0 deletions geant4.spec
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,4 @@ sed -ire 's| +(-fprofile-[^ ]+ )+||' %{i}/lib64/Geant4-*/Geant4Config.cmake %{i}
%{relocateConfig}bin/geant4-config
%{relocateConfig}bin/geant4.*
%{relocateConfig}share/Geant4*/geant4make/geant4make.*
%{relocateConfig}lib64/pkgconfig/G4ptl.pc
1 change: 1 addition & 0 deletions madgraph5amcatnlo.spec
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ sed -ideleteme 's|#!.*/bin/python|#!/usr/bin/env python|' \
find %{i} -name '*deleteme' -delete
rm -rf %{i}/HEPTools/collier/COLLIER-*/build
rm -f %{i}/HEPTools/collier/collier_install.log
rm -f %{i}/Source/StdHEP/log.*

%post
%relocateConfigAll . py.py
Expand Down
4 changes: 2 additions & 2 deletions ninja.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external ninja 1.10.0
### RPM external ninja 1.11.1
Source0: git://github.com/ninja-build/ninja.git?obj=release/v%{realversion}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}.tgz

BuildRequires: python3 re2c
Expand All @@ -7,7 +7,7 @@ BuildRequires: python3 re2c
%setup -T -b 0 -n %{n}-%{realversion}

%build
python3 ./bootstrap.py
python3 ./configure.py --bootstrap

%install
mkdir -p %{i}/bin
Expand Down
2 changes: 1 addition & 1 deletion openloops.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## INCLUDE openloops-common
### RPM external openloops %{openloop_version}

BuildRequires: py3-scons openloops-process
BuildRequires: openloops-process

%define keep_archives true
%define runpath_opts -m proclib
Expand Down
1 change: 1 addition & 0 deletions pip/async-lru.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-typing-extensions
2 changes: 1 addition & 1 deletion pip/autopep8.file
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Requires: py3-pycodestyle py3-toml
Requires: py3-pycodestyle py3-tomli
3 changes: 3 additions & 0 deletions pip/awkward-cpp.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
BuildRequires: py3-hatchling py3-hatch-fancy-pypi-readme py3-scikit-build-core py3-pyproject-metadata cmake
Requires: py3-pybind11 py3-numpy
%define PipPreBuild export CMAKE_PREFIX_PATH=%{cmake_prefix_path}
2 changes: 2 additions & 0 deletions pip/awkward-pandas.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-hatchling py3-hatch-vcs
Requires: py3-awkward py3-pandas
3 changes: 2 additions & 1 deletion pip/awkward.file
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Requires: py3-numpy py3-pytest-runner py3-pybind11 py3-PyYAML cmake
Requires: py3-numpy py3-pytest-runner py3-pybind11 py3-PyYAML cmake py3-awkward-cpp
BuildRequires: py3-hatchling py3-hatch-fancy-pypi-readme
%define source0 git+https://github.com/scikit-hep/awkward?obj=main/v%{realversion}&export=%{n}-%{realversion}&submodules=1&output=/source.tar.gz
5 changes: 5 additions & 0 deletions pip/blosc2.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Requires: py3-scikit-build py3-cython py3-numpy py3-msgpack py3-ndindex py3-py-cpuinfo py3-rich
BuildRequires: cmake ninja

%define PipPostPost \
%{relocateConfig}lib64/pkgconfig/blosc2.pc
2 changes: 2 additions & 0 deletions pip/build.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-flit-core py3-pyproject-hooks
Requires: py3-packaging py3-tomli
2 changes: 1 addition & 1 deletion pip/cleo.file
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Requires: py3-poetry-core py3-clikit
Requires: py3-poetry-core py3-clikit py3-rapidfuzz
1 change: 1 addition & 0 deletions pip/colorama.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling
2 changes: 2 additions & 0 deletions pip/comm.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-hatchling
Requires: py3-traitlets
1 change: 1 addition & 0 deletions pip/contourpy.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-pybind11 py3-numpy
2 changes: 2 additions & 0 deletions pip/dask-awkward.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-hatchling py3-hatch-vcs
Requires: py3-dask py3-awkward
2 changes: 2 additions & 0 deletions pip/dask.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-versioneer
Requires: py3-click py3-cloudpickle py3-fsspec py3-packaging py3-partd py3-PyYAML py3-toolz py3-importlib-metadata py3-numpy
1 change: 1 addition & 0 deletions pip/exceptiongroup.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-flit-scm
1 change: 1 addition & 0 deletions pip/filelock.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling py3-hatch-vcs
2 changes: 1 addition & 1 deletion pip/flit-core.file
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Requires: py3-pytoml py3-toml
%define PipNoWheelDep 1
1 change: 1 addition & 0 deletions pip/flit-scm.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-flit-core py3-setuptools-scm py3-tomli
1 change: 1 addition & 0 deletions pip/hatch-fancy-pypi-readme.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling
1 change: 1 addition & 0 deletions pip/hatch-jupyter-builder.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling
1 change: 1 addition & 0 deletions pip/hatch-nodejs-version.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling
1 change: 1 addition & 0 deletions pip/hatch-vcs.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling
2 changes: 1 addition & 1 deletion pip/hatchling.file
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Requires: py3-pathspec py3-tomli py3-pluggy py3-editables
Requires: py3-pathspec py3-tomli py3-pluggy py3-editables py3-trove-classifiers py3-calver
2 changes: 1 addition & 1 deletion pip/hepdata-validator.file
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Requires: py3-jsonschema py3-PyYAML py3-Click py3-requests
Requires: py3-jsonschema py3-PyYAML py3-Click py3-requests py3-packaging
1 change: 1 addition & 0 deletions pip/hist.file
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Requires: py3-numpy py3-boost-histogram py3-histoprint
BuildRequires: py3-hatchling py3-hatch-vcs
2 changes: 2 additions & 0 deletions pip/idna.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-flit-core

1 change: 1 addition & 0 deletions pip/iniconfig.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling py3-hatch-vcs
1 change: 1 addition & 0 deletions pip/installer.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-flit-core
2 changes: 1 addition & 1 deletion pip/ipykernel.file
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Requires: py3-ipython py3-jupyter-client py3-debugpy py3-psutil
Requires: py3-ipython py3-jupyter-client py3-jedi py3-backcall
Requires: py3-jedi py3-backcall py3-comm py3-nest-asyncio
4 changes: 2 additions & 2 deletions pip/jsonschema.file
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Requires: py3-repoze-lru py3-argparse py3-pyrsistent
Requires: py3-attrs py3-six py3-importlib-metadata
Requires: py3-attrs py3-pyrsistent py3-rfc3339-validator py3-rfc3986-validator
BuildRequires: py3-hatchling py3-hatch-fancy-pypi-readme py3-hatch-vcs
2 changes: 1 addition & 1 deletion pip/jupyter-client.file
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Requires: py3-jupyter-core py3-python-dateutil py3-pyzmq
Requires: py3-tornado py3-entrypoints py3-nest-asyncio
Requires: py3-tornado py3-traitlets
2 changes: 1 addition & 1 deletion pip/jupyter-core.file
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Requires: py3-traitlets
Requires: py3-traitlets py3-platformdirs
%define PipPostBuild rm %{i}/lib/*/site-packages/jupyter.py*
2 changes: 2 additions & 0 deletions pip/jupyter-events.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-hatchling
Requires: py3-jsonschema py3-python-json-logger py3-PyYAML py3-traitlets
2 changes: 2 additions & 0 deletions pip/jupyter-server-terminals.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-hatchling
Requires: py3-terminado
6 changes: 4 additions & 2 deletions pip/jupyter-server.file
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Requires: py3-jupyter-packaging py3-jupyter-client py3-nbconvert
Requires: py3-anyio py3-argon2-cffi py3-prometheus-client py3-requests-unixsocket py3-Send2Trash py3-terminado py3-websocket-client
Requires: py3-anyio py3-argon2-cffi py3-Jinja2 py3-jupyter-client py3-jupyter-core py3-jupyter-server-terminals py3-nbconvert py3-nbformat
Requires: py3-packaging py3-prometheus-client py3-pyzmq py3-Send2Trash py3-terminado py3-tornado py3-traitlets py3-websocket-client
Requires: py3-jupyter-events
BuildRequires: py3-hatch-jupyter-builder py3-jupyter-packaging
2 changes: 2 additions & 0 deletions pip/markdown-it-py.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-flit-core
Requires: py3-mdurl
3 changes: 2 additions & 1 deletion pip/matplotlib.file
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Requires: py3-numpy py3-pillow
Requires: py3-numpy py3-pillow py3-pybind11
%define PipPreBuild \
export CFLAGS="-I${FREETYPE_ROOT}/include/freetype2 -I${LIBPNG_ROOT}/include/libpng16" \
export LDFLAGS="-L${FREETYPE_ROOT}/lib -L${LIBPNG_ROOT}/lib" \
export PKG_CONFIG=false
Requires: py3-cycler py3-kiwisolver py3-pyparsing py3-python-dateutil py3-certifi
Requires: py3-fonttools py3-packaging
Requires: py3-contourpy py3-importlib-resources
Requires: zlib libpng freetype
1 change: 1 addition & 0 deletions pip/mdurl.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-flit-core
1 change: 1 addition & 0 deletions pip/meson-python.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-meson py3-pyproject-metadata py3-tomli py3-typing-extensions ninja
1 change: 1 addition & 0 deletions pip/nbclassic.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-ipykernel py3-notebook-shim py3-jupyter-packaging py3-jupyter-server py3-babel
1 change: 1 addition & 0 deletions pip/nbformat.file
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Requires: py3-traitlets py3-jsonschema py3-jupyter-core py3-fastjsonschema
BuildRequires: py3-hatchling py3-hatch-nodejs-version
1 change: 1 addition & 0 deletions pip/ndindex.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-cython py3-numpy
2 changes: 2 additions & 0 deletions pip/notebook-shim.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-hatchling
Requires: py3-jupyter-server
2 changes: 1 addition & 1 deletion pip/notebook.file
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Requires: py3-ipykernel
Requires: py3-ipykernel py3-nbclassic
Requires: py3-terminado py3-nbconvert py3-ipykernel py3-Send2Trash py3-ipaddress py3-prometheus-client py3-argon2-cffi

2 changes: 1 addition & 1 deletion pip/onnxmltools.file
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Requires: py3-numpy py3-onnx py3-protobuf py3-onnxconverter-common py3-skl2onnx py3-keras2onnx
%define source0 https://github.com/onnx/onnxmltools/archive/%{realversion}.tar.gz
%define source0 https://github.com/onnx/onnxmltools/archive/refs/tags/v%{realversion}.tar.gz
2 changes: 1 addition & 1 deletion pip/pandas.file
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Requires: py3-six py3-python-dateutil py3-pytz py3-numpy py3-cython
Requires: py3-six py3-python-dateutil py3-pytz py3-numpy py3-cython py3-versioneer py3-tzdata
1 change: 1 addition & 0 deletions pip/partd.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-locket py3-toolz
1 change: 1 addition & 0 deletions pip/pathspec.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-flit-core
1 change: 1 addition & 0 deletions pip/platformdirs.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling py3-hatch-vcs
15 changes: 2 additions & 13 deletions pip/poetry-cyclic-deps.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,7 @@

[tool.poetry.dependencies]
python = "^3.7"
-poetry = "^1.2.0"
poetry-core = "^1.1.0"
-poetry = "^1.3.0"
poetry-core = "^1.3.0"

[tool.poetry.dev-dependencies]
--- poetry-plugin-export-1.0.7/setup.py.orig 2022-10-10 17:50:42.686063618 +0200
+++ poetry-plugin-export-1.0.7/setup.py 2022-10-10 17:50:52.395982438 +0200
@@ -11,7 +11,7 @@
{'': ['*']}

install_requires = \
-['poetry-core>=1.1.0,<2.0.0', 'poetry>=1.2.0,<2.0.0']
+['poetry-core>=1.1.0,<2.0.0']

entry_points = \
{'poetry.application.plugin': ['export = '
1 change: 1 addition & 0 deletions pip/poetry.file
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Requires: py3-cachecontrol py3-cachy py3-cleo py3-html5lib py3-keyring py3-pexpect py3-pkginfo py3-virtualenv
Requires: py3-requests-toolbelt py3-shellingham py3-tomlkit
Requires: py3-dulwich py3-jsonschema py3-poetry-plugin-export
BuildRequires: py3-build py3-installer py3-lockfile py3-pyproject-hooks py3-trove-classifiers
1 change: 1 addition & 0 deletions pip/prettytable.file
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Requires: py3-wcwidth
BuildRequires: py3-hatchling py3-hatch-vcs
4 changes: 4 additions & 0 deletions pip/pybind11.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
%define PipPostInstall \
ln -s ${PYTHON3_LIB_SITE_PACKAGES}/pybind11/share %{i}/share; \
ln -s ${PYTHON3_LIB_SITE_PACKAGES}/pybind11/include %{i}/include
%define PipPostPost %{relocateConfig}/share/cmake/pybind11/*.cmake
2 changes: 2 additions & 0 deletions pip/pyproject-hooks.file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BuildRequires: py3-flit-core

1 change: 1 addition & 0 deletions pip/pyproject-metadata.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-flit-core py3-packaging
1 change: 1 addition & 0 deletions pip/pytest.file
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Requires: py3-more-itertools py3-atomicwrites py3-attrs py3-funcsigs py3-pathlib2 py3-pluggy py3-py py3-scandir
Requires: py3-packaging py3-wcwidth
Requires: py3-iniconfig py3-toml
Requires: py3-exceptiongroup
1 change: 1 addition & 0 deletions pip/pyup.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BuildRequires: py3-hatchling
1 change: 1 addition & 0 deletions pip/rapidfuzz.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Requires: py3-numpy py3-packaging py3-scikit-build
Loading