Comments (4)
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.
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.
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.
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)
- Need ability to optionally specify which version of PyPI package to use
- dpkg-checkbuilddeps: error: Unmet build dependencies: python3-all HOT 1
- Custom DPKG_ADMINDIR
- python-all required ? HOT 1
- Running under Fedora HOT 1
- dh: error: unable to load addon python3:
- Reenable Travis CI status HOT 4
- Is there a way to override the /bin/tar path that stdeb expects HOT 2
- --install-layout=deb not recognized HOT 4
- Build-Depends: python3-all
- How do we disable dh_auto_test from stdeb.cfg so that tests dont run on Debian build servers? HOT 2
- What needs to be done to make a package ready to be accepted in debian HOT 3
- [QUESTION] Virtualenv, Launchpad PPA, signing package
- Fix simple typo: reproducbile -> reproducible
- Command line option "patch-file" doesn't work as expected
- PEP 517 requires causes: error: aborting due to unexpected upstream changes
- Always add dh-python as Build-Depends HOT 1
- Upgrade Standards-Version and debhelper compatibility level
- Error when trying to build numpy
- PyPI XML-RPC API that `pypi-download` uses has been removed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stdeb.