Bug 810033

Summary: Review Request: python-virtualenvwrapper - Enhancements to virtualenv
Product: [Fedora] Fedora Reporter: Ralph Bean <rbean>
Component: Package ReviewAssignee: Ian Weller <ian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ian, notting, package-review, priya.l, shryashrama
Target Milestone: ---Flags: ian: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-22 15:32:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 818293    

Description Ralph Bean 2012-04-04 23:30:19 UTC
Spec URL: http://threebean.org/rpm/python-virtualenvwrapper.spec
SRPM URL: http://threebean.org/rpm/python-virtualenvwrapper-3.1-1.fc16.src.rpm
Description:

virtualenvwrapper is a set of extensions to Ian Bicking's `virtualenv
<http://pypi.python.org/pypi/virtualenv>`_ tool.  The extensions include
wrappers for creating and deleting virtual environments and otherwise
managing your development workflow, making it easier to work on more than
one project at a time without introducing conflicts in their dependencies.

koji-f17 - http://koji.fedoraproject.org/koji/taskinfo?taskID=3964402
koji-el6 - http://koji.fedoraproject.org/koji/taskinfo?taskID=3964412

Comment 1 Ian Weller 2012-04-05 00:10:31 UTC
Review checklist, last updated 2012-02-07
Based on https://fedoraproject.org/wiki/Packaging:ReviewGuidelines
Key: [X] passed, [F] failed, [-] irrelevant

[F] MUST: rpmlint must be run on the source rpm and all binary rpms the build
    produces. The output should be posted in the review.

python-virtualenvwrapper.src: W: spelling-error Summary(en_US) virtualenv -> virtual
python-virtualenvwrapper.src: W: spelling-error %description -l en_US virtualenv -> virtual
python-virtualenvwrapper.src: W: spelling-error %description -l en_US http -> HTTP
python-virtualenvwrapper.src: W: spelling-error %description -l en_US pypi -> typify
python-virtualenvwrapper.src: W: spelling-error %description -l en_US workflow -> work flow, work-flow, workforce
python-virtualenvwrapper.noarch: W: spelling-error Summary(en_US) virtualenv -> virtual
python-virtualenvwrapper.noarch: W: spelling-error %description -l en_US virtualenv -> virtual
python-virtualenvwrapper.noarch: W: spelling-error %description -l en_US http -> HTTP
python-virtualenvwrapper.noarch: W: spelling-error %description -l en_US pypi -> typify
python-virtualenvwrapper.noarch: W: spelling-error %description -l en_US workflow -> work flow, work-flow, workforce
python-virtualenvwrapper.noarch: E: script-without-shebang /usr/bin/virtualenvwrapper.sh
python-virtualenvwrapper.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/virtualenvwrapper/project.py 0644L /usr/bin/env
python-virtualenvwrapper.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/virtualenvwrapper/user_scripts.py 0644L /usr/bin/env
python-virtualenvwrapper.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/virtualenvwrapper/hook_loader.py 0644L /usr/bin/env
python-virtualenvwrapper.noarch: W: no-manual-page-for-binary virtualenvwrapper.sh
2 packages and 0 specfiles checked; 4 errors, 11 warnings.

The errors (script-without-shebang and non-executable-script) must be fixed.
(non-executable-script is being thrown because those files have shebangs and
shouldn't).

[X] MUST: The package must be named according to the Package Naming Guidelines.
[X] MUST: The spec file name must match the base package %{name}, in the format
    %{name}.spec unless your package has an exemption.
[ ] MUST: The package must meet the Packaging Guidelines.
[X] MUST: The package must be licensed with a Fedora approved license and meet
    the Licensing Guidelines.
[X] MUST: The License field in the package spec file must match the actual
    license. 

The README.txt included has a license that is obviously MIT but the PyPi page
labels this module as BSD licensed. Please contact upstream and have them fix
something.

[-] MUST: 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 must be included in %doc.
[X] MUST: The spec file must be written in American English. 
[X] MUST: The spec file for the package MUST be legible. 
[X] MUST: The sources used to build the package must match the upstream source,
    as provided in the spec URL. Reviewers should use md5sum for this task. If
    no upstream URL can be specified for this package, please see the Source
    URL Guidelines for how to deal with this.

8a37fc179d3e0239c42cda433a21009a  virtualenvwrapper-3.1.tar.gz
8a37fc179d3e0239c42cda433a21009a  virtualenvwrapper-3.1.tar.gz.1

[X] MUST: The package MUST successfully compile and build into binary rpms on
    at least one primary architecture. 
[-] MUST: If the package does not successfully compile, build or work on an
    architecture, then those architectures should be listed in the spec in
    ExcludeArch. Each architecture listed in ExcludeArch MUST have a bug filed
    in bugzilla, describing the reason that the package does not
    compile/build/work on that architecture. The bug number MUST be placed in a
    comment, next to the corresponding ExcludeArch line. 
[X] MUST: All build dependencies must be listed in BuildRequires, except for
    any that are listed in the exceptions section of the Packaging Guidelines;
    inclusion of those as BuildRequires is optional. Apply common sense.
[-] MUST: The spec file MUST handle locales properly. This is done by using the
    %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.
[-] MUST: Every binary RPM package (or subpackage) which stores shared library
    files (not just symlinks) in any of the dynamic linker's default paths,
    must call ldconfig in %post and %postun. 
[X] MUST: Packages must NOT bundle copies of system libraries.
[-] MUST: If the package is designed to be relocatable, the packager must state
    this fact in the request for review, along with the rationalization for
    relocation of that specific package. Without this, use of Prefix: /usr is
    considered a blocker. 
[X] MUST: A package must own all directories that it creates. If it does not
    create a directory that it uses, then it should require a package which
    does create that directory. 
[X] MUST: A Fedora package must not list a file more than once in the spec
    file's %files listings. (Notable exception: license texts in specific
    situations)
