Bug 618155 - Review Request: python-SciMath - Scientific and Mathematical calculations
Summary: Review Request: python-SciMath - Scientific and Mathematical calculations
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: StalledSubmitter
Depends On: 618137
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-26 09:37 UTC by Chen Lei
Modified: 2012-02-27 14:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-02-27 14:29:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chen Lei 2010-07-26 09:37:39 UTC
Description:

The SciMath project includes packages to support scientific and mathematical 
calculations, beyond the capabilities offered by SciPy.

  * enthought.interpolate
  * enthought.mathematics
  * enthought.units

Links:

http://dl.dropbox.com/u/1338197/1/python-SciMath-3.0.5-1.fc13.src.rpm
http://dl.dropbox.com/u/1338197/1/python-SciMath.spec

Comment 1 Thomas Spura 2010-07-27 18:23:52 UTC
Why do you do this:
 49 # non-executable-script
 50 pushd %{buildroot}/%{python_sitearch}/enthought/units
 51 chmod +x temperature.py area.py power.py substance.py unit_parser.py energy.    py \
 52 force.py unit.py pressure.py SI.py
 53 popd

Because of shebangs and rpmlint warnings?

$ rpmlint -I non-executable-script
non-executable-script:
This text file contains a shebang or is located in a path dedicated for
executables, but lacks the executable bits and cannot thus be executed.  If
the file is meant to be an executable script, add the executable bits,
otherwise remove the shebang or move the file elsewhere

-> Please remove the shebang instead...

Comment 2 Chen Lei 2010-07-30 03:46:54 UTC
(In reply to comment #1)
> Why do you do this:
>  49 # non-executable-script
>  50 pushd %{buildroot}/%{python_sitearch}/enthought/units
>  51 chmod +x temperature.py area.py power.py substance.py unit_parser.py
> energy.    py \
>  52 force.py unit.py pressure.py SI.py
>  53 popd
> 
> Because of shebangs and rpmlint warnings?
> 
> $ rpmlint -I non-executable-script
> non-executable-script:
> This text file contains a shebang or is located in a path dedicated for
> executables, but lacks the executable bits and cannot thus be executed.  If
> the file is meant to be an executable script, add the executable bits,
> otherwise remove the shebang or move the file elsewhere
> 
> -> Please remove the shebang instead...    
Thanks a lot, I remove shebang from those files instead.

SRPM: http://dl.dropbox.com/u/1338197/1/python-SciMath-3.0.5-2.fc13.src.rpm
SPEC: http://dl.dropbox.com/u/1338197/1/python-SciMath.spec

Comment 3 Jason Tibbitts 2010-12-02 04:24:12 UTC
I think something must have gone wrong, because with the -2 srpm above, I still get loads of non-executable-script complaints.  That might have something to do with:

  python-SciMath.src:44: W: rpm-buildroot-usage %prep
   for file in %{buildroot}/%{python_sitearch}/enthought/units/*.py; do
You can't access %{buildroot} in %prep; it doesn't exist yet (and gets cleaned at the start of %install anyway, so anything you could do there would be erased).

I also get:
  python-SciMath.x86_64: W: private-shared-object-provides
    /usr/lib64/python2.7/site-packages/enthought/interpolate/_interpolate.so 
   _interpolate.so()(64bit)
which indicates that you need to filter out that erroneous dependency information.

In addition, you need to explain which parts of the package are under which license.  http://fedoraproject.org/wiki/Packaging:LicensingGuidelines#Multiple_Licensing_Scenarios

Comment 4 Matthias Runge 2012-01-10 10:24:11 UTC
any progress here?


Note You need to log in before you can comment on or make changes to this bug.