Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365355 - New ebuild request: virtualenvwrapper
Summary: New ebuild request: virtualenvwrapper
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise-suggested
Keywords: EBUILD, InVCS
Depends on:
Blocks:
 
Reported: 2011-04-29 20:35 UTC by Randy Barlow
Modified: 2012-02-16 15:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
virtualenvwrapper-2.7.1.ebuild (virtualenvwrapper-2.7.1.ebuild,595 bytes, text/plain)
2011-04-29 21:01 UTC, Randy Barlow
Details
Updated virtualenvwrapper ebuild (virtualenvwrapper-2.10.ebuild,559 bytes, text/plain)
2011-11-28 12:34 UTC, Ewoud Kohl van Wijngaarden
Details
virtualenvwrapper-2.11.ebuild (virtualenvwrapper-2.11.ebuild,825 bytes, text/plain)
2011-12-30 14:31 UTC, Vladislav Poluhin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Barlow 2011-04-29 20:35:49 UTC
I'd like there to be an e-build for virtualenvwrapper[0]. It's a nice utility that makes virtualenv a little easier to work with.

[0] http://www.doughellmann.com/projects/virtualenvwrapper/

Reproducible: Always
Comment 1 Randy Barlow 2011-04-29 20:37:53 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Randy Barlow 2011-04-29 21:01:50 UTC
Created attachment 271585 [details]
virtualenvwrapper-2.7.1.ebuild

I found an ebuild from http://www.iwangbin.com/blog/2010/10/18/virtualenvwrapper-ebuild-for-gentoo/ and I updated it for the latest version of virtualenvwrapper.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-05-01 21:24:54 UTC
Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Thanks,
On behalf of the Gentoo Sunrise Team,
Markos.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 4 Ewoud Kohl van Wijngaarden 2011-11-28 12:34:03 UTC
Created attachment 294059 [details]
Updated virtualenvwrapper ebuild

I'd make a patch since I saw a keyword InVCS, but I can't find it so a full ebuild.

I've bumped EAPI to 4, updated SRC_URI to use more variables and I've added setuptools to [R]DEPEND since it uses pkg_resources.

I would be interested in maintaining this package through a proxy.
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-11-30 15:35:58 UTC
Ewoud, sounds great. Would you be able to come hang out in #gentoo-python on IRC?
Comment 6 Vladislav Poluhin 2011-12-30 14:31:29 UTC
Created attachment 297379 [details]
virtualenvwrapper-2.11.ebuild

My version of virtualenvwrapper ebuild
Comment 7 Nicolas Pinto 2012-02-14 16:38:46 UTC
How may I help get this into the main tree? Here is what I have for virtualenvwrapper-3.0 (very basic):
https://github.com/npinto/sekyfsr-gentoo-overlay/blob/master/dev-python/virtualenvwrapper/virtualenvwrapper-3.0.ebuild

Let me know.
Comment 8 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-02-14 16:54:40 UTC
For you, too: come hang out in #gentoo-python on freenode (if at all possible), and we'll do some review.
Comment 9 Dmitry Suloev 2012-02-15 10:17:18 UTC
Today, after the upgrade, I found that most of the ports tree, a new version of virtualenv. After you upgrade to a newer version virtualenvwrapper stopped working. The problem is that with the package is not installed pth-file and, accordingly, the interpreter python can not find the newly installed package.
When you install the following message appears:
 * 
 * Python namespaces:
 *     '/usr/lib64/python2.7/site-packages/virtualenvwrapper-3.0-py2.7-nspkg.pth':
 *         virtualenvwrapper
 * 
However, the file in the specified path does not exists.
Comment 10 Dmitry Suloev 2012-02-15 10:43:56 UTC
The problem was much simpler. =)
In the directory /usr/lib/python2.7/site-packages/virtualenvwrapper/ missing __init__.py file.
Comment 11 Ewoud Kohl van Wijngaarden 2012-02-15 16:40:04 UTC
I just noticed 3.0 entered the tree and totally forgot about this. Apparently I forgot to CC myself :(

With 3.0 I have an issue with no hook loader. When I source `which virtualenvwrapper.sh` I get the following traceback:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named virtualenvwrapper.hook_loader

Secondly the dependency seems weird:

RDEPEND="dev-python/virtualenv"
DEPEND="${DEPEND}

I'd expect virtualenv to be a build dependency.
Comment 12 Ewoud Kohl van Wijngaarden 2012-02-15 16:52:33 UTC
It seems my first issue is the same as Suloev Dmitry, creating an empty __init__.py solves my issues.
Comment 13 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-02-16 15:32:25 UTC
We'll discuss the issue noted in comment 11 in bug 404103, please.