aboutsummaryrefslogtreecommitdiffstats
path: root/pythoneggs.py
diff options
context:
space:
mode:
Diffstat (limited to 'pythoneggs.py')
-rwxr-xr-xpythoneggs.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/pythoneggs.py b/pythoneggs.py
index a2d9bc0..f4beedc 100755
--- a/pythoneggs.py
+++ b/pythoneggs.py
@@ -100,6 +100,15 @@ for f in files:
spec = ('==', dist.version)
if not spec in py_deps[name]:
py_deps[name].append(spec)
+ # Temporary: Keep old style provides until all packages have new style ones and requires can be switched
+ name = 'pythonegg(%s)' % dist.key
+ if not name in py_deps:
+ py_deps[name] = []
+ if dist.version:
+ spec = ('==', dist.version)
+ if not spec in py_deps[name]:
+ py_deps[name].append(spec)
+ # /Temporary
if Requires or (Suggests and dist.extras):
name = 'python(abi)'
# If egg metadata says package name is python, we don't add dependency on python(abi)
@@ -123,7 +132,7 @@ for f in files:
deps = depsextras
# add requires/suggests based on egg metadata
for dep in deps:
- name = 'pythonegg(%s)(%s)' % (py_major, dep.key)
+ name = 'pythonegg(%s)' % dep.key
for spec in dep.specs:
if spec[0] != '!=':
if not name in py_deps: