From fc5bbff3bc0362e813691b82bb3d8c889d3dd8fa Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 1 Jan 2010 19:19:44 +0200 Subject: Add setup.py for Python distutils, and debian/* for .deb packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/copyright | 23 +++++++++++++++++++++++ debian/pycompat | 1 + debian/rules | 3 +++ setup.py | 31 +++++++++++++++++++++++++++++++ 7 files changed, 79 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/pycompat create mode 100755 debian/rules create mode 100644 setup.py 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 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 +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 . + +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 + + 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 . + +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 +# +# 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 . + + +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']), + ], + ) + -- cgit v1.2.1