Merge branch 'packaging' into debian-0.8 debian-0.8 pithos/debian/v0.8.3
authorVangelis Koukis <vkoukis@grnet.gr>
Tue, 7 Feb 2012 14:18:03 +0000 (16:18 +0200)
committerVangelis Koukis <vkoukis@grnet.gr>
Tue, 7 Feb 2012 14:18:03 +0000 (16:18 +0200)
44 files changed:
MANIFEST.in [deleted file]
fabfile.py
snf-pithos-app/debian/changelog [new file with mode: 0644]
snf-pithos-app/debian/clean [new file with mode: 0644]
snf-pithos-app/debian/compat [new file with mode: 0644]
snf-pithos-app/debian/control [new file with mode: 0644]
snf-pithos-app/debian/copyright [new file with mode: 0644]
snf-pithos-app/debian/dirs [new file with mode: 0644]
snf-pithos-app/debian/gbp.conf [new file with mode: 0644]
snf-pithos-app/debian/pydist-overrides [new file with mode: 0644]
snf-pithos-app/debian/rules [new file with mode: 0755]
snf-pithos-app/debian/source/format [new file with mode: 0644]
snf-pithos-backend/debian/changelog [new file with mode: 0644]
snf-pithos-backend/debian/clean [new file with mode: 0644]
snf-pithos-backend/debian/compat [new file with mode: 0644]
snf-pithos-backend/debian/control [new file with mode: 0644]
snf-pithos-backend/debian/copyright [new file with mode: 0644]
snf-pithos-backend/debian/dirs [new file with mode: 0644]
snf-pithos-backend/debian/gbp.conf [new file with mode: 0644]
snf-pithos-backend/debian/pydist-overrides [new file with mode: 0644]
snf-pithos-backend/debian/rules [new file with mode: 0755]
snf-pithos-backend/debian/source/format [new file with mode: 0644]
snf-pithos-backend/pithos/backends/__init__.py
snf-pithos-lib/debian/changelog [new file with mode: 0644]
snf-pithos-lib/debian/clean [new file with mode: 0644]
snf-pithos-lib/debian/compat [new file with mode: 0644]
snf-pithos-lib/debian/control [new file with mode: 0644]
snf-pithos-lib/debian/copyright [new file with mode: 0644]
snf-pithos-lib/debian/dirs [new file with mode: 0644]
snf-pithos-lib/debian/gbp.conf [new file with mode: 0644]
snf-pithos-lib/debian/pydist-overrides [new file with mode: 0644]
snf-pithos-lib/debian/rules [new file with mode: 0755]
snf-pithos-lib/debian/source/format [new file with mode: 0644]
snf-pithos-tools/debian/changelog [new file with mode: 0644]
snf-pithos-tools/debian/clean [new file with mode: 0644]
snf-pithos-tools/debian/compat [new file with mode: 0644]
snf-pithos-tools/debian/control [new file with mode: 0644]
snf-pithos-tools/debian/copyright [new file with mode: 0644]
snf-pithos-tools/debian/dirs [new file with mode: 0644]
snf-pithos-tools/debian/gbp.conf [new file with mode: 0644]
snf-pithos-tools/debian/pydist-overrides [new file with mode: 0644]
snf-pithos-tools/debian/rules [new file with mode: 0755]
snf-pithos-tools/debian/source/format [new file with mode: 0644]
snf-pithos-tools/setup.py

diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644 (file)
index f11ead4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-global-include */templates/* */fixtures/* */static/*
-global-exclude */.DS_Store
-include pithos/settings.d/*
-prune docs
-prune other
index 78ee633..e442a3c 100644 (file)
@@ -53,12 +53,11 @@ env.roledefs = {
 }
 
 
-# colored logging
+# coloured logging
 notice = lambda x: sys.stdout.write(yellow(x) + "\n")
 info = lambda x: sys.stdout.write(green(x) + "\n")
 error = lambda x: sys.stdout.write(red(x) + "\n")
 
-
 def dev():
     env.develop = True
 
@@ -249,3 +248,4 @@ def builddeball(b="debian-0.8"):
 def uploadtars():
     put("packages/*.tar.gz", 'www/pypi/')
 
+
diff --git a/snf-pithos-app/debian/changelog b/snf-pithos-app/debian/changelog
new file mode 100644 (file)
index 0000000..159dad0
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-app (0.8.3-1) stable; urgency=low
+
+  * Initial Debian packaging for snf-pithos-app v0.8.3.
+
+ -- Vangelis Koukis <vkoukis@grnet.gr>  Tue, 07 Feb 2012 15:55:00 +0200
diff --git a/snf-pithos-app/debian/clean b/snf-pithos-app/debian/clean
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/snf-pithos-app/debian/compat b/snf-pithos-app/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/snf-pithos-app/debian/control b/snf-pithos-app/debian/control
new file mode 100644 (file)
index 0000000..c764743
--- /dev/null
@@ -0,0 +1,16 @@
+Source: snf-pithos-app
+Section: python
+Priority: optional
+Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
+Build-Depends: debhelper (>= 8), python-all (>= 2.5)
+Standards-Version: 3.9.2
+XS-Python-Version: >= 2.6
+Homepage: https://code.grnet.gr/projects/synnefo
+
+Package: snf-pithos-app
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, snf-pithos-backend
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Pithos web app
+
diff --git a/snf-pithos-app/debian/copyright b/snf-pithos-app/debian/copyright
new file mode 100644 (file)
index 0000000..7a64581
--- /dev/null
@@ -0,0 +1,44 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
+Upstream-Name: snf-pithos-app
+Upstream-Contact: GRNET development team <pithos@lists.grnet.gr>
+Source: https://code.grnet.gr/projects/pithos
+
+Files: *
+Copyright: Copyright (C) 2011, 2012 GRNET S.A.
+Licence: BSD-2-clause
+
+Licence: BSD-2-clause
+ Redistribution and use in source and binary forms, with or
+ without modification, are permitted provided that the following
+ conditions are met:
+ .
+ 1. Redistributions of source code must retain the above
+    copyright notice, this list of conditions and the following
+    disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials
+    provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ The views and conclusions contained in the software and
+ documentation are those of the authors and should not be
+ interpreted as representing official policies, either expressed
+ or implied, of GRNET S.A.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/BSD'.
diff --git a/snf-pithos-app/debian/dirs b/snf-pithos-app/debian/dirs
new file mode 100644 (file)
index 0000000..9afd01b
--- /dev/null
@@ -0,0 +1 @@
+etc/synnefo
diff --git a/snf-pithos-app/debian/gbp.conf b/snf-pithos-app/debian/gbp.conf
new file mode 100644 (file)
index 0000000..56cbd9a
--- /dev/null
@@ -0,0 +1,9 @@
+[DEFAULT]
+sign-tags = False
+pristine-tar = False
+
+[git-buildpackage]
+export-dir = ../../build-area/
+tarball-dir = ../../tarballs/
+debian-branch = debian-0.8
+upstream-branch = master
diff --git a/snf-pithos-app/debian/pydist-overrides b/snf-pithos-app/debian/pydist-overrides
new file mode 100644 (file)
index 0000000..3f4cc83
--- /dev/null
@@ -0,0 +1,4 @@
+snf-common snf-common
+snf-pithos-lib snf-pithos-lib
+snf-pithos-backend snf-pithos-backend
+Django python-django
diff --git a/snf-pithos-app/debian/rules b/snf-pithos-app/debian/rules
new file mode 100755 (executable)
index 0000000..cd32ba0
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@ --with python2
+
+package=snf-pithos-app
+
+override_dh_auto_install:
+       dh_auto_install
+       
+       mkdir -p debian/$(package)/etc/synnefo
+
+       cp pithos/api/settings.py \
+                       debian/$(package)/etc/synnefo/20-snf-pithos-app_api.conf;
+       cp pithos/ui/settings.py \
+                       debian/$(package)/etc/synnefo/20-snf-pithos-app_ui.conf;
+       sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf;
+
+       for py in $(shell pyversions -vr debian/control); do \
+               rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
+       done
+
diff --git a/snf-pithos-app/debian/source/format b/snf-pithos-app/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/snf-pithos-backend/debian/changelog b/snf-pithos-backend/debian/changelog
new file mode 100644 (file)
index 0000000..f122446
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-backend (0.8.3-1) stable; urgency=low
+
+  * Initial Debian packaging of snf-pithos-backend v0.8.3.
+
+ -- Vangelis Koukis <vkoukis@grnet.gr>  Tue, 07 Feb 2012 15:52:41 +0200
diff --git a/snf-pithos-backend/debian/clean b/snf-pithos-backend/debian/clean
new file mode 100644 (file)
index 0000000..68b64e9
--- /dev/null
@@ -0,0 +1 @@
+snf_pithos_backend.egg-info/*
diff --git a/snf-pithos-backend/debian/compat b/snf-pithos-backend/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/snf-pithos-backend/debian/control b/snf-pithos-backend/debian/control
new file mode 100644 (file)
index 0000000..2fabac7
--- /dev/null
@@ -0,0 +1,16 @@
+Source: snf-pithos-backend
+Section: python
+Priority: optional
+Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
+Build-Depends: debhelper (>= 8), python-all (>= 2.5)
+Standards-Version: 3.9.2
+XS-Python-Version: >= 2.6
+Homepage: https://code.grnet.gr/projects/synnefo
+
+Package: snf-pithos-backend
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, snf-common, snf-pithos-lib
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Synnefo common package
+
diff --git a/snf-pithos-backend/debian/copyright b/snf-pithos-backend/debian/copyright
new file mode 100644 (file)
index 0000000..84e2d9f
--- /dev/null
@@ -0,0 +1,44 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
+Upstream-Name: snf-pithos-backend
+Upstream-Contact: GRNET development team <pithos@lists.grnet.gr>
+Source: https://code.grnet.gr/projects/pithos
+
+Files: *
+Copyright: Copyright (C) 2011, 2012 GRNET S.A.
+Licence: BSD-2-clause
+
+Licence: BSD-2-clause
+ Redistribution and use in source and binary forms, with or
+ without modification, are permitted provided that the following
+ conditions are met:
+ .
+ 1. Redistributions of source code must retain the above
+    copyright notice, this list of conditions and the following
+    disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials
+    provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ The views and conclusions contained in the software and
+ documentation are those of the authors and should not be
+ interpreted as representing official policies, either expressed
+ or implied, of GRNET S.A.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/BSD'.
diff --git a/snf-pithos-backend/debian/dirs b/snf-pithos-backend/debian/dirs
new file mode 100644 (file)
index 0000000..2a3b84c
--- /dev/null
@@ -0,0 +1,3 @@
+usr/share/synnefo
+usr/share/synnefo/pithos
+usr/share/synnefo/pithos/data
diff --git a/snf-pithos-backend/debian/gbp.conf b/snf-pithos-backend/debian/gbp.conf
new file mode 100644 (file)
index 0000000..56cbd9a
--- /dev/null
@@ -0,0 +1,9 @@
+[DEFAULT]
+sign-tags = False
+pristine-tar = False
+
+[git-buildpackage]
+export-dir = ../../build-area/
+tarball-dir = ../../tarballs/
+debian-branch = debian-0.8
+upstream-branch = master
diff --git a/snf-pithos-backend/debian/pydist-overrides b/snf-pithos-backend/debian/pydist-overrides
new file mode 100644 (file)
index 0000000..1c0b44e
--- /dev/null
@@ -0,0 +1,2 @@
+snf-common snf-common
+snf-pithos-lib snf-pithos-lib
diff --git a/snf-pithos-backend/debian/rules b/snf-pithos-backend/debian/rules
new file mode 100755 (executable)
index 0000000..78d1917
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@ --with python2
+
+package=snf-pithos-backend
+config_lvl=10
+
+override_dh_auto_install:
+       dh_auto_install
+       
+       mkdir -p debian/$(package)/etc/synnefo
+
+       cp pithos/backends/settings.py \
+                       debian/$(package)/etc/synnefo/10-snf-pithos-backend_backends.conf;
+       sed -i 's/^/#/' debian/$(package)/etc/synnefo/*.conf;
+
+
+       for py in $(shell pyversions -vr debian/control); do \
+               rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
+       done
+
diff --git a/snf-pithos-backend/debian/source/format b/snf-pithos-backend/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
index 8b0b9a2..b91c0c4 100644 (file)
@@ -45,5 +45,5 @@ def connect_backend(**kwargs):
     finally:
         # Restore warnings.
         warnings.filters = original_filters
-
+    
     return backend
diff --git a/snf-pithos-lib/debian/changelog b/snf-pithos-lib/debian/changelog
new file mode 100644 (file)
index 0000000..f8b6b4e
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-lib (0.8.3-1) stable; urgency=low
+
+  * Initial Debian packaging for snf-pithos-lib v0.8.3.
+
+ -- Vangelis Koukis <vkoukis@grnet.gr>  Tue, 07 Feb 2012 15:53:40 +0200
diff --git a/snf-pithos-lib/debian/clean b/snf-pithos-lib/debian/clean
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/snf-pithos-lib/debian/compat b/snf-pithos-lib/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/snf-pithos-lib/debian/control b/snf-pithos-lib/debian/control
new file mode 100644 (file)
index 0000000..d2e615d
--- /dev/null
@@ -0,0 +1,16 @@
+Source: snf-pithos-lib
+Section: python
+Priority: optional
+Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
+Build-Depends: debhelper (>= 8), python-all (>= 2.5)
+Standards-Version: 3.9.2
+XS-Python-Version: >= 2.6
+Homepage: https://code.grnet.gr/projects/pithos
+
+Package: snf-pithos-lib
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Pithos library
+
diff --git a/snf-pithos-lib/debian/copyright b/snf-pithos-lib/debian/copyright
new file mode 100644 (file)
index 0000000..ad9fde1
--- /dev/null
@@ -0,0 +1,44 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
+Upstream-Name: snf-pithos-lib
+Upstream-Contact: GRNET development team <pithos@lists.grnet.gr>
+Source: https://code.grnet.gr/projects/pithos
+
+Files: *
+Copyright: Copyright (C) 2011, 2012 GRNET S.A.
+Licence: BSD-2-clause
+
+Licence: BSD-2-clause
+ Redistribution and use in source and binary forms, with or
+ without modification, are permitted provided that the following
+ conditions are met:
+ .
+ 1. Redistributions of source code must retain the above
+    copyright notice, this list of conditions and the following
+    disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials
+    provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ The views and conclusions contained in the software and
+ documentation are those of the authors and should not be
+ interpreted as representing official policies, either expressed
+ or implied, of GRNET S.A.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/BSD'.
diff --git a/snf-pithos-lib/debian/dirs b/snf-pithos-lib/debian/dirs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/snf-pithos-lib/debian/gbp.conf b/snf-pithos-lib/debian/gbp.conf
new file mode 100644 (file)
index 0000000..56cbd9a
--- /dev/null
@@ -0,0 +1,9 @@
+[DEFAULT]
+sign-tags = False
+pristine-tar = False
+
+[git-buildpackage]
+export-dir = ../../build-area/
+tarball-dir = ../../tarballs/
+debian-branch = debian-0.8
+upstream-branch = master
diff --git a/snf-pithos-lib/debian/pydist-overrides b/snf-pithos-lib/debian/pydist-overrides
new file mode 100644 (file)
index 0000000..f2d2f82
--- /dev/null
@@ -0,0 +1 @@
+snf-common snf-common
diff --git a/snf-pithos-lib/debian/rules b/snf-pithos-lib/debian/rules
new file mode 100755 (executable)
index 0000000..bd6403b
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@ --with python2
+
+package=snf-pithos-lib
+
+override_dh_auto_install:
+       dh_auto_install
+       
+       # this package provides the synnefo namespace __init__.py
+       for py in $(shell pyversions -vr debian/control); do \
+               cp pithos/__init__.py debian/$(package)/usr/lib/python$$py/*-packages/pithos/; \
+       done
+       
+       for py in $(shell pyversions -vr debian/control); do \
+               rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
+       done
+
diff --git a/snf-pithos-lib/debian/source/format b/snf-pithos-lib/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/snf-pithos-tools/debian/changelog b/snf-pithos-tools/debian/changelog
new file mode 100644 (file)
index 0000000..d0454e3
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-tools (0.8.3-1) stable; urgency=low
+
+  * Initial Debian packaging for snf-pithos-tools v0.8.3.
+
+ -- Vangelis Koukis <vkoukis@grnet.gr>  Tue, 07 Feb 2012 15:54:27 +0200
diff --git a/snf-pithos-tools/debian/clean b/snf-pithos-tools/debian/clean
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/snf-pithos-tools/debian/compat b/snf-pithos-tools/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/snf-pithos-tools/debian/control b/snf-pithos-tools/debian/control
new file mode 100644 (file)
index 0000000..0e0e7ec
--- /dev/null
@@ -0,0 +1,16 @@
+Source: snf-pithos-tools
+Section: python
+Priority: optional
+Maintainer: Vangelis Koukis <vkoukis@grnet.gr>
+Build-Depends: debhelper (>= 8), python-all (>= 2.5)
+Standards-Version: 3.9.2
+XS-Python-Version: >= 2.6
+Homepage: https://code.grnet.gr/projects/synnefo
+
+Package: snf-pithos-tools
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, snf-pithos-lib
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Synnefo pithos tools
+
diff --git a/snf-pithos-tools/debian/copyright b/snf-pithos-tools/debian/copyright
new file mode 100644 (file)
index 0000000..810e38c
--- /dev/null
@@ -0,0 +1,44 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174&view=co
+Upstream-Name: snf-pithos-tools
+Upstream-Contact: GRNET development team <pithos@lists.grnet.gr>
+Source: https://code.grnet.gr/projects/pithos
+
+Files: *
+Copyright: Copyright (C) 2011, 2012 GRNET S.A.
+Licence: BSD-2-clause
+
+Licence: BSD-2-clause
+ Redistribution and use in source and binary forms, with or
+ without modification, are permitted provided that the following
+ conditions are met:
+ .
+ 1. Redistributions of source code must retain the above
+    copyright notice, this list of conditions and the following
+    disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions and the following
+    disclaimer in the documentation and/or other materials
+    provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ .
+ The views and conclusions contained in the software and
+ documentation are those of the authors and should not be
+ interpreted as representing official policies, either expressed
+ or implied, of GRNET S.A.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/BSD'.
diff --git a/snf-pithos-tools/debian/dirs b/snf-pithos-tools/debian/dirs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/snf-pithos-tools/debian/gbp.conf b/snf-pithos-tools/debian/gbp.conf
new file mode 100644 (file)
index 0000000..56cbd9a
--- /dev/null
@@ -0,0 +1,9 @@
+[DEFAULT]
+sign-tags = False
+pristine-tar = False
+
+[git-buildpackage]
+export-dir = ../../build-area/
+tarball-dir = ../../tarballs/
+debian-branch = debian-0.8
+upstream-branch = master
diff --git a/snf-pithos-tools/debian/pydist-overrides b/snf-pithos-tools/debian/pydist-overrides
new file mode 100644 (file)
index 0000000..1c0b44e
--- /dev/null
@@ -0,0 +1,2 @@
+snf-common snf-common
+snf-pithos-lib snf-pithos-lib
diff --git a/snf-pithos-tools/debian/rules b/snf-pithos-tools/debian/rules
new file mode 100755 (executable)
index 0000000..789ebc7
--- /dev/null
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@ --with python2
+
+package=snf-pithos-tools
+
+override_dh_auto_install:
+       dh_auto_install
+       
+       for py in $(shell pyversions -vr debian/control); do \
+               rm debian/$(package)/usr/lib/python$$py/*-packages/*-nspkg.pth; \
+       done
+
diff --git a/snf-pithos-tools/debian/source/format b/snf-pithos-tools/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
index 123ff4f..770b0c2 100644 (file)
@@ -63,7 +63,13 @@ PACKAGES_ROOT = '.'
 PACKAGES = find_packages(PACKAGES_ROOT)
 
 # Package meta
-CLASSIFIERS = []
+CLASSIFIERS=[
+    'Development Status :: 3 - Alpha',
+    'Operating System :: OS Independent',
+    'Programming Language :: Python',
+    'Topic :: Utilities',
+    'License :: OSI Approved :: BSD License',
+],
 
 # Package requirements
 INSTALL_REQUIRES = [