Copy the openstack-common stuff manually, as it's not there.
This commit is contained in:
2
debian/changelog
vendored
2
debian/changelog
vendored
@@ -2,7 +2,7 @@ python-oslo.concurrency (0.3.0-1) UNRELEASED; urgency=medium
|
||||
|
||||
* New upstream release.
|
||||
* Added python-retrying as (build-)depends.
|
||||
* Patch MANIFEST.in to include the openstack-common folder.
|
||||
* Copy the openstack-common stuff manually, as it's not there.
|
||||
|
||||
-- Thomas Goirand <zigo@debian.org> Tue, 23 Dec 2014 10:44:01 +0800
|
||||
|
||||
|
||||
17
debian/patches/Fix-missing-dot-py.patch
vendored
17
debian/patches/Fix-missing-dot-py.patch
vendored
@@ -1,17 +0,0 @@
|
||||
Description: Fix missing .py files
|
||||
It's looking like upstream MANIFEST.in is wrong and doesn't package some of
|
||||
the .py files inside oslo_concurrency.
|
||||
Author: Thomas Goirand <zigo@debian.org>
|
||||
Forwarded: no
|
||||
Last-Update: 2014-12-23
|
||||
|
||||
--- python-oslo.concurrency-0.3.0.orig/MANIFEST.in
|
||||
+++ python-oslo.concurrency-0.3.0/MANIFEST.in
|
||||
@@ -2,5 +2,6 @@ include AUTHORS
|
||||
include ChangeLog
|
||||
exclude .gitignore
|
||||
exclude .gitreview
|
||||
+recursive-include oslo_concurrency *.py
|
||||
|
||||
global-exclude *.pyc
|
||||
\ No newline at end of file
|
||||
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -1 +0,0 @@
|
||||
Fix-missing-dot-py.patch
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@@ -15,11 +15,13 @@ override_dh_install:
|
||||
set -e ; for pyvers in $(PYTHONS); do \
|
||||
python$$pyvers setup.py install --install-layout=deb \
|
||||
--root $(CURDIR)/debian/python-oslo.concurrency; \
|
||||
cp -r oslo_concurrency/openstack $(CURDIR)/debian/python-oslo.concurrency/usr/lib/python$$pyvers/dist-packages/oslo_concurrency ; \
|
||||
done
|
||||
set -e ; for pyvers in $(PYTHON3S); do \
|
||||
python$$pyvers setup.py install --install-layout=deb \
|
||||
--root $(CURDIR)/debian/python3-oslo.concurrency; \
|
||||
done
|
||||
cp -r oslo_concurrency/openstack $(CURDIR)/debian/python3-oslo.concurrency/usr/lib/python3/dist-packages/oslo_concurrency ; \
|
||||
rm -rf $(CURDIR)/debian/python*-oslo.concurrency/usr/lib/python*/dist-packages/*.pth
|
||||
|
||||
override_dh_auto_test:
|
||||
|
||||
Reference in New Issue
Block a user