Skip to content
Snippets Groups Projects
Commit 7fae4cbe authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

typo

parent b6e26c64
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,6 @@ stamp-dh_python: ...@@ -144,7 +144,6 @@ stamp-dh_python:
dh_installdirs dh_installdirs
DESTDIR=debian/python make install-dev DESTDIR=debian/python make install-dev
DESTDIR=debian/python-minimal make install-runtime DESTDIR=debian/python-minimal make install-runtime
find debian/python-minimal
touch $@ touch $@
# Build architecture-independent files here. # Build architecture-independent files here.
......
...@@ -25,7 +25,6 @@ import os ...@@ -25,7 +25,6 @@ import os
import re import re
from os.path import exists, isdir, join from os.path import exists, isdir, join
from subprocess import PIPE, Popen from subprocess import PIPE, Popen
from sys import exit
from debpython.version import vrepr, getver, get_requested_versions from debpython.version import vrepr, getver, get_requested_versions
from debpython.tools import memoize from debpython.tools import memoize
......
...@@ -200,7 +200,7 @@ def create_ext_links(dir1): ...@@ -200,7 +200,7 @@ def create_ext_links(dir1):
def share_2x(dir1, dir2, dc=None): def share_2x(dir1, dir2, dc=None):
"""Move common files to pyshared and create symlinks in original """Move common files to pyshared and create symlinks in original
locations.""" locations."""
debian, package, path = dir2.split('/', 3) debian, package, path = dir2.split('/', 2)
# dir1 starts with debian/packagename/usr/lib/pythonX.Y/*-packages/ # dir1 starts with debian/packagename/usr/lib/pythonX.Y/*-packages/
dstdir = join(debian, package, 'usr/share/pyshared/', \ dstdir = join(debian, package, 'usr/share/pyshared/', \
'/'.join(dir1.split('/')[6:])) '/'.join(dir1.split('/')[6:]))
...@@ -581,7 +581,7 @@ def main(): ...@@ -581,7 +581,7 @@ def main():
elif ext_for is False: # extension's version not detected elif ext_for is False: # extension's version not detected
if options.vrange and '-' not in vrange_str(options.vrange): if options.vrange and '-' not in vrange_str(options.vrange):
ver = vrange_str(options.vrange) ver = vrange_str(options.vrange)
else: # try shebang or defaukt Python version else: # try shebang or default Python version
ver = (list(v for i, v in details.get('shebangs', []) ver = (list(v for i, v in details.get('shebangs', [])
if v) or [None])[0] or DEFAULT if v) or [None])[0] or DEFAULT
args += " -V %s" % vrepr(ver) args += " -V %s" % vrepr(ver)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment