Skip to content

Commit

Permalink
Merge pull request #5168 from cms-sw/fwlite-py2-six-deps
Browse files Browse the repository at this point in the history
[FWLITE] Added py2-six deps for fwlite
  • Loading branch information
smuzaffar authored Aug 26, 2019
2 parents 3ca8583 + 9f9b9dc commit 0a93c74
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions fwlite-tool-conf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Requires: davix-toolfile
Requires: py2-numpy-toolfile
Requires: OpenBLAS-toolfile
Requires: py2-pybind11-toolfile
Requires: fwlite_python_tools

%if %isamd64
%if %isslc
Expand Down
21 changes: 21 additions & 0 deletions fwlite_python_tools.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
### RPM external fwlite_python_tools 1.0
## INITENV +PATH PYTHON27PATH %{i}/${PYTHON_LIB_SITE_PACKAGES}
## INITENV +PATH PYTHON3PATH %{i}/${PYTHON3_LIB_SITE_PACKAGES}
Source: none

%define isslc7 %(case %{cmsplatf} in (slc7_amd64*) echo 1 ;; (*) echo 0 ;; esac)
%define isamd64 %(case %{cmsplatf} in (*amd64*) echo 1 ;; (*) echo 0 ;; esac)
Requires: py2-six
Requires: py2-scipy
Requires: py2-numpy

%prep

%build

%install
mkdir -p %{i}/etc/scram.d
cat << \EOF_TOOLFILE >%i/etc/scram.d/python_tools.xml
<tool name="%{n}" version="%{v}">
</tool>
EOF_TOOLFILE

0 comments on commit 0a93c74

Please sign in to comment.