[Bug 1619458] Review Request: python-pyphi - A library for computing integrated information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1619458

Robert-André Mauchin <zebob.m@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zebob.m@xxxxxxxxx



--- Comment #1 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
 - %{python3_sitelib}/*

This is now forbidden: see https://pagure.io/packaging-committee/issue/782 You
need to be more specific instead of using a glob.

 - License is wrong, it is GPLv3
https://github.com/wmayner/pyphi/blob/develop/LICENSE.md

 - Remove all the Python shebangs. See rpmlint output below

 - Package the missing deps needed for install



Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- Package installs properly.
  Note: Installation errors (see attachment)
  See: https://fedoraproject.org/wiki/Packaging:Guidelines
- Python packages must not contain %{pythonX_site(lib|arch)}/* in %files
  Note: Package contains %{pythonX_site(lib|arch)}/* in %files
  See: https://pagure.io/packaging-committee/issue/782


===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "BSD (unspecified)", "LGPL (v3 or later)", "Unknown or
     generated". 222 files have unknown license. Detailed output of
     licensecheck in /home/bob/packaging/review/python-pyphi/review-python-
     pyphi/licensecheck.txt
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 40960 bytes in 4 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Python eggs must not download any dependencies during the build
     process.
[x]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Packages MUST NOT have dependencies (either build-time or runtime) on
     packages named with the unversioned python- prefix unless no properly
     versioned package exists. Dependencies on Python packages instead MUST
     use names beginning with python2- or python3- as appropriate.
[x]: Binary eggs must be removed in %prep

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: python3-pyphi-1.1.0-1.fc30.noarch.rpm
          python-pyphi-1.1.0-1.fc30.src.rpm
python3-pyphi.noarch: W: spelling-error %description -l en_US Mayner -> Mayer,
Mainer, Manner
python3-pyphi.noarch: W: spelling-error %description -l en_US arXiv -> arrive
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/__about__.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/__about__.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/__init__.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/__init__.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/actual.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/actual.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/cache.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/cache.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/compute/__init__.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/compute/__init__.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/compute/distance.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/compute/distance.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/compute/network.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/compute/network.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/compute/parallel.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/compute/parallel.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/compute/subsystem.py /usr/bin/env
python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/compute/subsystem.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/conf.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/conf.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/connectivity.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/connectivity.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/constants.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/constants.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/convert.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/convert.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/db.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/db.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/direction.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/direction.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/distance.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/distance.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/distribution.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/distribution.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/examples.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/examples.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/exceptions.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/exceptions.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/jsonify.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/jsonify.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/labels.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/labels.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/log.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/log.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/macro.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/macro.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/memory.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/memory.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/models/__init__.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/models/__init__.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/models/actual_causation.py /usr/bin/env
python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/models/actual_causation.py 644
/usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/models/cmp.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/models/cmp.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/models/cuts.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/models/cuts.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/models/fmt.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/models/fmt.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/models/mechanism.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/models/mechanism.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/models/subsystem.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/models/subsystem.py 644 /usr/bin/env
python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/network.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/network.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/node.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/node.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/partition.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/partition.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/registry.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/registry.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/subsystem.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/subsystem.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/timescale.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/timescale.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/tpm.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/tpm.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/utils.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/utils.py 644 /usr/bin/env python3
python3-pyphi.noarch: E: wrong-script-interpreter
/usr/lib/python3.7/site-packages/pyphi/validate.py /usr/bin/env python3
python3-pyphi.noarch: E: non-executable-script
/usr/lib/python3.7/site-packages/pyphi/validate.py 644 /usr/bin/env python3
python-pyphi.src: W: spelling-error %description -l en_US Mayner -> Mayer,
Mainer, Manner
python-pyphi.src: W: spelling-error %description -l en_US arXiv -> arrive
python-pyphi.src:38: W: macro-in-comment %{py3_dist
python-pyphi.src: E: specfile-error warning: Macro expanded in comment on line
38: %{py3_dist pyemd}
2 packages and 0 specfiles checked; 81 errors, 5 warnings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx/message/D6A2NIW6CUBNLOSTDWO5EEABZF2J2G57/




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux