[Python-apps-commits] r656 - in packages/pyclamd/trunk (6 files)

rainct-guest at users.alioth.debian.org rainct-guest at users.alioth.debian.org
Sat Feb 16 19:58:25 UTC 2008


    Date: Saturday, February 16, 2008 @ 19:58:23
  Author: rainct-guest
Revision: 656

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/pyclamd/trunk/debian/
  packages/pyclamd/trunk/debian/changelog
  packages/pyclamd/trunk/debian/compat
  packages/pyclamd/trunk/debian/control
  packages/pyclamd/trunk/debian/copyright
  packages/pyclamd/trunk/debian/rules


Property changes on: packages/pyclamd/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/pyclamd/trunk/debian/changelog
===================================================================
--- packages/pyclamd/trunk/debian/changelog	                        (rev 0)
+++ packages/pyclamd/trunk/debian/changelog	2008-02-16 19:58:23 UTC (rev 656)
@@ -0,0 +1,5 @@
+pyclamd (0.1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: 466133).
+
+ -- Siegfried-Angel Gevatter Pujals (RainCT) <rainct at ubuntu.com>  Sat, 16 Feb 2008 14:38:01 +0100

Added: packages/pyclamd/trunk/debian/compat
===================================================================
--- packages/pyclamd/trunk/debian/compat	                        (rev 0)
+++ packages/pyclamd/trunk/debian/compat	2008-02-16 19:58:23 UTC (rev 656)
@@ -0,0 +1 @@
+5

Added: packages/pyclamd/trunk/debian/control
===================================================================
--- packages/pyclamd/trunk/debian/control	                        (rev 0)
+++ packages/pyclamd/trunk/debian/control	2008-02-16 19:58:23 UTC (rev 656)
@@ -0,0 +1,18 @@
+Source: pyclamd
+Section: python
+Priority: optional
+Maintainer: Siegfried-Angel Gevatter Pujals (RainCT) <rainct at ubuntu.com>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Homepage: http://xael.org/norman/python/pyclamd/
+Vcs-Svn: svn://svn.debian.org/python-apps/packages/pyclamd/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-apps/packages/pyclamd/trunk/?op=log
+Build-Depends: cdbs, debhelper (>= 5)
+Build-Depends-Indep: python-support (>= 0.5.3)
+Standards-Version: 3.7.3
+
+Package: python-pyclamd
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, clamav-daemon
+Description: Python interface to the ClamAV daemon
+ This package adds virus detection capabilities to Python software in
+ an efficient and easy way, thanks to the ClamAV antivirus toolkit.

Added: packages/pyclamd/trunk/debian/copyright
===================================================================
--- packages/pyclamd/trunk/debian/copyright	                        (rev 0)
+++ packages/pyclamd/trunk/debian/copyright	2008-02-16 19:58:23 UTC (rev 656)
@@ -0,0 +1,31 @@
+This package was debianized by Siegfried-Angel Gevatter Pujals (RainCT)
+<rainct at ubuntu.com> on Fri, 15 Feb 2008 21:58:24 +0100.
+
+The tarball was automatically generated by an get-orig-source rule that
+downloads the necessary files from http://xael.org/norman/python/pyclamd/.
+
+Upstream Author:
+
+    Alexandre Norman <norman at xael.org>
+
+Copyright:
+
+    Copyright (C) 2006 Alexandre Norman <norman at xael.org>
+
+License:
+
+    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 2 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.
+
+    On Debian systems, the complete text of the GNU General Public
+    License can be found in /usr/share/common-licenses/GPL.
+
+The Debian packaging is (C) 2008, Siegfried-Angel Gevatter Pujals (RainCT)
+<rainct at ubuntu.com> and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/pyclamd/trunk/debian/rules
===================================================================
--- packages/pyclamd/trunk/debian/rules	                        (rev 0)
+++ packages/pyclamd/trunk/debian/rules	2008-02-16 19:58:23 UTC (rev 656)
@@ -0,0 +1,34 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+# Variables for the get-orig-source rule
+VERSION=$(shell dpkg-parsechangelog | sed -n -e'/^ / { s/.*(\(.*\)).*/\1/; s/-[^-]*$$//; p; q }')
+BTMPDIR=/tmp/pyclamd-pkg-source
+STMPDIR=$(BTMPDIR)/pyclamd-$(VERSION)
+
+install/python-pyclamd::
+	dh_install pyclamd.py /usr/share/python-support/python-pyclamd/
+	dh_installchangelogs CHANGELOG
+
+binary-install/python-pyclamd::
+	dh_pysupport -ppython-pyclamd
+
+clean::
+	rm -f pyclamd.pyc
+	rm -rf $(BTMPDIR)
+
+get-orig-source::
+	rm -rf $(BTMPDIR); mkdir -p $(STMPDIR)
+	wget --quiet -O $(STMPDIR)/pyclamd.py http://xael.org/norman/python/pyclamd/pyclamd.py
+	sed -i "s/#!\/usr\/bin\/env python//g" $(STMPDIR)/pyclamd.py
+	sed -i "s/\/var\/run\/clamd/\/var\/run\/clamav\/clamd.ctl/g" $(STMPDIR)/pyclamd.py
+	wget --quiet -O $(STMPDIR)/TMPCHANGELOG http://xael.org/norman/python/pyclamd/CHANGELOG
+	grep -A99999 "CHANGELOG" $(STMPDIR)/TMPCHANGELOG > $(STMPDIR)/CHANGELOG
+	rm $(STMPDIR)/TMPCHANGELOG
+	cp /usr/share/common-licenses/GPL $(STMPDIR)/COPYING
+	cd $(BTMPDIR); tar -czvf $(CURDIR)/../pyclamd_$(VERSION).orig.tar.gz pyclamd-$(VERSION)
+	rm -r $(BTMPDIR)
+	# Tarball generated successfully.


Property changes on: packages/pyclamd/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Python-apps-commits mailing list