awips2-python-metpy 0.4.1
This commit is contained in:
parent
8ec856c392
commit
c174383ea7
2 changed files with 8 additions and 4 deletions
BIN
pythonPackages/metpy/v0.4.1.tar.gz
Normal file
BIN
pythonPackages/metpy/v0.4.1.tar.gz
Normal file
Binary file not shown.
|
@ -8,8 +8,8 @@
|
||||||
#
|
#
|
||||||
Name: awips2-python-metpy
|
Name: awips2-python-metpy
|
||||||
Summary: AWIPS II Python metpy Distribution
|
Summary: AWIPS II Python metpy Distribution
|
||||||
Version: 0.3.0
|
Version: 0.4.1
|
||||||
Release: 2
|
Release: 1
|
||||||
Group: AWIPSII
|
Group: AWIPSII
|
||||||
BuildRoot: %{_build_root}
|
BuildRoot: %{_build_root}
|
||||||
BuildArch: %{_build_arch}
|
BuildArch: %{_build_arch}
|
||||||
|
@ -44,8 +44,9 @@ mkdir -p %{_python_build_loc}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
METPY_SRC_DIR="%{_python_pkgs_dir}/metpy"
|
METPY_SRC_DIR="%{_python_pkgs_dir}/metpy"
|
||||||
|
METPY_TAR="v%{version}.tar.gz"
|
||||||
|
|
||||||
cp -rv ${METPY_SRC_DIR}/* \
|
cp -rv ${METPY_SRC_DIR}/${METPY_TAR} \
|
||||||
%{_python_build_loc}
|
%{_python_build_loc}
|
||||||
RC=$?
|
RC=$?
|
||||||
if [ ${RC} -ne 0 ]; then
|
if [ ${RC} -ne 0 ]; then
|
||||||
|
@ -54,6 +55,9 @@ fi
|
||||||
|
|
||||||
pushd . > /dev/null
|
pushd . > /dev/null
|
||||||
cd %{_python_build_loc}
|
cd %{_python_build_loc}
|
||||||
|
tar -xvzf ${METPY_TAR}
|
||||||
|
cd MetPy-%{version}
|
||||||
|
ls -la
|
||||||
export LD_LIBRARY_PATH=/awips2/python/lib
|
export LD_LIBRARY_PATH=/awips2/python/lib
|
||||||
/awips2/python/bin/python setup.py build
|
/awips2/python/bin/python setup.py build
|
||||||
RC=$?
|
RC=$?
|
||||||
|
@ -65,7 +69,7 @@ popd > /dev/null
|
||||||
%install
|
%install
|
||||||
|
|
||||||
pushd . > /dev/null
|
pushd . > /dev/null
|
||||||
cd %{_python_build_loc}
|
cd %{_python_build_loc}/MetPy-%{version}
|
||||||
export LD_LIBRARY_PATH=/awips2/python/lib
|
export LD_LIBRARY_PATH=/awips2/python/lib
|
||||||
/awips2/python/bin/python setup.py install \
|
/awips2/python/bin/python setup.py install \
|
||||||
--root=%{_build_root} \
|
--root=%{_build_root} \
|
||||||
|
|
Loading…
Add table
Reference in a new issue