From 0e00ae2133f1b48d6b2a4687b49d23485aec0988 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jul 20 2019 19:23:17 +0000 Subject: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 2a4abe9..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/egenix-mx-base-3.2.4.tar.gz -/egenix-mx-base-3.2.5.tar.gz -/egenix-mx-base-3.2.8.tar.gz -/egenix-mx-base-3.2.9.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..b9256cb --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal diff --git a/mx-3.1.1-lib64.patch b/mx-3.1.1-lib64.patch deleted file mode 100644 index f23f022..0000000 --- a/mx-3.1.1-lib64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- egenix-mx-base-3.1.1/mxSetup.py 2008-08-04 13:24:56.000000000 +0100 -+++ egenix-mx-base-3.1.1/mxSetup-new.py 2008-09-15 09:27:04.000000000 +0100 -@@ -2376,7 +2376,7 @@ - - if self.install_dir is None: - installobj = self.distribution.get_command_obj('install') -- self.install_dir = installobj.install_data -+ self.install_dir = installobj.install_platlib - if _debug: - print 'Installing data files to %s' % self.install_dir - self.set_undefined_options('install', diff --git a/python-egenix-mx-base.spec b/python-egenix-mx-base.spec deleted file mode 100644 index a26d0ed..0000000 --- a/python-egenix-mx-base.spec +++ /dev/null @@ -1,308 +0,0 @@ -Summary: A collection of Python software tools -Name: python-egenix-mx-base -Version: 3.2.9 -Release: 10%{?dist} -URL: http://www.egenix.com/products/python/mxBase/ -Source0: http://downloads.egenix.com/python/egenix-mx-base-%{version}.tar.gz -License: eGenix -BuildRequires: python2-devel >= 2.7 - -# For name change from mx to python-mx - -# Install to platform lib directory -Patch1: mx-3.1.1-lib64.patch - -# we don't want to provide private python extension libs -%{?filter_setup: -%filter_provides_in %{python_sitearch}/.*\.so$ -%filter_setup -} - -%global _description\ -The mx extensions for Python are a collection of Python software tools\ -which enhance Python's usability in many areas. - -%description %_description - -%package -n python2-egenix-mx-base -Summary: %summary -Provides: mx = %{version}-%{release} -Obsoletes: mx < 3.2.3-4 -%{?python_provide:%python_provide python2-egenix-mx-base} - -%description -n python2-egenix-mx-base %_description - -%package devel -Summary: Development files for %{name} -Requires: python2-egenix-mx-base%{?_isa} = %{version}-%{release} -Provides: mx-devel = %{version}-%{release} -Obsoletes: mx-devel < 3.2.3-4 - -%description devel -Development files for %{name} - -%package doc -Summary: Documentation for %{name} - -%description doc -The mx extensions for Python are a collection of Python software tools -which enhance Python's usability in many areas. This package contains -the documentation. - -%prep -%setup -q -n egenix-mx-base-%{version} -%patch1 -p1 -b .lib64 - -# alter /usr/local/bin/python -find mx/ -name "*.py" -exec sed -i -e 's:^#!.*python:#!%{_bindir}/python:' {} \; - -# These just have test cases and aren't meant to be run -for file in mx/Log.py mx/BeeBase/FileLock.py mx/BeeBase/mxBeeBase/testernesto.py \ - mx/Misc/OrderedMapping.py mx/Misc/Daemon.py mx/Misc/FileLock.py; do - sed -i -e '/^#!.*python/d' ${file} -done - -%build -CFLAGS="%{optflags}" python setup.py build - -%install -python setup.py install --skip-build --root=%{buildroot} - -pushd %{buildroot}%{python_sitearch} -for I in `find . -name '*.h'`; do - mkdir -p %{buildroot}%{_includedir}/`dirname $I` - mv $I %{buildroot}%{_includedir}/`dirname $I` -done -popd - -# Examples, tests, benchmarks -BASEDIR=%{buildroot}%{python_sitearch} -mkdir examples -mv ${BASEDIR}/mx/TextTools/mxTextTools/testkj.p* examples/ -mv ${BASEDIR}/mx/Stack/stackbench.p* examples/ -mv ${BASEDIR}/mx/Queue/queuebench.p* examples/ -mv ${BASEDIR}/mx/DateTime/mxDateTime/test.p* examples/ -# This is a utility. If it's deemed useful to the general public it should -# be installed in %{_bindir} instead of examples -mv ${BASEDIR}/mx/BeeBase/showBeeDict.p* examples/ - -# These files are documentation, and are in a bad location -mkdir docs -mv -f ${BASEDIR}/mx/{LICENSE,COPYRIGHT} docs/ -rm -rf ${BASEDIR}/mx/Doc -DESTDIR=`pwd`/docs -pushd ${BASEDIR}/mx -cp -pr --parents */Doc/* ${DESTDIR}/ -cp -pr --parents */Examples/* ${DESTDIR}/ -popd - -# Cleanup -rm -rf ${BASEDIR}/mx/*/Doc/ -rm -rf ${BASEDIR}/mx/*/Examples -rm -rf docs/*/Examples/*.pyc -rm -rf docs/*/Examples/*.pyo -rm -rf examples/*.pyc -rm -rf examples/*.pyo - -# Fixup permissions -find %{buildroot}%{python_sitearch}/mx/ -name \*.so -exec chmod 755 {} \; - -%files -n python2-egenix-mx-base -%doc COPYRIGHT LICENSE README -%{python2_sitearch}/mx/ -%{python2_sitearch}/egenix_mx_base*.egg-info - -%files devel -%{_includedir}/mx/ - -%files doc -%doc docs/* - -%changelog -* Sat Feb 02 2019 Fedora Release Engineering - 3.2.9-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 3.2.9-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sun Feb 11 2018 Iryna Shcherbina - 3.2.9-8 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Fri Feb 09 2018 Fedora Release Engineering - 3.2.9-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.2.9-6 -- Python 2 binary package renamed to python2-egenix-mx-base - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Thu Aug 03 2017 Fedora Release Engineering - 3.2.9-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 3.2.9-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Jul 07 2017 Igor Gnatenko - 3.2.9-3 -- Rebuild due to bug in RPM (RHBZ #1468476) - -* Sat Feb 11 2017 Fedora Release Engineering - 3.2.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 CAI Qian 3.2.9-1 -- Upstream v3.2.9 -- Fix BuildRequires - -* Tue Jul 19 2016 Fedora Release Engineering - 3.2.8-4 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Feb 04 2016 Fedora Release Engineering - 3.2.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jun 18 2015 Fedora Release Engineering - 3.2.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Tue Apr 28 2015 Brian C. Lane 3.2.8-1 -- Upstream v3.2.8 - -* Sun Aug 17 2014 Fedora Release Engineering - 3.2.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 3.2.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue Sep 10 2013 Michael Schwendt - 3.2.5-4 -- correct obs_ver for both mx and mx-devel - -* Sun Aug 04 2013 Fedora Release Engineering - 3.2.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 3.2.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jan 10 2013 Brian C. Lane 3.2.5-1 -- Upstream v3.2.5 - -* Thu Jan 10 2013 Nils Philippsen 3.2.4-2 -- ensure updated mx packages are obsoleted - -* Fri Aug 03 2012 Brian C. Lane 3.2.4-1 -- Changed package name to python-egenix-mx-base (#726841) -- cleaned up spec file - -* Fri Jul 29 2011 Brian C. Lane - 3.2.0-2 -- Changing package name to python-mx - -* Fri Jul 29 2011 Brian C. Lane - 3.2.0-1 -- Upstream v3.2.0 -- Removed long year patch, now in upstream -- Support for Python 2.3 dropped - -* Tue Feb 08 2011 Fedora Release Engineering - 3.1.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Jul 21 2010 David Malcolm - 3.1.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Sat Jul 25 2009 Fedora Release Engineering - 3.1.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 3.1.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 3.1.1-3 -- Rebuild for Python 2.6 - -* Mon Sep 15 2008 Toshio Kuratomi 3.1.1-2 -- Restore debug package -- Clean up the python site-packages handling -- Clean up handling of documentation, examples, scripts - -* Mon Sep 15 2008 Paul F. Johnson 3.1.1-1 -- bump to newest release -- patch fixes -- spec file fixes -- branch new devel sub package -- fixes to permissions -- removed debug-package (empty) - -* Thu Dec 7 2006 Jeremy Katz - 2.0.6-3 -- rebuild against python 2.5 - -* Wed Jul 12 2006 Jesse Keating - 2.0.6-2.2.2 -- rebuild - -* Fri Feb 10 2006 Jesse Keating - 2.0.6-2.2.1 -- bump again for double-long bug on ppc(64) - -* Tue Feb 07 2006 Jesse Keating - 2.0.6-2.2 -- rebuilt for new gcc4.1 snapshot and glibc changes - -* Fri Dec 09 2005 Jesse Keating -- rebuilt - -* Mon Mar 14 2005 Mihai Ibanescu 2.0.6-2 -- Rebuilt - -* Wed Feb 02 2005 Elliot Lee 2.0.6-1 -- Rebuild with python 2.4 - -* Tue Jun 15 2004 Elliot Lee -- rebuilt - -* Tue Mar 02 2004 Elliot Lee -- rebuilt - -* Fri Feb 13 2004 Elliot Lee -- rebuilt - -* Sun Nov 23 2003 Florian La Roche -- update to 2.0.5 -- recompile with python 2.3 - -* Wed Jun 04 2003 Elliot Lee -- rebuilt - -* Wed Jan 22 2003 Tim Powers -- rebuilt - -* Wed Dec 11 2002 Tim Powers 2.0.3-7 -- lib64'ize - -* Tue Aug 06 2002 Elliot Lee 2.0.3-6 -- Provide mx2 dep - -* Fri Jun 21 2002 Tim Powers -- automated rebuild - -* Wed May 29 2002 Trond Eivind Glomsrød 2.0.3-4 -- Make it require python >= 2.2, < 2.3 - -* Sun May 26 2002 Tim Powers -- automated rebuild - -* Thu May 23 2002 Trond Eivind Glomsrød 2.0.3-2 -- Move to python 2.2 - -* Wed Mar 13 2002 Trond Eivind Glomsrød 2.0.3-1 -- 2.0.3 - -* Wed Feb 27 2002 Trond Eivind Glomsrød 2.0.2-5 -- Rebuild (and no, it wasn't broken. It just used /usr/bin/python - as the version to build for) - -* Mon Jan 21 2002 Elliot Lee 2.0.2-4 -- Remove pyver autodetection (it's broken!) and install header files - -* Wed Jan 09 2002 Tim Powers -- automated rebuild - -* Mon Oct 1 2001 Trond Eivind Glomsrød 2.0.2-2 -- detect python version when building -- 64bit fix mxDateTime - -* Fri Sep 14 2001 Trond Eivind Glomsrød 2.0.2-1 -- 2.0.2 -- Build for Python 2.2 - -* Tue Jun 19 2001 Trond Eivind Glomsrød -- Initial build. Needed for python DB API diff --git a/sources b/sources deleted file mode 100644 index 70be29c..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (egenix-mx-base-3.2.9.tar.gz) = ff3b6ba90e9729004e7b18511a69529698b7d6089f08b686a0930d8f065323933e9fb97f2ed7a5b24c4bca0ddad1983773144b5dd9ee401859a2ffbfcfc79025