summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-06-29 16:40:07 +1200
committerLars Wirzenius <liw@liw.fi>2010-06-29 16:40:07 +1200
commit3652bf802132d8e38bff890534cbd30dd0f564b5 (patch)
treead4e579a0f5b2e77c3f60213eefdaf57812cf612
parent9ba141d0e7a2a0cb72ccee27247347160a5e1878 (diff)
downloadobnam-3652bf802132d8e38bff890534cbd30dd0f564b5.tar.gz
Add Debian packaging.
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control19
-rw-r--r--debian/copyright23
-rw-r--r--debian/pycompat1
-rwxr-xr-xdebian/rules11
-rw-r--r--debian/source/format1
-rw-r--r--obnamlib/__init__.py3
-rw-r--r--setup.py4
9 files changed, 67 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 00000000..01b7b708
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+obnam (0.10) squeeze; urgency=low
+
+ * Initial packaging. This is not intended to be uploaded to Debian, so
+ no closing of an ITP bug.
+
+ -- Lars Wirzenius <liw@liw.fi> Tue, 29 Jun 2010 16:21:31 +1200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 00000000..7f8f011e
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 00000000..ac3fc75a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: obnam
+Maintainer: Lars Wirzenius <liw@liw.fi>
+Section: python
+Priority: optional
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3),
+ python (>= 2.5), extrautils, python-coverage-test-runner,
+ python-btree (>= 0.10), python-all-dev, python-ttystatus
+Homepage: http://braawi.org/obnam/
+
+Package: obnam
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5),
+ python-btree (>= 0.10), python-ttystatus
+Description: online backup application
+ Obnam makes backups.
+ .
+ This Debian package description is woefully inadequate. Please help
+ me improve it.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 00000000..ca566b7e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: obnam
+Maintainer: Lars Wirzenius <liw@liw.fi>
+Source: http://braawi.org/obnam/
+
+Files: *
+Copyright: 2010, Lars Wirzenius
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On a Debian system, you can find a copy of GPL version 3 at
+ /usr/share/common-licenses/GPL-3 .
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644
index 00000000..0cfbf088
--- /dev/null
+++ b/debian/pycompat
@@ -0,0 +1 @@
+2
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 00000000..9f5fdf90
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with-buildsystem=python_distutils
+
+override_dh_auto_install:
+ python setup.py install --prefix=debian/#FIXME/usr
+
+override_dh_auto_build:
+ dh_auto_build $@ --with-buildsystem=python_distutils
+ setuppy-debian-versions-match
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 00000000..89ae9db8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/obnamlib/__init__.py b/obnamlib/__init__.py
index 0e8c04b3..79bb17ef 100644
--- a/obnamlib/__init__.py
+++ b/obnamlib/__init__.py
@@ -14,6 +14,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+version = '0.10'
+
+
import _obnam
from pluginmgr import PluginManager
diff --git a/setup.py b/setup.py
index f2d11dfb..e2953b0c 100644
--- a/setup.py
+++ b/setup.py
@@ -18,11 +18,11 @@
from distutils.core import setup, Extension
setup(name='obnam',
- version='0.0.0',
+ version='0.10',
description='Backup software',
author='Lars Wirzenius',
author_email='liw@liw.fi',
- url='http://braawi.org/obnam.html',
+ url='http://braawi.org/obnam/',
packages=['obnamlib'],
ext_modules=[Extension('_obnam', sources=['_obnammodule.c'])],
)