Git Product home page Git Product logo

Comments (4)

zookos avatar zookos commented on August 17, 2024
HACK yukyuk:~/playground/stdeb/gw/stdeb$ git diff
diff --git a/stdeb/util.py b/stdeb/util.py
index 419961c..a38f22c 100644
--- a/stdeb/util.py
+++ b/stdeb/util.py
@@ -946,13 +946,13 @@ install-python%%:
         if test "$*" = "2.5" -o "$*" = "2.4"; then \\
           %(setup_env_vars)spython$* -c "import setuptools,sys;f='setup.py';sys.argv[0]=f;execfile(f,{'__file__':f,'__name__':'__main__'})" install \\
             --no-compile --single-version-externally-managed \\
-            --root $(CURDIR)/debian/${PACKAGE_NAME}; \\
+            --root \"$(CURDIR)/debian/${PACKAGE_NAME}\"; \\
           mv debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/*.egg-info \\
                 debian/${PACKAGE_NAME}/usr/lib/python$*/site-packages/${EGG_MODULE_NAME}.egg-info; \\
         else \\
           %(setup_env_vars)spython$* -c "import setuptools,sys;f='setup.py';sys.argv[0]=f;execfile(f,{'__file__':f,'__name__':'__main__'})" install \\
             --no-compile --single-version-externally-managed --install-layout=deb \\
-            --root $(CURDIR)/debian/${PACKAGE_NAME}; \\
+            --root \"$(CURDIR)/debian/${PACKAGE_NAME}\"; \\
           mv debian/${PACKAGE_NAME}/usr/lib/python$*/dist-packages/*.egg-info \\
                 debian/${PACKAGE_NAME}/usr/lib/python$*/dist-packages/${EGG_MODULE_NAME}.egg-info; \\
        fi

from stdeb.

zookos avatar zookos commented on August 17, 2024

Okay, I tested this patch and it worked on http://allmydata.org/buildbot-pycryptopp/builders/gutsy%20syslib

Although for some reason I had to edit the line after I had done a python ./setup.py sdist to generate a tarball to transfer over to that machine...

from stdeb.

arthurlutz avatar arthurlutz commented on August 17, 2024

The patch can't be applied to the current version of the code. utils.py seems to be shorter than the patched version.

from stdeb.

astraw avatar astraw commented on August 17, 2024

The autogenerated debian/rules file has been greatly changed in the trunk (the nascent 0.4 release). This patch won't apply there.

As far as the old-stable branch, I applied zooko's patch in 94679e6 , but I can still get it to fail. I think it might be due to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507217

Anyhow, I'm going to close this as an upstream bug in dpkg. Please correct me if I'm wrong.

from stdeb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.