Merge branch 'packaging' into debian-0.8
authorKostas Papadimitriou <kpap@grnet.gr>
Mon, 23 Jan 2012 13:39:01 +0000 (15:39 +0200)
committerKostas Papadimitriou <kpap@grnet.gr>
Mon, 23 Jan 2012 13:39:01 +0000 (15:39 +0200)
43 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/rules [new file with mode: 0755]
snf-pithos-app/debian/source/format [new file with mode: 0644]
snf-pithos-app/pithos/api/version.py [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/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-backend/pithos/backends/version.py [new file with mode: 0644]
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/rules [new file with mode: 0755]
snf-pithos-lib/debian/source/format [new file with mode: 0644]
snf-pithos-lib/pithos/lib/version.py [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/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 7557f7f..0ae843f 100644 (file)
@@ -53,12 +53,12 @@ env.roledefs = {
     'pypi': ['docs.dev.grnet.gr']
 }
 
+
 # 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
 
@@ -94,7 +94,6 @@ def build_pkg(p):
 def install_pkg(p):
     info("installing package: %s" % p)
     with lcd(package_root(p)):
-        print local('pwd');
         if env.develop:
             local("python setup.py develop")
         else:
@@ -161,11 +160,40 @@ def co(c):
 # Debian packaging helpers
 #
 
+env.debian_branch = 'debian-0.8'
+
+def _last_commit(f):
+    return local("git rev-list --all --date-order --max-count=1 %s" % f,
+            capture=True).strip()
+
+def _diff_from_master(c,f):
+    return local("git log --oneline %s..master %s" \
+                 " | wc -l" % (c, f), capture=True)
+
+def dch(p):
+    with co(env.debian_branch):
+        local("git merge master")
+        with lcd(package_root(p)):
+            local("ls .git || mkdir .git")
+
+            # check for new changes in package dir
+            diff = _diff_from_master(_last_commit("debian/changelog"), ".")
+            vercmd  = "git describe --tags --abbrev=0 "\
+                      " | sed -rn '\''s/^v(.*)/\\1/p'\''"
+            version = local(vercmd, capture=True)
+            if int(diff) > 0:
+                local("git-dch --debian-branch=%s --auto " \
+                      "--spawn-editor=always -N%s" % (env.debian_branch, version))
+                local("git commit debian/changelog " \
+                      "-m 'Updated %s changelog'" % p)
+
+            local("rm -r .git")
 
 def builddeb(p, master="master", branch="debian-0.8"):
     with lcd(package_root(p)):
+        local("git merge master")
         with settings(warn_only=True):
-            local("mkdir .git")
+            local("ls .git || mkdir .git")
             local("python setup.py clean")
             local("git add synnefo/versions/*.py -f")
             local("git-buildpackage --git-upstream-branch=%s --git-debian-branch=%s \
diff --git a/snf-pithos-app/debian/changelog b/snf-pithos-app/debian/changelog
new file mode 100644 (file)
index 0000000..f246fc7
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-app (0.8.2-1) UNRELEASED; urgency=low
+
+  * New upstream version.
+
+ -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
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/rules b/snf-pithos-app/debian/rules
new file mode 100755 (executable)
index 0000000..a617da6
--- /dev/null
@@ -0,0 +1,21 @@
+#!/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;  \
+
+       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-app/pithos/api/version.py b/snf-pithos-app/pithos/api/version.py
new file mode 100644 (file)
index 0000000..cae572b
--- /dev/null
@@ -0,0 +1,4 @@
+
+__version__ = ""
+__version_info__ = __version__.split(".")
+    
\ No newline at end of file
diff --git a/snf-pithos-backend/debian/changelog b/snf-pithos-backend/debian/changelog
new file mode 100644 (file)
index 0000000..9c38718
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-backend (0.8.2-1) UNRELEASED; urgency=low
+
+  * New upstream version.
+
+ -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
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..4886e84
--- /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
+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..9afd01b
--- /dev/null
@@ -0,0 +1 @@
+etc/synnefo
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/rules b/snf-pithos-backend/debian/rules
new file mode 100755 (executable)
index 0000000..ea81f93
--- /dev/null
@@ -0,0 +1,20 @@
+#!/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;  \
+
+       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 5a12c15..49309a3 100644 (file)
@@ -45,5 +45,5 @@ def connect_backend(**kwargs):
     finally:
         # Restore warnings.
         warnings.filters = original_filters
-
+    
     return backend
diff --git a/snf-pithos-backend/pithos/backends/version.py b/snf-pithos-backend/pithos/backends/version.py
new file mode 100644 (file)
index 0000000..cae572b
--- /dev/null
@@ -0,0 +1,4 @@
+
+__version__ = ""
+__version_info__ = __version__.split(".")
+    
\ No newline at end of file
diff --git a/snf-pithos-lib/debian/changelog b/snf-pithos-lib/debian/changelog
new file mode 100644 (file)
index 0000000..919c8e7
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-lib (0.8.2-1) UNRELEASED; urgency=low
+
+  * New upstream version.
+
+ -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
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/rules b/snf-pithos-lib/debian/rules
new file mode 100755 (executable)
index 0000000..93855fe
--- /dev/null
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@ --with python2
+
+package=snf-pithos-lib
+config_lvl=00
+
+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-lib/pithos/lib/version.py b/snf-pithos-lib/pithos/lib/version.py
new file mode 100644 (file)
index 0000000..cae572b
--- /dev/null
@@ -0,0 +1,4 @@
+
+__version__ = ""
+__version_info__ = __version__.split(".")
+    
\ No newline at end of file
diff --git a/snf-pithos-tools/debian/changelog b/snf-pithos-tools/debian/changelog
new file mode 100644 (file)
index 0000000..171a8ca
--- /dev/null
@@ -0,0 +1,5 @@
+snf-pithos-tools (0.8.2-1) UNRELEASED; urgency=low
+
+  * New upstream version.
+
+ -- Kostas Papadimitriou <kpap@grnet.gr>  Fri, 13 Jan 2012 16:44:01 +0300
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/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 = [