Skip to content
Browse files

Debianize Supybot and update version to 0.83.4.1+limnoria1.

  • Loading branch information...
1 parent fb66be5 commit fe16aae560c87fcc80d3815d305e16eb939c1597 @ProgVal committed
Showing with 139 additions and 2,860 deletions.
  1. +3 −0 .gitignore
  2. +36 −0 Makefile
  3. +5 −0 debian/changelog
  4. +23 −0 debian/control
  5. +45 −0 debian/copyright
  6. +3 −0 debian/postinst
  7. +3 −0 debian/prerm
  8. +11 −0 debian/rules
  9. +0 −2,858 plugins/RSS/local/feedparser.py
  10. +9 −1 setup.py
  11. +1 −1 src/version.py
View
3 .gitignore
@@ -10,3 +10,6 @@ docs/plugins
*.swo
*~
*.mo
+debian/limnoria*
+debian/python-module-stampdir/
+dist/
View
36 Makefile
@@ -0,0 +1,36 @@
+PYTHON=`which python`
+DESTDIR=/
+BUILDIR=$(CURDIR)/debian/limnoria
+PROJECT=limnoria
+VERSION=0.83.4.1+limnoria1
+
+all:
+ @echo "make source - Create source package"
+ @echo "make install - Install on local system"
+ @echo "make buildrpm - Generate a rpm package"
+ @echo "make builddeb - Generate a deb package"
+ @echo "make clean - Get rid of scratch and byte files"
+
+source:
+ $(PYTHON) setup.py sdist $(COMPILE)
+
+install:
+ $(PYTHON) setup.py install --root $(DESTDIR) $(COMPILE)
+
+buildrpm:
+ $(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
+
+builddeb:
+ # build the source package in the parent directory
+ # then rename it to project_version.orig.tar.gz
+ $(PYTHON) setup.py sdist $(COMPILE) --dist-dir=../ --prune
+ rename -f 's/$(PROJECT)-(.*)\.tar\.gz/$(PROJECT)_$$1\.orig\.tar\.gz/' ../*
+ # build the package
+ dpkg-buildpackage -i -I -rfakeroot
+
+clean:
+ $(PYTHON) setup.py clean
+ $(MAKE) -f $(CURDIR)/debian/rules clean
+ rm -rf build/ MANIFEST
+ find . -name '*.pyc' -delete
+
View
5 debian/changelog
@@ -0,0 +1,5 @@
+limnoria (0.83.4.1+limnoria1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Valentin Lorentz <progval@gmail.com> Sun, 21 Aug 2011 20:58:51 +0200
View
23 debian/control
@@ -0,0 +1,23 @@
+Source: limnoria
+Section: net
+Priority: optional
+Maintainer: Valentin Lorentz <progval@gmail.com>
+Build-Depends: debhelper (>=3.9.2), python-support (>= 0.6), cdbs (>= 0.4.49), python (>=2.6), python-setuptools
+XS-Python-Version: >=2.6
+Standards-Version: 3.9.2
+
+Package: limnoria
+Architecture: all
+Depends: python (>= 2.6), python-support (>= 0.90.0), ${misc:Depends}
+Recommends: python-simplejson, python-feedparser, python-sqlite3
+Suggests: python-twisted-core, python-twisted-names, python-dictclient, python-dateutil
+Conflicts: supybot
+Provides: supybot
+Section: net
+Priority: optional
+Homepage: https://github.com/ProgVal/Limnoria
+Description: Fork of the robust and user-friendly Python IRC bot Supybot.
+ It provides several enhancements, such as internationalization and
+ embedded HTTP server available to plugins. All plugins written for
+ Supybot are still compatible with Limnoria.
+
View
45 debian/copyright
@@ -0,0 +1,45 @@
+Upstream Author:
+
+ Jeremiah Fincher and others
+
+Files: *
+Copyright:
+ 2002-2011 Jeremiah Fincher and others
+License: BSD
+
+Files: debian/*
+Copyright:
+ 2002-2009, James Vega
+ 2011, Valentin Lorentz
+License: BSD
+
+License: BSD
+
+Copyright (c) 2002-2009 Jeremiah Fincher and others
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions, and the following disclaimer.
+ * 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.
+ * Neither the name of the author of this software nor the name of
+ contributors to this software may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT OWNER 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.
+
+Portions of the included source code are copyright by its original author(s)
+and remain subject to its associated license.
View
3 debian/postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
View
3 debian/prerm
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
View
11 debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+DEB_PYTHON_SYSTEM := pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+clean::
+ rm -rf build build-stamp configure-stamp build/ MANIFEST
+ dh_clean
View
2,858 plugins/RSS/local/feedparser.py
0 additions, 2,858 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
10 setup.py
@@ -169,7 +169,15 @@ def normalizeWhitespace(s):
'scripts/supybot-adduser',
'scripts/supybot-plugin-doc',
'scripts/supybot-plugin-create',
- ]
+ ],
+ data_files=[('share/man/man1', ['docs/man/supybot.1']),
+ ('share/man/man1', ['docs/man/supybot-test.1']),
+ ('share/man/man1', ['docs/man/supybot-botchk.1']),
+ ('share/man/man1', ['docs/man/supybot-wizard.1']),
+ ('share/man/man1', ['docs/man/supybot-adduser.1']),
+ ('share/man/man1', ['docs/man/supybot-plugin-doc.1']),
+ ('share/man/man1', ['docs/man/supybot-plugin-create.1']),
+ ]
)
View
2 src/version.py
@@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change
them once."""
-version = '0.83.4.1+limnoria (2011-08-18T11:07:25+0200)'
+version = '0.83.4.1+limnoria1'

0 comments on commit fe16aae

Please sign in to comment.
Something went wrong with that request. Please try again.