summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunjee Kim <hj0426.kim@samsung.com>2020-04-10 03:13:41 (GMT)
committerHyunjee Kim <hj0426.kim@samsung.com>2020-04-10 03:13:49 (GMT)
commit6638aa072a2f3dc8be3a337ae4e5e3ecfb8c3d0b (patch)
tree57e3c117e7cabc61329280e050dd84534633fc42
parentc5ea672780bec7e9e9001a11eea66976394bff4f (diff)
downloadpython-numpy-tizen.zip
python-numpy-tizen.tar.gz
python-numpy-tizen.tar.bz2
This reverts commit c5ea672780bec7e9e9001a11eea66976394bff4f. Change-Id: Ib4b5d85632cf341caaa18206a24165e2c9b34aca Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
-rw-r--r--packaging/python3-numpy.manifest5
-rw-r--r--packaging/python3-numpy.spec100
2 files changed, 0 insertions, 105 deletions
diff --git a/packaging/python3-numpy.manifest b/packaging/python3-numpy.manifest
deleted file mode 100644
index 017d22d..0000000
--- a/packaging/python3-numpy.manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
- <request>
- <domain name="_"/>
- </request>
-</manifest>
diff --git a/packaging/python3-numpy.spec b/packaging/python3-numpy.spec
deleted file mode 100644
index d27f0e8..0000000
--- a/packaging/python3-numpy.spec
+++ /dev/null
@@ -1,100 +0,0 @@
-Name: python3-numpy
-Version: 1.15.0
-Release: 0
-Summary: NumPy array processing for numbers, strings, records and objects
-License: BSD-3-Clause
-Group: Development/Libraries/Python3
-Url: http://www.numpy.org/
-Source0: %{name}-%{version}.tar.gz
-Source1001: %{name}.manifest
-BuildRequires: blas-devel
-BuildRequires: gcc-fortran
-BuildRequires: lapack-devel
-BuildRequires: unzip
-BuildRequires: python3-cython
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-BuildRequires: openblas-devel
-
-
-%description
-NumPy is a general-purpose array-processing package designed to
-efficiently manipulate large multi-dimensional arrays of arbitrary
-records without sacrificing too much speed for small multi-dimensional
-arrays. NumPy is built on the Numeric code base and adds features
-introduced by numarray as well as an extended C-API and the ability to
-create arrays of arbitrary type which also makes NumPy suitable for
-interfacing with general-purpose data-base applications.
-
-There are also basic facilities for discrete fourier transform,
-basic linear algebra and random number generation.
-
-
-%package devel
-Summary: Development files for numpy applications
-Group: Development/Libraries/Python3
-Requires: %{name} = %{version}
-Requires: blas-devel
-BuildRequires: gcc-fortran
-Requires: lapack-devel
-Requires: python3-devel
-Requires: openblas-devel
-
-
-%description devel
-This package contains files for developing applications using numpy.
-
-
-%prep
-%setup -q
-cp %{SOURCE1001} .
-
-
-%build
-export CFLAGS="%{optflags} -fno-strict-aliasing"
-%{_bindir}/python3 setup.py build
-
-
-%install
-%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-# Remove testsuite from packaging
-rm -rf %{buildroot}%{python3_sitearch}/numpy/{,core,distutils,f2py,fft,lib,linalg,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests
-
-mkdir -p %{buildroot}%{_includedir}
-pushd %{buildroot}%{_includedir}
-ln -sf %{python3_sitearch}/numpy/core/include/numpy numpy
-popd
-
-%post
-
-
-%files
-%manifest %{name}.manifest
-%defattr(-,root,root)
-%doc *.txt
-%{_bindir}/f2py
-%{_bindir}/f2py3
-%{_bindir}/conv-template
-%{_bindir}/from-template
-%{python3_sitearch}/numpy/
-%{python3_sitearch}/numpy-%{version}-py*.egg-info
-%exclude %{python3_sitearch}/numpy/*/*/*.c
-%exclude %{python3_sitearch}/numpy/*/*.h
-%exclude %{python3_sitearch}/numpy/*/*/*.h
-%exclude %{python3_sitearch}/numpy/*/*/*/*.h
-%exclude %{python3_sitearch}/numpy/core/lib/libnpymath.a
-%license LICENSE.txt
-
-
-%files devel
-%defattr(-,root,root)
-%doc README.md THANKS.txt
-%{python3_sitearch}/numpy/*/*/*.c
-%{python3_sitearch}/numpy/*/*.h
-%{python3_sitearch}/numpy/*/*/*.h
-%{python3_sitearch}/numpy/*/*/*/*.h
-%{python3_sitearch}/numpy/core/lib/libnpymath.a
-%{_includedir}/numpy
-
-%changelog