The package rpms/pyode.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/pyode.git/commit/?id=af03f2eeaa480aa....
Change: -ExcludeArch: armv7hl
Thanks.
Full change: ============
commit af03f2eeaa480aa0fcd396d04102778894804e58 Author: Ankur Sinha (Ankur Sinha Gmail) sanjay.ankur@gmail.com Date: Sun Sep 16 11:20:46 2018 +0100
Does not support py3. A port of py3 is available and can be packaged for inclusion in Fedora: https://github.com/filipeabperes/Py3ODE
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 558e409..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -# ignore sources -/PyODE-snapshot-2010-03-22.tar.gz - -# ignore fedpkg local build artifacts -/pyode-1*.src.rpm diff --git a/0001-pyode-2010-03-22-fix-test-segfault.patch b/0001-pyode-2010-03-22-fix-test-segfault.patch deleted file mode 100644 index ec2eb2a..0000000 --- a/0001-pyode-2010-03-22-fix-test-segfault.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ur ../PyODE-snapshot-2010-03-22.orig/src/body.pyx ./src/body.pyx ---- ../PyODE-snapshot-2010-03-22.orig/src/body.pyx 2013-04-25 22:19:59.582137101 +1000 -+++ ./src/body.pyx 2013-04-25 22:20:30.387025990 +1000 -@@ -56,7 +56,7 @@ - self.userattribs = {} - - def __dealloc__(self): -- if self.bid!=NULL: -+ if self.bid!=NULL and self.world: - dBodyDestroy(self.bid) - - def __getattr__(self, name): -diff -ur ../PyODE-snapshot-2010-03-22.orig/src/joints.pyx ./src/joints.pyx ---- ../PyODE-snapshot-2010-03-22.orig/src/joints.pyx 2013-04-25 22:19:59.583137098 +1000 -+++ ./src/joints.pyx 2013-04-25 22:20:38.613993565 +1000 -@@ -121,7 +121,7 @@ - - def __dealloc__(self): - self.setFeedback(False) -- if self.jid!=NULL: -+ if self.jid!=NULL and self.world: - dJointDestroy(self.jid) - - def __getattr__(self, name): diff --git a/0002-pyode-2010-03-22-use-almost-equal-assert.patch b/0002-pyode-2010-03-22-use-almost-equal-assert.patch deleted file mode 100644 index 8d9a231..0000000 --- a/0002-pyode-2010-03-22-use-almost-equal-assert.patch +++ /dev/null @@ -1,91 +0,0 @@ ---- ../PyODE-snapshot-2010-03-22.orig/tests/test_xode.py 2013-04-25 22:19:59.586137088 +1000 -+++ tests/test_xode.py 2013-04-26 13:09:52.935507096 +1000 -@@ -290,6 +290,28 @@ - class Class2: - pass - -+def assertFloatListsAlmostEqual(self, item1, item2, msg=None): -+ """ -+ Test lists or tuples of floats with assertAlmostEqual -+ """ -+ -+ # be sure we're comparing apples to apples -+ if type(item1) is not type(item2): -+ raise self.failureException( -+ "detected differing types") -+ -+ # test floats -+ if isinstance(item1,float): -+ self.assertAlmostEqual(item1, item2, msg=msg, places=5) -+ elif isinstance(item1,list) or isinstance(item1,tuple): -+ # recurse over list -+ for i in range(0,len(item1)): -+ self.assertFloatListsAlmostEqual(item1[i], item2[i], msg=msg) -+ else: -+ # default, probably unnecessary -+ self.assertEqual(item1, item2, msg=msg) -+ -+ - class TestTreeNode(unittest.TestCase): - - def setUp(self): -@@ -504,6 +526,8 @@ - self.joint9 = self.root.namedChild('joint9').getODEObject() - self.joint10 = self.root.namedChild('joint10').getODEObject() - -+ assertFloatListsAlmostEqual = assertFloatListsAlmostEqual -+ - def testBallInstance(self): - self.assert_(isinstance(self.joint1, ode.BallJoint)) - -@@ -531,13 +555,13 @@ - self.assert_(isinstance(self.joint5, ode.HingeJoint)) - - def testHingeAxis(self): -- self.assertEqual(self.joint5.getAxis(), (1.0, 0.0, 0.0)) -+ self.assertFloatListsAlmostEqual(self.joint5.getAxis(), (1.0, 0.0, 0.0)) - - def testSliderInstance(self): - self.assert_(isinstance(self.joint6, ode.SliderJoint)) - - def testSliderAxis(self): -- self.assertEqual(self.joint6.getAxis(), (0.0, 1.0, 0.0)) -+ self.assertFloatListsAlmostEqual(self.joint6.getAxis(), (0.0, 1.0, 0.0)) - - def testUniversalInstance(self): - self.assert_(isinstance(self.joint7, ode.UniversalJoint)) -@@ -585,13 +609,13 @@ - def testAMotorAxes1(self): - ref = (0.0, 1.0, 0.0) - axis1 = self.joint9.getAxis(0) -- self.assertEqual(ref, axis1) -+ self.assertFloatListsAlmostEqual(ref, axis1) - - def testAMotorAxes3(self): - ref = [(1.0, 0.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, 1.0)] - axes = [self.joint10.getAxis(0), self.joint10.getAxis(1), - self.joint10.getAxis(2)] -- self.assertEqual(ref, axes) -+ self.assertFloatListsAlmostEqual(ref, axes) - - def testAxisParamLoStop(self): - self.assertEqualf(self.joint6.getParam(ode.paramLoStop), 1.0) -@@ -643,6 +667,8 @@ - self.body1 = self.root.namedChild('body1').getODEObject() - self.space1 = self.root.namedChild('space1').getODEObject() - -+ assertFloatListsAlmostEqual = assertFloatListsAlmostEqual -+ - def testSpaceAncestor(self): - self.assertEqual(self.geom1.getSpace(), self.space1) - -@@ -671,7 +697,8 @@ - self.assert_(isinstance(self.geom4, ode.GeomPlane)) - - def testPlaneParams(self): -- self.assertEqual(self.geom4.getParams(), ((0.0, 1.0, 0.0), 17.0)) -+ self.assertFloatListsAlmostEqual(self.geom4.getParams(),((0.0, 1.0, -+ 0.0), 17.0)) - - def testRayInstance(self): - self.assert_(isinstance(self.geom3, ode.GeomRay)) diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..f920f02 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Does not support py3. A port of py3 is available and can be packaged for inclusion in Fedora: https://github.com/filipeabperes/Py3ODE diff --git a/pyode.spec b/pyode.spec deleted file mode 100644 index 3b6dcc3..0000000 --- a/pyode.spec +++ /dev/null @@ -1,197 +0,0 @@ -%global with_python3 0 -%global snapdate 2010-03-22 -%global tarname PyODE-snapshot-%{snapdate} - -Name: pyode -Version: 1.2.0 -Release: 23%{?dist} -Summary: Open-source Python bindings for The Open Dynamics Engine -Group: Development/Libraries - -License: BSD or LGPLv2+ -URL: http://pyode.sourceforge.net/ - -# Checks fail on ARM arch; see issue tracker -# https://bugzilla.redhat.com/show_bug.cgi?id=992850 -ExcludeArch: armv7hl - -# https://downloads.sourceforge.net/project/pyode/pyode/snapshot-2010-03-22/Py... -Source0: http://downloads.sourceforge.net/%%7Bname%7D/%%7Bname%7D/snapshot-%%7Bsnapda... - -# http://comments.gmane.org/gmane.comp.python.pyode.user/174 -Patch0: 0001-pyode-%{snapdate}-fix-test-segfault.patch - -# Fix rounding-error test failures on Fedora 17-20 (but not el6!) -# Patch1: 0002-pyode-%{snapdate}-use-almost-equal-assert.patch - -BuildRequires: python2-devel python2-setuptools -BuildRequires: ode-devel -BuildRequires: Pyrex -BuildRequires: gcc - -Requires: ode - -%if 0%{?with_python3} -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%endif # if with_python3 - -%{?filter_setup: -%filter_provides_in %{python2_sitearch}/.*.so$ -%filter_setup -} - -%description -A set of open-source Python bindings for The Open Dynamics Engine, an -open-source physics engine. PyODE also includes an XODE parser. - -%if 0%{?with_python3} -%package -n python3-pyode -Group: Applications/System -Summary: Open-source Python bindings for The Open Dynamics Engine - -%description -n python3-pyode -A set of open-source Python bindings for The Open Dynamics Engine, an -open-source physics engine. PyODE also includes an XODE parser. - -%endif # with_python3 - -%prep -%setup -q -n %{tarname} - -# Fix wrong end of line file encoding error -sed -i 's/\r//' examples/tutorial3.py - -%patch0 -p1 -b-gc-patch -#%patch1 -p0 -b-assert-amlost-equal-patch - -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' -%endif # with_python3 - -%build -%{__python2} setup.py build - -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py build -popd -%endif # with_python3 - -%install -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install --skip-build --root %{buildroot} -popd -%endif # with_python3 - -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} - -chmod 0755 %{buildroot}/%{python2_sitearch}/ode.so - -#%check -#export PYTHONPATH=build/lib.linux-%{_target_cpu}-%{python2_version} -#%{__python2} tests/test_xode.py - - -%files -%doc AUTHORS ChangeLog README examples -%license LICENSE LICENSE-BSD -%{python2_sitearch}/PyODE-%{version}-py?.?.egg-info -%{python2_sitearch}/xode/ -%{python2_sitearch}/ode.so - - -%if 0%{?with_python3} -%files -n python3-pyode -%doc AUTHORS ChangeLog README examples -%license LICENSE LICENSE-BSD -%{python3_sitelib}/%{name}/ -%endif # with_python3 - -%changelog -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sat May 05 2018 Miro Hronok mhroncok@redhat.com - 1.2.0-22 -- Update Python macros to new packaging standards - (See https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build) - -* Sat Mar 10 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.2.0-21 -- Add gcc to BR -- Use buildroot instead of RPM_BUILD_ROOT -- Use license macro - -* Fri Feb 09 2018 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Jan 15 2018 Iryna Shcherbina ishcherb@redhat.com - 1.2.0-19 -- Update Python 2 dependency declarations to new packaging standards - (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) - -* Thu Aug 03 2017 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Jul 07 2017 Igor Gnatenko ignatenko@redhat.com - 1.2.0-16 -- Rebuild due to bug in RPM (RHBZ #1468476) - -* Sat Feb 11 2017 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.2.0-14 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Pac... - -* Thu Feb 04 2016 Fedora Release Engineering releng@fedoraproject.org - 1.2.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jun 18 2015 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.2.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember kalevlember@gmail.com - 1.2.0-11 -- Rebuilt for GCC 5 C++11 ABI change - -* Sun Nov 02 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.2.0-10 -- Disable tests - failing for some reason. - -* Sun Nov 02 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 1.2.0-9 -- Rebuilt for ode update. - -* Sun Aug 17 2014 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.2.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.2.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Aug 5 2013 John Morris john@zultron.com - 1.2.0-6 -- ExcludeArch ARM; checks not passing - -* Sun Aug 04 2013 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 1.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Apr 26 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.2.0-4 -- Add another patch to use almost equal assertion -- Fix wrong end of line file encoding rpmlint error -- Remove pyrex from requires - -* Thu Apr 25 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.2.0-3 -- Update as per reviewer comments: -- https://bugzilla.redhat.com/show_bug.cgi?id=927611 -- Add patch to fix tests -- Add group tag for epel -- add documentation - -* Mon Apr 15 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.2.0-2 -- Update as per comments in rhbz -- https://bugzilla.redhat.com/show_bug.cgi?id=927611 -- Changed URL -- Added phony check section for readability -- Few more cosmetic changes - -* Tue Mar 26 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.2.0-1 -- Initial rpmbuild - diff --git a/sources b/sources deleted file mode 100644 index a762bb7..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -0e1d6dd8a8476a0a46db19748b975ca6 PyODE-snapshot-2010-03-22.tar.gz
arch-excludes@lists.fedoraproject.org