diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d07e777..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -pypar-2.1.4_94.tgz -/pypar-2.1.5_108.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..fb1bcd9 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal diff --git a/pypar-mpich.patch b/pypar-mpich.patch deleted file mode 100644 index 8968f25..0000000 --- a/pypar-mpich.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up pypar_2.1.5_108/source/pypar.py.orig pypar_2.1.5_108/source/pypar.py ---- pypar_2.1.5_108/source/pypar.py.orig 2011-11-17 12:49:47.000000000 +0200 -+++ pypar_2.1.5_108/source/pypar.py 2013-02-02 02:16:01.256359253 +0200 -@@ -857,12 +857,6 @@ else: - MAX, MIN, SUM, PROD, LAND, BAND,\ - LOR, BOR, LXOR, BXOR - -- # Work around bug in OpenMPI (December 2009): -- # https://bugs.launchpad.net/ubuntu/+source/petsc4py/+bug/232036 -- from ctypes import * -- CDLL('libmpi.so', RTLD_GLOBAL) -- # End work around -- - # Initialise MPI with cmd line (needed by MPICH/Linux) - init(sys.argv) - diff --git a/pypar.spec b/pypar.spec deleted file mode 100644 index 1496599..0000000 --- a/pypar.spec +++ /dev/null @@ -1,273 +0,0 @@ -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -Name: pypar -Version: 2.1.5_108 -Release: 22%{?dist} -Summary: Parallel programming with Python -Group: Development/Libraries -License: GPLv2+ -URL: http://code.google.com/p/pypar/ -Source0: http://pypar.googlecode.com/files/pypar-%{version}.tgz -# Get rid of OpenMPI specific stuff -Patch0: pypar-mpich.patch - - -BuildRequires: python2-numpy -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -%description -Pypar is an efficient but easy-to-use module that allows programs written in -Python to run in parallel on multiple processors and communicate using message -passing. Pypar provides bindings to a subset of the message passing interface -standard MPI. - -%package common -Summary: Common files for pypar packages -Group: Documentation -BuildArch: noarch - -%description common -This package contains common files shared by all MPI flavors of pypar: -the license, the documentation and the examples. - -%package openmpi -Summary: Parallel programming with Python, Open MPI version -Group: Development/Libraries -Obsoletes: %{name} < %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} -Provides: pypar-runtime = %{version}-%{release} -BuildRequires: openmpi-devel -Requires: python2-numpy - -%description openmpi -Pypar is an efficient but easy-to-use module that allows programs written in -Python to run in parallel on multiple processors and communicate using message -passing. Pypar provides bindings to a subset of the message passing interface -standard MPI. - -This package contains pypar compiled against Open MPI. - -%package mpich -Summary: Parallel programming with Python, MPICH2 version -Group: Development/Libraries -Requires: %{name}-common = %{version}-%{release} -Provides: pypar-runtime = %{version}-%{release} -BuildRequires: mpich-devel -Requires: python2-numpy -Provides: %{name}-mpich2 = %{version}-%{release} -Obsoletes: %{name}-mpich2 < 2.1.5_108-2 - -%description mpich -Pypar is an efficient but easy-to-use module that allows programs written in -Python to run in parallel on multiple processors and communicate using message -passing. Pypar provides bindings to a subset of the message passing interface -standard MPI. - -This package contains pypar compiled against MPICH. - - -%prep -# Setup buildroot but don't extract anything yet -%setup -q -c -T - -# Decompress tarball -tar zxf %{SOURCE0} - -# Make separate dirs for all MPI variants -for mpi in openmpi mpich; do - cp -r pypar_%{version} $mpi -done - -# Clean out unneeded dir -rm -rf pypar_%{version} - -# Prepare mpich source -cd mpich -%patch0 -p1 -cd .. - -# Prepare OpenMPI source -libmpiso=$(objdump -p %{_libdir}/openmpi/lib/libmpi.so | awk '/SONAME/ { print $2 }') -if [ -n "$libmpiso" ] ; then - sed -i "s|libmpi.so.0|$libmpiso|g" openmpi/source/pypar.py -else - exit 1 -fi - -%build -export CC=mpicc -export CXX=mpicxx - -# Build Open MPI version -%{_openmpi_load} -cd openmpi/source -CFLAGS="%{optflags}" python -c 'import setuptools; execfile("setup.py")' build -cd - -%{_openmpi_unload} - -# Build MPICH2 version -%{_mpich_load} -cd mpich/source -CFLAGS="%{optflags}" python -c 'import setuptools; execfile("setup.py")' build -cd - -%{_mpich_unload} - - -%install -rm -rf %{buildroot} - -export CC=mpicc -export CXX=mpicxx -export LD=mpicc - -%{_openmpi_load} -cd openmpi/source -python -c 'import setuptools; execfile("setup.py")' install -O1 --skip-build --root %{buildroot} -mkdir -p %{buildroot}%{python_sitearch}/openmpi -mv %{buildroot}%{python_sitearch}/pypar/ %{buildroot}%{python_sitearch}/Pypar*.egg-info %{buildroot}%{python_sitearch}/openmpi -cd - -%{_openmpi_unload} - -%{_mpich_load} -cd mpich/source -python -c 'import setuptools; execfile("setup.py")' install -O1 --skip-build --root %{buildroot} -mkdir -p %{buildroot}%{python_sitearch}/mpich -mv %{buildroot}%{python_sitearch}/pypar/ %{buildroot}%{python_sitearch}/Pypar*.egg-info %{buildroot}%{python_sitearch}/mpich -cd - -%{_mpich_unload} - - -%files common -%doc openmpi/documentation/* openmpi/LICENSE openmpi/demos/ - -%files openmpi -%{python2_sitearch}/openmpi/pypar/ -%{python2_sitearch}/openmpi/Pypar*.egg-info - -%files mpich -%{python2_sitearch}/mpich/pypar/ -%{python2_sitearch}/mpich/Pypar*.egg-info - -%changelog -* Fri Jul 13 2018 Fedora Release Engineering - 2.1.5_108-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 14 2018 Iryna Shcherbina - 2.1.5_108-21 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Igor Gnatenko - 2.1.5_108-20 -- Escape macros in %%changelog - -* Fri Feb 09 2018 Fedora Release Engineering - 2.1.5_108-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 2.1.5_108-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 2.1.5_108-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 2.1.5_108-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Oct 21 2016 Orion Poplawski - 2.1.5_108-15 -- Rebuild for openmpi 2.0 - -* Tue Jul 19 2016 Fedora Release Engineering - 2.1.5_108-14 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 2.1.5_108-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Sep 15 2015 Orion Poplawski - 2.1.5_108-12 -- Rebuild for openmpi 1.10.0 - -* Mon Aug 17 2015 Zbigniew Jędrzejewski-Szmek - 2.1.5_108-11 -- Rebuild for rpm-mpi-hooks-3-1 - -* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek - 2.1.5_108-10 -- Rebuild for MPI provides - -* Sun Jul 26 2015 Sandro Mani - 2.1.5_108-9 -- Rebuild for RPM MPI Requires Provides Change - -* Thu Jun 18 2015 Fedora Release Engineering - 2.1.5_108-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun May 3 2015 Zbigniew Jędrzejewski-Szmek - 2.1.5_108-7 -- Rebuild for changed mpich - -* Sun Aug 17 2014 Fedora Release Engineering - 2.1.5_108-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 2.1.5_108-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Feb 22 2014 Deji Akingunola - 2.1.5_108-4 -- Rebuild for mpich-3.1 - -* Sun Aug 04 2013 Fedora Release Engineering - 2.1.5_108-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sat Jul 20 2013 Deji Akingunola - 2.1.5_108-2 -- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0 - -* Sat Feb 02 2013 Susi Lehtola - 2.1.5_108-1 -- Update to 2.1.5_108. - -* Fri Nov 02 2012 Jussi Lehtola - 2.1.4_94-7.1 -- Bump due to MPICH2 update. - -* Sat Jul 21 2012 Fedora Release Engineering - 2.1.4_94-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 2.1.4_94-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Thu Nov 17 2011 Jussi Lehtola - 2.1.4_94-5 -- Drop OpenMPI specific workaround in pypar.py from MPICH2 version. -- Patch in correct version of OpenMPI in pypar.py (BZ #754262). - -* Wed Mar 30 2011 Deji Akingunola - 2.1.4_94-4 -- Rebuild for mpich2 soname bump - -* Tue Feb 08 2011 Fedora Release Engineering - 2.1.4_94-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Jul 21 2010 David Malcolm - 2.1.4_94-2 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Tue Dec 22 2009 Jussi Lehtola - 2.1.4_94-1 -- Update to 2.1.4_94, fixing MPICH2 build issue. - -* Mon Dec 21 2009 Jussi Lehtola - 2.1.3_91-1 -- Implement MPI guidelines, adding MPICH2 package. -- Update to 2.1.3_91. - -* Sun Jul 26 2009 Fedora Release Engineering - 2.1.0_66-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Jul 23 2009 Jussi Lehtola - 2.1.0_66-4 -- Openmpi seems to have been fixed, fix build in rawhide. - -* Thu Jun 04 2009 Jussi Lehtola - 2.1.0_66-3 -- Fix build in rawhide. - -* Fri May 15 2009 Jussi Lehtola - 2.1.0_66-2 -- Merge examples into main package and %%doc. -- Spec file cleanups. - -* Mon Mar 02 2009 Jussi Lehtola - 2.1.0_66-1 -- Update to 2.1.0_66. -- Branch examples into subpackage. - -* Sun Mar 01 2009 Jussi Lehtola - 2.1.0_64-1 -- Update to 2.1.0_64. - -* Sat Feb 28 2009 Jussi Lehtola - 2.1.0_63-1 -- Update to 2.1.0_63 that should fix rpmlint errors. - -* Thu Feb 26 2009 Jussi Lehtola - 2.1.0_53-1 -- First release. diff --git a/sources b/sources deleted file mode 100644 index c4d1ca8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -7a1f28327d2a3b679f9455c843d850b8 pypar-2.1.5_108.tgz