Section: devel
Priority: extra
Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
-Build-Depends: debhelper (>= 7.0.15), cdbs, python-dev,dh-python, python-docutils, python, python-setuptools, python-jinja2, python-requests, python-yaml
+Build-Depends: debhelper (>= 7.0.15), cdbs, python2-dev|python-dev, dh-python, python-docutils, python2|python, python-setuptools, python-jinja2, python-requests, python-yaml
Standards-Version: 0.1
Homepage: http://www.tizen.org
Architecture: all
Depends: ${python:Depends},
rpm,
- python,
+ python2|python,
python-jinja2,
python-requests,
python-yaml,
build-stamp:
dh_testdir
ls /usr/lib/python2.7/
- CFLAGS="%{optflags}" python setup.py build
+
+ CFLAGS="%{optflags}" python2 setup.py build
clean:
dh_testdir
dh_testroot
# Installing package
- python setup.py install --prefix=/usr --root=$(CURDIR)
+ python2 setup.py install --prefix=/usr --root=$(CURDIR)
install -D -m 644 distfiles/profile.yaml $(CURDIR)/etc/python-snapdiff/profile.yaml
binary-indep: build install
dh_testdir