[X] MUST: Permissions on files must be set properly. Executables should be set
    with executable permissions, for example. 
[X] MUST: Each package must consistently use macros. 
[X] MUST: The package must contain code, or permissable content. 
[-] MUST: Large documentation files must go in a -doc subpackage. (The
    definition of large is left up to the packager's best judgement, but is not
    restricted to size. Large can refer to either size or quantity). 
[X] MUST: If a package includes something as %doc, it must not affect the
    runtime of the application. To summarize: If it is in %doc, the program
    must run properly if it is not present. 
[-] MUST: Static libraries must be in a -static package. 
[-] MUST: Development files must be in a -devel package. 
[-] MUST: In the vast majority of cases, devel packages must require the base
    package using a fully versioned dependency:
       Requires: %{name}%{?_isa} = %{version}-%{release} 
[-] MUST: Packages must NOT contain any .la libtool archives, these must be
    removed in the spec if they are built.
[-] MUST: Packages containing GUI applications must include a %{name}.desktop
    file, and that file must be properly installed with desktop-file-install in
    the %install section. If you feel that your packaged GUI application does
    not need a .desktop file, you must put a comment in the spec file with your
    explanation. 
[X] MUST: Packages must not own files or directories already owned by other
    packages. The rule of thumb here is that the first package to be installed
    should own the files or directories that other packages may rely upon. This
    means, for example, that no package in Fedora should ever share ownership
    with any of the files or directories owned by the filesystem or man
    package. If you feel that you have a good reason to own a file or directory
    that another package owns, then please present that at package review time. 
[X] MUST: All filenames in rpm packages must be valid UTF-8. 

Fixes required: rpmlint

Comment 2 Ralph Bean 2012-04-05 01:09:57 UTC
I filed an issue upstream about the license ambiguity but will have to take a crack at rpmlint later.

 - https://bitbucket.org/dhellmann/virtualenvwrapper/issue/134/license-ambiguity

Comment 3 Ralph Bean 2012-04-10 02:44:37 UTC
That patch got merged in upstream and a new version was released.

Here is an updated RPM for the latest version that also contains a patch for the rpmlint issues.

SPEC:  http://threebean.org/rpm/python-virtualenvwrapper.spec
SRPM:  http://threebean.org/rpm/python-virtualenvwrapper-3.2-1.fc17.src.rpm

Comment 4 Ian Weller 2012-04-17 20:47:24 UTC
/usr/bin/virtualenvwrapper.sh still doesn't have a shebang and it requires one:

python-virtualenvwrapper.noarch: E: script-without-shebang /usr/bin/virtualenvwrapper.sh

Comment 5 Ralph Bean 2012-04-18 00:18:38 UTC
Whoops -- I went the wrong way.  I made the script non-executable instead of adding a shebang.

This has been reversed.  It is executable again and has a shebang now.  Bumped the release in the spec.

SPEC:  http://threebean.org/rpm/python-virtualenvwrapper.spec
SRPM:  http://threebean.org/rpm/python-virtualenvwrapper-3.2-2.fc17.src.rpm

Comment 6 Ian Weller 2012-04-18 00:53:25 UTC
Alright, looks good. APPROVED

Comment 7 Ralph Bean 2012-04-18 18:06:36 UTC
New Package SCM Request
=======================
Package Name: python-virtualenvwrapper
Short Description: Enhancements to virtualenv
Owners: ralph
Branches: f17 el6
InitialCC:

Comment 8 Gwyn Ciesla 2012-04-18 18:13:43 UTC
Git done (by process-git-requests).

Comment 9 Fedora Update System 2012-04-18 22:45:07 UTC
python-virtualenvwrapper-3.2-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-virtualenvwrapper-3.2-2.fc17

Comment 10 Fedora Update System 2012-04-18 22:59:36 UTC
python-virtualenvwrapper-3.2-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-virtualenvwrapper-3.2-2.el6

Comment 11 Fedora Update System 2012-04-19 17:34:43 UTC
python-virtualenvwrapper-3.2-2.el6 has been pushed to the Fedora EPEL 6 testing repository.

Comment 12 Fedora Update System 2012-05-07 16:18:32 UTC
python-virtualenvwrapper-3.2-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-virtualenvwrapper-3.2-3.fc17

Comment 13 Fedora Update System 2012-05-07 16:28:04 UTC
python-virtualenvwrapper-3.2-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-virtualenvwrapper-3.2-3.el6

Comment 14 Fedora Update System 2012-05-22 15:32:27 UTC
python-virtualenvwrapper-3.2-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2012-05-26 06:56:28 UTC
python-virtualenvwrapper-3.2-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Ralph Bean 2012-06-19 01:40:23 UTC
Package Change Request
======================
Package Name: python-virtualenvwrapper
New Branches: f16
Owners: ralph
InitialCC:

Comment 17 Gwyn Ciesla 2012-06-19 12:58:22 UTC
Git done (by process-git-requests).

Comment 18 Priya Rajput 2020-10-02 19:08:12 UTC
Nice post. I was checking constantly this blog and I’m impressed! Thank You.
https://shryashrama.com
https://shryashrama.com/shrya/
https://www.bonitacollections.com

Comment 19 Red Hat Bugzilla 2023-09-14 01:28:21 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days