diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-01-01 19:19:44 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-01-01 19:19:44 +0200 |
commit | fc5bbff3bc0362e813691b82bb3d8c889d3dd8fa (patch) | |
tree | 0eae7aebe802af3b0168315e0e791e3d2cb6ed08 | |
parent | d091e5f9cdab5c9b28f4a497a102c26193c4ca47 (diff) | |
download | summain-fc5bbff3bc0362e813691b82bb3d8c889d3dd8fa.tar.gz |
Add setup.py for Python distutils, and debian/* for
.deb packaging.
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rw-r--r-- | debian/copyright | 23 | ||||
-rw-r--r-- | debian/pycompat | 1 | ||||
-rwxr-xr-x | debian/rules | 3 | ||||
-rw-r--r-- | setup.py | 31 |
7 files changed, 79 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6420692 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +summain (0.0) karmic; urgency=low + + * Initial packaging. + + -- Lars Wirzenius <liw@liw.fi> Thu, 17 Sep 2009 23:12:44 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b4cf5ba --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: summain +Maintainer: Lars Wirzenius <liw@liw.fi> +Section: misc +Priority: optional +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7.3.8), python-support (>= 1.0.3), python (>= 2.5) + +Package: summain +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python (>= 2.5) +Description: create file manifests with checksums + Summain generates file manifests, which contain metadata about the files, + and a checksum of their content for regular files. The manifest can be + generated for a directory tree at different points in time and compared + (with diff) to see if something has changed. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..90f5b03 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,23 @@ +Summain was originally written Lars Wirzenius <liw@liw.fi>. + +All of the code is currently owned by Lars Wirzenius and licensed under +the GNU GPL version 3, or later version. + + Copyright (C) 2009 Lars Wirzenius <liw@liw.fi> + + 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 the GPL version 3 in +/usr/share/common-licenses/GPL-3. + diff --git a/debian/pycompat b/debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cbe925d --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..35dcb6d --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +# setup.py - distutils module for Dimbola +# Copyright (C) 2009 Lars Wirzenius <liw@liw.fi> +# +# 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/>. + + +from distutils.core import setup + +setup(name='summain', + version='0.0', + description='file manifest and checksum generator', + author='Lars Wirzenius', + author_email='liw@liw.fi', + py_modules=['summainlib'], + scripts=['summain'], + data_files=[ + ('share/man/man1', ['summain.1']), + ], + ) + |