Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440396 - [iElectric] dev-python/gpypi2: please use virtual/python-argparse
Summary: [iElectric] dev-python/gpypi2: please use virtual/python-argparse
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Domen Kožar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 09:56 UTC by Michał Górny
Modified: 2017-07-11 06:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-10-31 09:56:14 UTC
Please make your package depend on virtual/python-argparse rather than dev-python/argparse directly. Thank you.
Comment 1 Domen Kožar 2012-10-31 10:08:04 UTC
That ebuild is obsolete, use g-pypi 0.3 from portage.

Is there a way to mark this?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-10-31 10:32:20 UTC
(In reply to comment #1)
> That ebuild is obsolete, use g-pypi 0.3 from portage.
> 
> Is there a way to mark this?

Well, you'd start by removing it ;).

You could establish 'profiles/updates/4Q-2012' in your overlay with:

move dev-python/gpypi2 dev-python/g-pypi
Comment 3 Luciano 2013-04-26 13:48:39 UTC
g-pypi-0.3 appears to still depend on argparse, event though it's not a package dependency. When I try running it form the command line, I get:

chichenitza ~ # gpypi
Traceback (most recent call last):
  File "/usr/bin/gpypi-2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2808, in <module>
    working_set.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 691, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 589, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse

I had to install argparse-1.2.1 to get it to work.
Comment 4 Domen Kožar 2013-04-26 13:53:23 UTC
Unfortunately I'm not an active maintainer of gpypi2 anymore, is anyone up for the task? It's an exciting project that still has a lot of potential in Gentoo
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-26 14:26:17 UTC
I think I already explained the fix for a similar issue somewhere but I don't remember where. Shortly saying, setup.py should only add argparse to required package list in Python versions not having it built-in.
Comment 6 Jonas Stein gentoo-dev 2017-07-11 06:39:08 UTC
can not find [iElectric] on 
https://gpo.zugaina.org/Overlays
any more