Skip to content
Browse files

v2.1.4.7: A lot of awesome changes (#8 #9 #10 #11 #12 #13 #14 #15 #16)

Signed-off-by: Kwpolska <kwpolska@gmail.com>
  • Loading branch information...
1 parent a18a1b5 commit 5b205a17c9bba742ebcbd4e026bee7d357cc15ea @Kwpolska committed Sep 28, 2012
View
8 CONTRIBUTING.rst
@@ -4,8 +4,8 @@ Appendix D. Contribution rules
:Author: Kwpolska <kwpolska@kwpolska.tk>
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
Do you want to contribute to this project? Great! I’d love to see some help,
but you need to comply with some easy rules.
@@ -16,6 +16,10 @@ Issue reporting
GitHub Issues are the best way to report an issue. If you do not have an
account there, get one or mail me.
+When pasting console sessions, please paste them fully, *prompt-to-prompt*, to
+see all the messages and your input. Trim only stuff that you are 1000% sure
+that is not related to the project in question.
+
Code contributions
==================
View
4 PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Kwpolska <kwpolska@kwpolska.tk>
pkgname=pkgbuilder
-pkgver=2.1.4.6
+pkgver=2.1.4.7
pkgrel=1
pkgdesc='A Python AUR helper/library.'
arch=('any')
@@ -9,7 +9,7 @@ license=('BSD')
depends=('python' 'pyalpm>=0.5.1-1' 'python-requests')
options=(!emptydirs)
source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('987ed30c5329d3f2ed6744adb9de0fc7')
+md5sums=('2bac7c6f85ee96cd5a1466d3d4eed1de')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
View
2 PKGBUILD-git
@@ -1,6 +1,6 @@
# Maintainer: Kwpolska <kwpolska@kwpolska.tk>
pkgname=pkgbuilder-git
-pkgver=20120923
+pkgver=20120928
pkgrel=1
pkgdesc='A Python AUR helper/library. Version from git.'
arch=('any')
View
4 README
@@ -3,8 +3,8 @@ PKGBUILDer. An AUR helper (and library) in Python 3.
=====================================================
:Info: This is the README file for PKGBUILDer.
:Author: Kwpolska <kwpolska@kwpolska.tk>
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. index: README
View
4 README.rst
@@ -3,8 +3,8 @@ PKGBUILDer. An AUR helper (and library) in Python 3.
=====================================================
:Info: This is the README file for PKGBUILDer.
:Author: Kwpolska <kwpolska@kwpolska.tk>
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. index: README
View
2 bin/pb
@@ -7,8 +7,10 @@ if sys.version_info[0] < 3:
print('Please revert that change.')
exit(1)
+import pkgbuilder
import pkgbuilder.wrapper
try:
pkgbuilder.wrapper.wrapper()
except KeyboardInterrupt:
+ print(pkgbuilder.DS.wrapperinttext + '\n') # for safety.
exit(0)
View
BIN dist/pkgbuilder-2.1.4.6.tar.gz
Binary file not shown.
View
BIN dist/pkgbuilder-2.1.4.7.tar.gz
Binary file not shown.
View
4 docs/CHANGELOG.rst
@@ -3,8 +3,8 @@ Appendix C. Changelog
=====================
:Info: This is a partial changelog for PKGBUILDer.
:Author: Kwpolska <kwpolska@kwpolska.tk>
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. index:: CHANGELOG
View
8 docs/CONTRIBUTING.rst
@@ -4,8 +4,8 @@ Appendix D. Contribution rules
:Author: Kwpolska <kwpolska@kwpolska.tk>
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
Do you want to contribute to this project? Great! I’d love to see some help,
but you need to comply with some easy rules.
@@ -16,6 +16,10 @@ Issue reporting
GitHub Issues are the best way to report an issue. If you do not have an
account there, get one or mail me.
+When pasting console sessions, please paste them fully, *prompt-to-prompt*, to
+see all the messages and your input. Trim only stuff that you are 1000% sure
+that is not related to the project in question.
+
Code contributions
==================
View
4 docs/LICENSE.rst
@@ -3,8 +3,8 @@ Appendix B. License for PKGBUILDer
==================================
:Info: This is an appendix to the PKGBUILDer documentation.
:Author: Kwpolska <kwpolska@kwpolska.tk>
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. index:: LICENSE
View
4 docs/README.rst
@@ -3,8 +3,8 @@ PKGBUILDer. An AUR helper (and library) in Python 3.
=====================================================
:Info: This is the README file for PKGBUILDer.
:Author: Kwpolska <kwpolska@kwpolska.tk>
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. index: README
View
4 docs/aur.rst
@@ -4,8 +4,8 @@ aur module (AUR class)
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. module:: aur
View
4 docs/build.rst
@@ -4,8 +4,8 @@ build module (Build class)
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. module:: build
View
2 docs/conf.py
@@ -50,7 +50,7 @@
# The short X.Y version.
version = '2.1.4'
# The full version, including alpha/beta/rc tags.
-release = '2.1.4.6'
+release = '2.1.4.7'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
View
4 docs/localization.rst
@@ -4,8 +4,8 @@ Appendix A. Localization Guide
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. index:: locale
View
4 docs/main.rst
@@ -4,8 +4,8 @@ main module
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. index:: main
.. versionadded:: 2.1.3.0
View
BIN docs/pb.8.gz
Binary file not shown.
View
4 docs/pb.rst
@@ -6,8 +6,8 @@ PBWrapper
:Author: Kwpolska <kwpolska@kwpolska.tk>
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or Appendix B.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
:Wrapper Version: 0.1.3
:Manual section: 8
:Manual group: PKGBUILDer manual
View
4 docs/pbds.rst
@@ -5,8 +5,8 @@ pbds module (PBDS class)
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. module: pbds
View
BIN docs/pkgbuilder.8.gz
Binary file not shown.
View
4 docs/pkgbuilder.rst
@@ -6,8 +6,8 @@ PKGBUILDer
:Author: Kwpolska <kwpolska@kwpolska.tk>
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or Appendix B.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
:Manual section: 8
:Manual group: PKGBUILDer manual
View
4 docs/upgrade.rst
@@ -5,8 +5,8 @@ upgrade module (Upgrade class)
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. module:: upgrade
View
4 docs/utils.rst
@@ -5,8 +5,8 @@ utils module (Utils class)
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
.. module:: utils
View
4 docs/wrapper.rst
@@ -4,8 +4,8 @@ PBWrapper
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-09-23
-:Version: 2.1.4.6
+:Date: 2012-09-28
+:Version: 2.1.4.7
:PBWrapper Version: 0.1.3
.. index:: wrapper
View
BIN locale/en/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
View
20 locale/en/LC_MESSAGES/pkgbuilder.po
@@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.4.6\n"
+"Project-Id-Version: 2.1.4.7\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-09-23 14:46+0200\n"
+"POT-Creation-Date: 2012-09-28 16:34+0200\n"
"PO-Revision-Date: 2012-09-08 12:44+0100\n"
"Last-Translator: Kwpolska <kwpolska@kwpolska.tk>\n"
"Language-Team: Kwpolska <kwpolska@kwpolska.tk>\n"
@@ -223,23 +223,29 @@ msgstr "Searching for exact match..."
msgid "not found"
msgstr "not found"
-#: pkgbuilder/pbds.py:49
+#. TRANSLATORS: see makepkg.
+#: pkgbuilder/pbds.py:50
msgid "Aborted by user! Exiting..."
msgstr "Aborted by user! Exiting..."
-#: pkgbuilder/pbds.py:85 pkgbuilder/pbds.py:170
+#. TRANSLATORS: see pacman.
+#: pkgbuilder/pbds.py:52
+msgid "Interrupt signal received\n"
+msgstr "Interrupt signal received\n"
+
+#: pkgbuilder/pbds.py:88 pkgbuilder/pbds.py:173
msgid "ERROR:"
msgstr "ERROR:"
-#: pkgbuilder/pbds.py:85
+#: pkgbuilder/pbds.py:88
msgid "Cannot create the configuration directory."
msgstr "Cannot create the configuration directory."
-#: pkgbuilder/pbds.py:87 pkgbuilder/pbds.py:156
+#: pkgbuilder/pbds.py:90 pkgbuilder/pbds.py:159
msgid "WARNING:"
msgstr "WARNING:"
-#: pkgbuilder/pbds.py:87
+#: pkgbuilder/pbds.py:90
msgid "Logs will not be created."
msgstr "Logs will not be created."
View
BIN locale/ja/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
View
23 locale/ja/LC_MESSAGES/pkgbuilder.po
@@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.4.6\n"
+"Project-Id-Version: 2.1.4.7\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-09-23 14:46+0200\n"
+"POT-Creation-Date: 2012-09-28 16:34+0200\n"
"PO-Revision-Date: 2012-09-21 20:21+0200\n"
"Last-Translator: Colin Woodbury <colingw@gmail.com>\n"
"Language-Team: Colin Woodbury <colingw@gmail.com>\n"
@@ -221,23 +221,29 @@ msgstr "完全一致を検索中・・・"
msgid "not found"
msgstr "見つからなかった"
-#: pkgbuilder/pbds.py:49
+#. TRANSLATORS: see makepkg.
+#: pkgbuilder/pbds.py:50
msgid "Aborted by user! Exiting..."
msgstr "ユーザーによる強制終了!"
-#: pkgbuilder/pbds.py:85 pkgbuilder/pbds.py:170
+#. TRANSLATORS: see pacman.
+#: pkgbuilder/pbds.py:52
+msgid "Interrupt signal received\n"
+msgstr ""
+
+#: pkgbuilder/pbds.py:88 pkgbuilder/pbds.py:173
msgid "ERROR:"
msgstr "エラー:"
-#: pkgbuilder/pbds.py:85
+#: pkgbuilder/pbds.py:88
msgid "Cannot create the configuration directory."
msgstr "設定ディレクトリ作れなかった。"
-#: pkgbuilder/pbds.py:87 pkgbuilder/pbds.py:156
+#: pkgbuilder/pbds.py:90 pkgbuilder/pbds.py:159
msgid "WARNING:"
msgstr "警告:"
-#: pkgbuilder/pbds.py:87
+#: pkgbuilder/pbds.py:90
msgid "Logs will not be created."
msgstr "ログは作られない。"
@@ -336,7 +342,8 @@ msgid ""
"\n"
"Additional options:\n"
" -L, --unlock unlock the pacman database"
-msgstr "使い方: {} <引数> [...]\n"
+msgstr ""
+"使い方: {} <引数> [...]\n"
"\n"
"{}はPacmanとPKGBUILDerを統一するスクリプト。\n"
"\n"
View
BIN locale/pl/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
View
23 locale/pl/LC_MESSAGES/pkgbuilder.po
@@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.4.6\n"
+"Project-Id-Version: 2.1.4.7\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-09-23 14:46+0200\n"
+"POT-Creation-Date: 2012-09-28 16:34+0200\n"
"PO-Revision-Date: 2012-09-08 12:44+0100\n"
"Last-Translator: Kwpolska <kwpolska@kwpolska.tk>\n"
"Language-Team: Kwpolska <kwpolska@kwpolska.tk>\n"
@@ -225,23 +225,29 @@ msgstr "Szukanie dokładnego dopasowania..."
msgid "not found"
msgstr "nie znaleziono"
-#: pkgbuilder/pbds.py:49
+#. TRANSLATORS: see makepkg.
+#: pkgbuilder/pbds.py:50
msgid "Aborted by user! Exiting..."
msgstr "Przerwane przez użytkownika! Kończenie..."
-#: pkgbuilder/pbds.py:85 pkgbuilder/pbds.py:170
+#. TRANSLATORS: see pacman.
+#: pkgbuilder/pbds.py:52
+msgid "Interrupt signal received\n"
+msgstr ""
+
+#: pkgbuilder/pbds.py:88 pkgbuilder/pbds.py:173
msgid "ERROR:"
msgstr "BŁĄD:"
-#: pkgbuilder/pbds.py:85
+#: pkgbuilder/pbds.py:88
msgid "Cannot create the configuration directory."
msgstr "Nie można utworzyć katalogu konfiguracji."
-#: pkgbuilder/pbds.py:87 pkgbuilder/pbds.py:156
+#: pkgbuilder/pbds.py:90 pkgbuilder/pbds.py:159
msgid "WARNING:"
msgstr "UWAGA:"
-#: pkgbuilder/pbds.py:87
+#: pkgbuilder/pbds.py:90
msgid "Logs will not be created."
msgstr "Logi nie będą tworzone."
@@ -340,7 +346,8 @@ msgid ""
"\n"
"Additional options:\n"
" -L, --unlock unlock the pacman database"
-msgstr "sposób użycia: {} <operacja> [...]\n"
+msgstr ""
+"sposób użycia: {} <operacja> [...]\n"
"\n"
"{}, wrapper dla pacmana i PKGBUILDera.\n"
"\n"
View
22 messages.pot
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.4.6\n"
+"Project-Id-Version: 2.1.4.7\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-09-23 14:46+0200\n"
-"PO-Revision-Date: 2012-09-23 14:46+0200\n"
+"POT-Creation-Date: 2012-09-28 16:34+0200\n"
+"PO-Revision-Date: 2012-09-28 16:34+0200\n"
"Last-Translator: Kwpolska <kwpolska@kwpolska.tk>\n"
"Language-Team: Kwpolska <kwpolska@kwpolska.tk>\n"
"Language: en\n"
@@ -221,23 +221,29 @@ msgstr ""
msgid "not found"
msgstr ""
-#: pkgbuilder/pbds.py:49
+#. TRANSLATORS: see makepkg.
+#: pkgbuilder/pbds.py:50
msgid "Aborted by user! Exiting..."
msgstr ""
-#: pkgbuilder/pbds.py:85 pkgbuilder/pbds.py:170
+#. TRANSLATORS: see pacman.
+#: pkgbuilder/pbds.py:52
+msgid "Interrupt signal received\n"
+msgstr ""
+
+#: pkgbuilder/pbds.py:88 pkgbuilder/pbds.py:173
msgid "ERROR:"
msgstr ""
-#: pkgbuilder/pbds.py:85
+#: pkgbuilder/pbds.py:88
msgid "Cannot create the configuration directory."
msgstr ""
-#: pkgbuilder/pbds.py:87 pkgbuilder/pbds.py:156
+#: pkgbuilder/pbds.py:90 pkgbuilder/pbds.py:159
msgid "WARNING:"
msgstr ""
-#: pkgbuilder/pbds.py:87
+#: pkgbuilder/pbds.py:90
msgid "Logs will not be created."
msgstr ""
View
4 pkgbuilder/__init__.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# All rights reserved.
@@ -44,7 +44,7 @@
"""
__title__ = 'PKGBUILDer'
-__version__ = '2.1.4.6'
+__version__ = '2.1.4.7'
__author__ = 'Kwpolska'
__license__ = '3-clause BSD'
__docformat__ = 'restructuredtext en'
View
2 pkgbuilder/aur.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
2 pkgbuilder/build.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
2 pkgbuilder/main.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
5 pkgbuilder/pbds.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
@@ -46,7 +46,10 @@ class PBDS():
'lib', 'modules', 'multimedia', 'network',
'office', 'science', 'system', 'x11',
'xfce', 'kernels']
+ # TRANSLATORS: see makepkg.
inttext = _('Aborted by user! Exiting...')
+ # TRANSLATORS: see pacman.
+ wrapperinttext = _('Interrupt signal received\n')
### STUFF NOT TO BE CHANGED BY HUMAN BEINGS. EVER.
mp1 = '=='
View
2 pkgbuilder/upgrade.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
2 pkgbuilder/utils.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
10 pkgbuilder/wrapper.py
@@ -1,7 +1,7 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
# PBWrapper v0.1.2
-# PKGBUILDer v2.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
+# PKGBUILDer v2.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.72.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.62.1.4.5
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
@@ -57,10 +57,10 @@ def wrapper(source='AUTO'):
' '.join(argst)) is not None)):
try:
os.remove('/var/lib/pacman/db.lck')
+ exit(0)
except OSError as e:
DS.fancy_error('[-L --unlock] ' + e.strerror)
-
- exit(0)
+ exit(1)
if (('-S' in argst) or ('--sync' in argst) or (re.search('-[a-zA-Z]*S',
' '.join(argst)) is not None)):
@@ -121,10 +121,10 @@ def wrapper(source='AUTO'):
dest=i)
for i in allshortc:
- parser.add_argument('-' + i, action='count', dest=i)
+ parser.add_argument('-' + i, action='count', default=0, dest=i)
for i in alllongc:
- parser.add_argument('--' + i, action='count', dest=i)
+ parser.add_argument('--' + i, action='count', default=0, dest=i)
for i in pacmanshorta:
parser.add_argument('-' + i, action='store', nargs=1,
View
8 release
@@ -76,13 +76,13 @@ for i in ./locale/*; do
msgmerge $popath messages.pot -o $popath
fuzzy=$(cat $popath | grep '#, fuzzy')
empty=$(cat $popath | pcregrep -M 'msgstr ""\n$')
- countf=$(echo $fuzzy | wc -l)
- counte=$(echo $empty | wc -l)
- if [ countf != 0 ]; then
+ countf=$(echo -n $fuzzy | wc -l)
+ counte=$(echo -n $empty | wc -l)
+ if [ $countf != '0' ]; then
echo "WARNING: $countf fuzzy strings in language $language."
fi
- if [ counte != 0 ]; then
+ if [ $counte != '0' ]; then
echo "WARNING: $counte empty strings in language $language."
fi
View
2 setup.py
@@ -6,7 +6,7 @@
from distutils.core import setup
setup(name='pkgbuilder',
- version='2.1.4.6',
+ version='2.1.4.7',
description='An AUR helper (and library) in Python 3.',
author='Kwpolska',
author_email='kwpolska@kwpolska.tk',

0 comments on commit 5b205a1

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