From 308450300b2bde492a996af1b5edebb3656397d6 Mon Sep 17 00:00:00 2001 From: Folker Bernitt Date: Mon, 8 Sep 2014 14:02:28 +0200 Subject: Added debian package scripts. --- service/MANIFEST.in | 4 ++++ service/debian/changelog | 5 +++++ service/debian/compat | 1 + service/debian/control | 36 ++++++++++++++++++++++++++++++++++++ service/debian/rules | 26 ++++++++++++++++++++++++++ service/debian/source/format | 1 + service/debian/source/options | 1 + service/setup.py | 2 +- 8 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 service/MANIFEST.in create mode 100644 service/debian/changelog create mode 100644 service/debian/compat create mode 100644 service/debian/control create mode 100755 service/debian/rules create mode 100644 service/debian/source/format create mode 100644 service/debian/source/options (limited to 'service') diff --git a/service/MANIFEST.in b/service/MANIFEST.in new file mode 100644 index 00000000..e18fa770 --- /dev/null +++ b/service/MANIFEST.in @@ -0,0 +1,4 @@ +include README.md +recursive-include pixelated/certificates *.* +recursive-include debian * + diff --git a/service/debian/changelog b/service/debian/changelog new file mode 100644 index 00000000..529ea5be --- /dev/null +++ b/service/debian/changelog @@ -0,0 +1,5 @@ +pixelated-user-agent (0.1-1) unstable; urgency=low + + * source package automatically created by stdeb 0.8.2 + + -- Thoughtworks Mon, 08 Sep 2014 04:57:38 -0700 diff --git a/service/debian/compat b/service/debian/compat new file mode 100644 index 00000000..7f8f011e --- /dev/null +++ b/service/debian/compat @@ -0,0 +1 @@ +7 diff --git a/service/debian/control b/service/debian/control new file mode 100644 index 00000000..f7f36e2a --- /dev/null +++ b/service/debian/control @@ -0,0 +1,36 @@ +Source: pixelated-user-agent +Maintainer: Thoughtworks +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7.4.3) +Standards-Version: 3.9.1 + + + +Package: python-pixelated-user-agent +Architecture: all +Depends: python (>= 2.7), python (<< 2.8), leap-keymanager, soledad-common, soledad-client,, leap-mail, gunicorn, python-srp, python-dirspec, python-u1db +Description: API to serve the pixelated front-end requests + Pixelated User Agent Service + ============================ + . + This is the service for the Pixelated User Agent. The primary purpose of this is to integrate well with the Pixelated Provider and provide all the capabilities necessary for the UI to work well. + . + The aim is to support these resources/endpoints: + . + ``` + GET /mails + DELETE /mails + POST /mails + PUT /mails + POST /mails/read + . + GET /mail/:id + DELETE /mail/:id + POST /mail/:id/star + POST /mail/:id/unstar + POST /mail/:id/replied + POST /mail/:id/unreplied + + + diff --git a/service/debian/rules b/service/debian/rules new file mode 100755 index 00000000..2ba15014 --- /dev/null +++ b/service/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +# This file was automatically generated by stdeb 0.8.2 at +# Mon, 08 Sep 2014 04:57:38 -0700 + +%: + dh $@ --with python2 --buildsystem=python_distutils + + +override_dh_auto_clean: + python setup.py clean -a + find . -name \*.pyc -exec rm {} \; + + + +override_dh_auto_build: + python setup.py build --force + + + +override_dh_auto_install: + python setup.py install --force --root=debian/python-pixelated-user-agent --no-compile -O0 --install-layout=deb --prefix=/usr + + + + diff --git a/service/debian/source/format b/service/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/service/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/service/debian/source/options b/service/debian/source/options new file mode 100644 index 00000000..bcc4bbb3 --- /dev/null +++ b/service/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info$" \ No newline at end of file diff --git a/service/setup.py b/service/setup.py index c8b0b6e8..9151b320 100644 --- a/service/setup.py +++ b/service/setup.py @@ -55,7 +55,7 @@ def data_files(): def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() -setup(name='Pixelated User Agent Service', +setup(name='pixelated-user-agent', version='0.1', description='API to serve the pixelated front-end requests', long_description=read('README.md'), -- cgit v1.2.3