Bug 1405271 - Review Request: python-streamlink - Python library for extracting streams from various websites
Summary: Review Request: python-streamlink - Python library for extracting streams fro...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-16 02:06 UTC by Mohamed El Morabity
Modified: 2017-01-17 20:20 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 19:52:39 UTC
Type: ---
Embargoed:
anto.trande: fedora-review+


Attachments (Terms of Use)
review.txt (75.14 KB, text/plain)
2017-01-07 10:07 UTC, Antonio T. (sagitter)
no flags Details

Description Mohamed El Morabity 2016-12-16 02:06:10 UTC
Spec URL: https://melmorabity.fedorapeople.org/packages/python-streamlink/python-streamlink.spec
SRPM URL: https://melmorabity.fedorapeople.org/packages/python-streamlink/python-streamlink-0.1.0-1.fc25.src.rpm
Description:
Streamlink is a command-line utility that pipes video streams from various
services into a video player, such as VLC. The main purpose of Streamlink is to
allow the user to avoid buggy and CPU heavy flash plugins but still be able to
enjoy various streamed content. There is also an API available for developers
who want access to the video stream data. This project was forked from
Livestreamer, which is no longer maintained.

Fedora Account System Username: melmorabity

Comment 2 Antonio T. (sagitter) 2017-01-06 18:27:05 UTC
It does not install Python2 bin files.
See http://fedoraproject.org/wiki/Packaging:Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks

Comment 3 Mohamed El Morabity 2017-01-07 08:18:57 UTC
(In reply to Antonio Trande from comment #2)
> It does not install Python2 bin files.
> See
> http://fedoraproject.org/wiki/Packaging:
> Python#Avoiding_collisions_between_the_python_2_and_python_3_stacks

According to these same guidelines:
"If the executables provide the same functionality independent of whether they are run on top of Python 2 or Python 3, then only the Python 3 version of the executable should be packaged. Transitioning from python2 to python3 is left to individual package maintainers except for packages in Fedora's critical path. For these, we want to port to python3 versions in the same Fedora release if possible."

Comment 4 Antonio T. (sagitter) 2017-01-07 10:03:52 UTC
Package Review
==============

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


Issues:
=======
- Large documentation must go in a -doc subpackage. Large could be size
  (~1MB) or number of files.
  Note: Documentation size is 2048000 bytes in 104 files.
  See:
  http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation

- requests_file.py is licensed under the 'ASL 2.0' license

- 'python-bytecode-wrong-magic-value' errors come from a bug of rpmlint.

===== 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: "Apache (v2.0)", "BSD (2 clause) MIT/X11 (BSD like) CC by-sa
     (v2.0)", "Unknown or generated", "BSD (2 clause) MIT/X11 (BSD like)",
     "MIT/X11 (BSD like)", "*No copyright* CC by-sa (v2.0)", "BSD (2
     clause)", "CC by-sa (v2.0)". 259 files have unknown license. Detailed
     output of licensecheck in /home/sagitter/1405271-python-
     streamlink/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[ ]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/lib/python3.6/site-packages,
     /usr/lib/python3.6
[ ]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib/python3.6/site-
     packages, /usr/lib/python3.6
[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.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[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 does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[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]: 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).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     python2-streamlink , python3-streamlink
[ ]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: 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:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: python2-streamlink-0.2.0-1.fc26.noarch.rpm
          python3-streamlink-0.2.0-1.fc26.noarch.rpm
          python-streamlink-0.2.0-1.fc26.src.rpm
python2-streamlink.noarch: W: dangling-symlink /usr/share/doc/python2-streamlink/html/_static/fonts/fontawesome-webfont.eot /usr/share/fonts/fontawesome/fontawesome-webfont.eot
python3-streamlink.noarch: E: python-bytecode-wrong-magic-value /usr/lib/python3.6/site-packages/streamlink/plugins/__pycache__/drdk.cpython-36.pyc expected 3361 (3.6), found 3379 (unknown)
...
2 packages and 0 specfiles checked; 0 errors, 2 warnings.



Requires
--------
python2-streamlink (rpmlib, GLIBC filtered):
    fontawesome-fonts-web
    python(abi)
    python-crypto
    python-futures
    python-requests
    python-singledispatch

python3-streamlink (rpmlib, GLIBC filtered):
    /usr/bin/python3
    fontawesome-fonts-web
    python(abi)
    python3-crypto
    python3-requests
    python3-singledispatch



Provides
--------
python2-streamlink:
    python-streamlink
    python2-streamlink
    python2.7dist(streamlink)
    python2dist(streamlink)

python3-streamlink:
    python3-streamlink
    python3.6dist(streamlink)
    python3dist(streamlink)
    streamlink



Source checksums
----------------
https://github.com/streamlink/streamlink/archive/0.2.0/streamlink-0.2.0.tar.gz :
  CHECKSUM(SHA256) this package     : 80761f2a8e51c729b7226572e4683c7bea1260a7197d978fde13ce720ec5eb1e
  CHECKSUM(SHA256) upstream package : 80761f2a8e51c729b7226572e4683c7bea1260a7197d978fde13ce720ec5eb1e


Generated by fedora-review 0.6.1 (f03e4e7) last change: 2016-05-02
Command line :/usr/bin/fedora-review -m fedora-rawhide-x86_64 -b 1405271
Buildroot used: fedora-rawhide-x86_64
Active plugins: Python, Generic, Shell-api
Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

Comment 5 Antonio T. (sagitter) 2017-01-07 10:07:28 UTC
Created attachment 1238169 [details]
review.txt

Full review file.

Comment 6 Mohamed El Morabity 2017-01-07 15:31:58 UTC
(In reply to Antonio Trande from comment #4)
Thanks for your review :)

> Issues:
> =======
> - Large documentation must go in a -doc subpackage. Large could be size
>   (~1MB) or number of files.
>   Note: Documentation size is 2048000 bytes in 104 files.
>   See:
>   http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation
Fixed

> - requests_file.py is licensed under the 'ASL 2.0' license
Fixed

Spec URL: https://melmorabity.fedorapeople.org/packages/python-streamlink/python-streamlink.spec
SRPM URL: https://melmorabity.fedorapeople.org/packages/python-streamlink/python-streamlink-0.2.0-2.fc25.src.rpm

Comment 7 Antonio T. (sagitter) 2017-01-07 15:37:16 UTC
doc sub-package does not provide an own license file.

Comment 8 Mohamed El Morabity 2017-01-07 16:13:18 UTC
(In reply to Antonio Trande from comment #7)
> doc sub-package does not provide an own license file.

Fixed

Spec URL: https://melmorabity.fedorapeople.org/packages/python-streamlink/python-streamlink.spec
SRPM URL: https://melmorabity.fedorapeople.org/packages/python-streamlink/python-streamlink-0.2.0-3.fc25.src.rpm

Comment 9 Antonio T. (sagitter) 2017-01-07 16:16:07 UTC
Package approved.

Comment 10 Gwyn Ciesla 2017-01-09 14:04:19 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/python-streamlink

Comment 11 Fedora Update System 2017-01-10 00:59:01 UTC
python-streamlink-0.2.0-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-082179ed31

Comment 12 Fedora Update System 2017-01-10 00:59:08 UTC
python-streamlink-0.2.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-27bc8c9511

Comment 13 Fedora Update System 2017-01-10 03:24:20 UTC
python-streamlink-0.2.0-3.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-082179ed31

Comment 14 Fedora Update System 2017-01-10 03:29:02 UTC
python-streamlink-0.2.0-3.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-27bc8c9511

Comment 15 Fedora Update System 2017-01-17 19:52:39 UTC
python-streamlink-0.2.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-01-17 20:20:49 UTC
python-streamlink-0.2.0-3.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


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