summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2014-09-08 14:02:28 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2014-09-08 14:51:26 +0200
commit308450300b2bde492a996af1b5edebb3656397d6 (patch)
tree4c706b867e681141267aeb485be68e6a630bcfe6 /service
parent2e1c5a914f005e268f49397d75ce743edc227cf7 (diff)
Added debian package scripts.
Diffstat (limited to 'service')
-rw-r--r--service/MANIFEST.in4
-rw-r--r--service/debian/changelog5
-rw-r--r--service/debian/compat1
-rw-r--r--service/debian/control36
-rwxr-xr-xservice/debian/rules26
-rw-r--r--service/debian/source/format1
-rw-r--r--service/debian/source/options1
-rw-r--r--service/setup.py2
8 files changed, 75 insertions, 1 deletions
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 <pixelated-team@thoughtworks.com> 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 <pixelated-team@thoughtworks.com>
+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'),