Skip to content

Commit

Permalink
v2.1.2.13: documentation and exception handling fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Kwpolska <[email protected]>
  • Loading branch information
Kwpolska committed Nov 12, 2011
1 parent 80a89e0 commit b78f88c
Show file tree
Hide file tree
Showing 13 changed files with 24 additions and 22 deletions.
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: Kwpolska <[email protected]>
pkgname=pkgbuilder
pkgver=2.1.2.12
pkgver=2.1.2.13
pkgrel=1
pkgdesc="A basic Python AUR helper/library."
arch=('any')
Expand All @@ -9,7 +9,7 @@ license=('BSD')
depends=('python' 'pyalpm>=0.5.1-1' 'python-pyparsing' 'pacman>=4.0.0-1')
options=(!emptydirs)
source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('7d9a0c7cc9010cb21d691b4799554d20')
md5sums=('171434d2f351f855f9011bfe75632a1a')

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ README for PKGBUILDer
=====================
:Info: This is the README file for PKGBUILDer.
:Author: Kwpolska <[email protected]>
:Date: 2011-11-11
:Version: 2.1.2.12
:Date: 2011-11-12
:Version: 2.1.2.13

PKGBUILDer. A Python AUR helper/library.
=========================================
Expand Down
Binary file added dist/pkgbuilder-2.1.2.13.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/LICENSE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Appendix B. License for PKGBUILDer
==================================
:Info: This is an appendix to the PKGBUILDer documentation.
:Author: Kwpolska <[email protected]>
:Date: 2011-11-11
:Version: 2.1.2.12
:Date: 2011-11-12
:Version: 2.1.2.13

Copyright (C) 2011, Kwpolska
All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ README for PKGBUILDer
=====================
:Info: This is the README file for PKGBUILDer.
:Author: Kwpolska <[email protected]>
:Date: 2011-11-11
:Version: 2.1.2.12
:Date: 2011-11-12
:Version: 2.1.2.13

PKGBUILDer. A Python AUR helper/library.
=========================================
Expand Down
4 changes: 2 additions & 2 deletions docs/classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Classes in PKGBUILDer

:Author: Kwpolska
:Copyright: See Appendix B.
:Date: 2011-11-11
:Version: 2.1.2.12
:Date: 2011-11-12
:Version: 2.1.2.13

.. index:: classes
.. module:: PKGBUILDer
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '2.1'
version = '2.1.2'
# The full version, including alpha/beta/rc tags.
release = '2.1.2.12'
release = '2.1.2.13'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions docs/messagecodes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Appendix A. PKGBUILDer message numbers list
===========================================
:Info: This is an appendix to the PKGBUILDer documentation.
:Author: Kwpolska <[email protected]>
:Date: 2011-11-11
:Version: 2.1.2.12
:Date: 2011-11-12
:Version: 2.1.2.13

In order to help debugging, messages are numbered.
Each message number has four digits: the first one is the
Expand Down
Binary file modified docs/pkgbuilder.8.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/pkgbuilder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PKGBUILDer

:Author: Kwpolska <[email protected]>
:Copyright: See Appendix B.
:Date: 2011-11-11
:Version: 2.1.2.12
:Date: 2011-11-12
:Version: 2.1.2.13
:Manual section: 8
:Manual group: PKGBUILDer manual

Expand Down
10 changes: 6 additions & 4 deletions pkgbuilder.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/python3
# PKGBUILDer v2.1.2.12
# PKGBUILDer v2.1.2.13
# A Python AUR helper/library.
# Copyright (C) 2011, Kwpolska
# All rights reserved.
Expand Down Expand Up @@ -52,7 +52,7 @@
import functools
import logging

VERSION = '2.1.2.12'
VERSION = '2.1.2.13'

### PBDS PB global data storage ###
class PBDS:
Expand Down Expand Up @@ -193,10 +193,12 @@ def __init__(self, msg):
:Arguments: a message."""
self.msg = msg
L.exception(text)
L.exception(self.msg)

def __str__(self):
"""You want to see error messages, don't you?"""
"""You want to see error messages, don't you?
:Returns: the error message."""
return self.msg

### AUR AUR RPC calls ###
Expand Down
2 changes: 1 addition & 1 deletion scripts/pkgbuilder
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# This file is a part of PKGBUILDer.
# File version: 2.1.2.12
# File version: 2.1.2.13
#
# Copyright (C) 2011, Kwpolska
# All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from distutils.core import setup

setup(name='pkgbuilder',
version='2.1.2.12',
version='2.1.2.13',
description='An AUR helper (and library) in python3',
author='Kwpolska',
author_email='[email protected]',
Expand Down

0 comments on commit b78f88c

Please sign in to comment.