From: shuai.fu Date: Sat, 22 Oct 2016 08:31:28 +0000 (+0800) Subject: add debian package X-Git-Tag: submit/devel/20190730.075504^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e0522baca529a5c927ca22473a8313d0b854fca;p=services%2Fpython-requests.git add debian package Change-Id: I24a555ce2af2acc1bec29d8f84cbd8d6454a09ae Signed-off-by: shuai.fu --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6f09f0b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +python-requests (2.0.2) unstable; urgency=low + + * add debian + + -- Shuai Fu Wed, 09 Jul 2014 10:09:30 +0800 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f6fb1de --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: python-requests +Section: devel +Priority: extra +Maintainer: Jian-feng Ding +Build-Depends: debhelper (>= 7.0.15), cdbs, python-dev, python-support, python-docutils, python, python-setuptools +Standards-Version: 2.0.2 +Homepage: http://www.tizen.org + +Package: python-requests +Architecture: all +Depends: ${python:Depends}, + rpm, + python, + cpio, + bzip2, + gzip +Description: image creator for Linux distributions + The tool createrep is used to ppfarm test + diff --git a/debian/python-requests.install b/debian/python-requests.install new file mode 100644 index 0000000..41589af --- /dev/null +++ b/debian/python-requests.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/* /usr/lib diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a04a6f9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,47 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + python setup.py build +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Installing package + mkdir -p $(CURDIR)/debian/tmp + python setup.py install --prefix=/usr --root=$(CURDIR)/debian/tmp +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_pysupport + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install