Skip to content
Browse files

v2.1.5.3: #21 and stuff

Signed-off-by: Kwpolska <kwpolska@gmail.com>
  • Loading branch information...
1 parent 23b2df1 commit 6dd734a3cfc84da78acf22f3b78fb4806cfb9825 @Kwpolska committed Oct 12, 2012
View
8 CHANGELOG.rst
@@ -5,8 +5,8 @@ Appendix C. Changelog
:Author: Kwpolska <kwpolska@kwpolska.tk>
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. index:: CHANGELOG
@@ -23,6 +23,10 @@ PKGBUILDer uses the following versioning scheme:
Generation 2
============
+:2.1.5.3: A bugfix for package copying and installation (signatures were passed
+ to -U) broke the installation mechanism so only one package got
+ installed. Also, fixing a bug with a STDIN that is not a terminal
+ (eg. ``xargs``, and I hope nobody is using it to search for stuff)
:2.1.5.2: Fixed a bug where an error in makepkg while running an Upgrade
crashed PB and thrown an unhelpful traceback.
:2.1.5.1: More tiny bugfixes.
View
4 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
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.
View
4 PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Kwpolska <kwpolska@kwpolska.tk>
pkgname=pkgbuilder
-pkgver=2.1.5.2
+pkgver=2.1.5.3
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=('963e7c3fe077e37b4546ae75e72674a1')
+md5sums=('92b51e17409e0c474cce4f0480121f77')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
View
2 PKGBUILD-git
@@ -1,6 +1,6 @@
# Maintainer: Kwpolska <kwpolska@kwpolska.tk>
pkgname=pkgbuilder-git
-pkgver=20121010
+pkgver=20121012
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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. index: README
View
8 docs/CHANGELOG.rst
@@ -5,8 +5,8 @@ Appendix C. Changelog
:Author: Kwpolska <kwpolska@kwpolska.tk>
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. index:: CHANGELOG
@@ -23,6 +23,10 @@ PKGBUILDer uses the following versioning scheme:
Generation 2
============
+:2.1.5.3: A bugfix for package copying and installation (signatures were passed
+ to -U) broke the installation mechanism so only one package got
+ installed. Also, fixing a bug with a STDIN that is not a terminal
+ (eg. ``xargs``, and I hope nobody is using it to search for stuff)
:2.1.5.2: Fixed a bug where an error in makepkg while running an Upgrade
crashed PB and thrown an unhelpful traceback.
:2.1.5.1: More tiny bugfixes.
View
4 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
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.
View
4 docs/LICENSE.rst
@@ -3,8 +3,8 @@ Appendix B. License for PKGBUILDer
==================================
:Info: This is the license for PKGBUILDer.
:Author: Kwpolska <kwpolska@kwpolska.tk>
-:Date: 2012-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. index: README
View
4 docs/TODO.rst
@@ -3,8 +3,8 @@ Appendix E. TODO for PKGBUILDer
===============================
:Author: Kwpolska
:Copyright: See Appendix B.
-:Date: 2012-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. index:: TODO
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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. module:: aur
View
10 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. module:: build
@@ -46,11 +46,9 @@ standalone, because it is embedded by :meth:`auto_build()`.
Check if packages were installed.
-.. method:: install(pkgpaths)
+.. method:: install(pkgpaths[, sigpaths])
-Install packages through ``pacman -U``. Warning::
-
- pkgpaths = [packages, sigfiles-if-any-or-None]
+Install packages through ``pacman -U``.
.. method:: download(urlpath, filename[, prot])
View
2 docs/conf.py
@@ -50,7 +50,7 @@
# The short X.Y version.
version = '2.1.5'
# The full version, including alpha/beta/rc tags.
-release = '2.1.5.2'
+release = '2.1.5.3'
# 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
:Wrapper Version: 0.1.4
: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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
:Manual section: 8
:Manual group: PKGBUILDer manual
View
4 docs/sample-scripts.rst
@@ -4,8 +4,8 @@ PKGBUILDer Sample Scripts
:Author: Kwpolska
:Copyright: © 2011-2012, Kwpolska.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
-:Date: 2012-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. index:: sample scripts
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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
.. 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-10-10
-:Version: 2.1.5.2
+:Date: 2012-10-12
+:Version: 2.1.5.3
:PBWrapper Version: 0.1.4
.. index:: wrapper
View
BIN locale/en/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
View
90 locale/en/LC_MESSAGES/pkgbuilder.po
@@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.5.2\n"
+"Project-Id-Version: 2.1.5.3\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-10-10 20:33+0200\n"
+"POT-Creation-Date: 2012-10-12 20:45+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"
@@ -36,27 +36,27 @@ msgstr "{}: outdated {}"
msgid "{}: installed {}"
msgstr "{}: installed {}"
-#: pkgbuilder/build.py:72
+#: pkgbuilder/build.py:68
msgid "Installing built packages..."
msgstr "Installing built packages..."
-#: pkgbuilder/build.py:109
+#: pkgbuilder/build.py:96
msgid "The build function reported a proper build."
msgstr "The build function reported a proper build."
#. PBxxx.
-#: pkgbuilder/build.py:112
+#: pkgbuilder/build.py:99
msgid "makepkg (or someone else) failed and returned {}."
msgstr "makepkg (or someone else) failed and returned {}."
#. PBSUX.
-#: pkgbuilder/build.py:116
+#: pkgbuilder/build.py:103
msgid "PKGBUILDer had a problem."
msgstr "PKGBUILDer had a problem."
#. PBREQ.
#. TRANSLATORS: do not translate the word 'requests'.
-#: pkgbuilder/build.py:120
+#: pkgbuilder/build.py:107
msgid ""
"PKGBUILDer (or the requests library) had problems with fulfilling an HTTP "
"request."
@@ -65,73 +65,73 @@ msgstr ""
"request."
#. I/O error.
-#: pkgbuilder/build.py:124
+#: pkgbuilder/build.py:111
msgid "There was an input/output error."
msgstr "There was an input/output error."
#. PBDEP.
-#: pkgbuilder/build.py:127
+#: pkgbuilder/build.py:114
msgid "Building more AUR packages is required."
msgstr "Building more AUR packages is required."
-#: pkgbuilder/build.py:160
+#: pkgbuilder/build.py:147
msgid "download: HTTP Error {}"
msgstr "download: HTTP Error {}"
-#: pkgbuilder/build.py:163
+#: pkgbuilder/build.py:150
msgid "download: 0 bytes downloaded"
msgstr "download: 0 bytes downloaded"
-#: pkgbuilder/build.py:179
+#: pkgbuilder/build.py:166
msgid "extract: no files extracted"
msgstr "extract: no files extracted"
-#: pkgbuilder/build.py:230
+#: pkgbuilder/build.py:217
msgid "depcheck: cannot find {} anywhere"
msgstr "depcheck: cannot find {} anywhere"
-#: pkgbuilder/build.py:245
+#: pkgbuilder/build.py:232
msgid "Package {} not found."
msgstr "Package {} not found."
-#: pkgbuilder/build.py:247
+#: pkgbuilder/build.py:234
msgid "Building {}..."
msgstr "Building {}..."
#. Okay, this package exists, great then. Thanks, user.
-#: pkgbuilder/build.py:257
+#: pkgbuilder/build.py:244
msgid "Downloading the tarball..."
msgstr "Downloading the tarball..."
-#: pkgbuilder/build.py:260
+#: pkgbuilder/build.py:247
msgid "{} kB downloaded"
msgstr "{} kB downloaded"
-#: pkgbuilder/build.py:262
+#: pkgbuilder/build.py:249
msgid "Extracting..."
msgstr "Extracting..."
-#: pkgbuilder/build.py:263
+#: pkgbuilder/build.py:250
msgid "{} files extracted"
msgstr "{} files extracted"
-#: pkgbuilder/build.py:268
+#: pkgbuilder/build.py:255
msgid "Checking dependencies..."
msgstr "Checking dependencies..."
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in system"
msgstr "found in system"
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in repos"
msgstr "found in repos"
-#: pkgbuilder/build.py:272
+#: pkgbuilder/build.py:259
msgid "found in the AUR"
msgstr "found in the AUR"
-#: pkgbuilder/build.py:275
+#: pkgbuilder/build.py:262
msgid "none found"
msgstr "none found"
@@ -227,11 +227,11 @@ msgstr "Search query too short, API limitation"
msgid "Searching for exact match..."
msgstr "Searching for exact match..."
-#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74 INSTALL.py:83
+#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74
msgid "not found"
msgstr "not found"
-#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:173
+#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:174
msgid "Running PKGBUILDer as root can break your system!"
msgstr "Running PKGBUILDer as root can break your system!"
@@ -285,29 +285,29 @@ msgstr "Targets ({}): "
msgid "Proceed with installation? [Y/n] "
msgstr "Proceed with installation? [Y/n] "
-#: pkgbuilder/utils.py:76
+#: pkgbuilder/utils.py:82
msgid " [installed: {}]"
msgstr " [installed: {}]"
-#: pkgbuilder/utils.py:78
+#: pkgbuilder/utils.py:84
msgid " [installed]"
msgstr " [installed]"
-#: pkgbuilder/utils.py:81
+#: pkgbuilder/utils.py:87
msgid "[out of date]"
msgstr "[out of date]"
-#: pkgbuilder/utils.py:93
+#: pkgbuilder/utils.py:99
msgid "votes"
msgstr "votes"
-#: pkgbuilder/utils.py:111
+#: pkgbuilder/utils.py:117
msgid "Package not found."
msgstr "Package not found."
#. TRANSLATORS: space it properly. `yes/no' below are
#. for `out of date'.
-#: pkgbuilder/utils.py:141
+#: pkgbuilder/utils.py:147
msgid ""
"Repository : aur\n"
"Category : {cat}\n"
@@ -335,11 +335,11 @@ msgstr ""
"Last Updated : {upd}\n"
"Description : {dsc}\n"
-#: pkgbuilder/utils.py:171
+#: pkgbuilder/utils.py:177
msgid "yes"
msgstr "yes"
-#: pkgbuilder/utils.py:173
+#: pkgbuilder/utils.py:179
msgid "no"
msgstr "no"
@@ -375,11 +375,11 @@ msgstr ""
msgid "Performing a dependency check..."
msgstr "Performing a dependency check..."
-#: INSTALL.py:62 INSTALL.py:71 INSTALL.py:80
+#: INSTALL.py:62 INSTALL.py:71
msgid "found"
msgstr "found"
-#: INSTALL.py:105
+#: INSTALL.py:96
msgid ""
"\n"
"\n"
@@ -401,7 +401,7 @@ msgstr ""
"\n"
"If I am wrong, though, congratulations!\n"
-#: INSTALL.py:123
+#: INSTALL.py:114
msgid ""
"Hello!\n"
"\n"
@@ -419,15 +419,15 @@ msgstr ""
"and compile the package manually.\n"
"\n"
-#: INSTALL.py:132
+#: INSTALL.py:123
msgid "Hit Enter/Return to continue. "
msgstr "Hit Enter/Return to continue. "
-#: INSTALL.py:144
+#: INSTALL.py:135
msgid "Installing missing AUR dependencies..."
msgstr "Installing missing AUR dependencies..."
-#: INSTALL.py:153
+#: INSTALL.py:142
msgid ""
"\n"
"\n"
@@ -455,7 +455,7 @@ msgstr ""
"(zsh users: hash -r, other shells may need another command). For\n"
"python module usage, type `import pkgbuilder` into the python prompt.\n"
-#: INSTALL.py:169
+#: INSTALL.py:158
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"No work has been started yet.\n"
@@ -469,7 +469,7 @@ msgstr ""
"If that's what you want to do, go for it. If it isn't, run this\n"
"script again."
-#: INSTALL.py:175
+#: INSTALL.py:164
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"All the files this script was working on are placed in\n"
@@ -492,14 +492,14 @@ msgstr ""
msgid "usage"
msgstr "usage"
-#: localeprovider.py:2
+#: localeprovider.py:3
msgid "positional arguments"
msgstr "positional arguments"
-#: localeprovider.py:2
+#: localeprovider.py:4
msgid "optional arguments"
msgstr "optional arguments"
-#: localeprovider.py:2
+#: localeprovider.py:5
msgid "show this help message and exit"
msgstr "show this help message and quit"
View
BIN locale/ja/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
View
90 locale/ja/LC_MESSAGES/pkgbuilder.po
@@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.5.2\n"
+"Project-Id-Version: 2.1.5.3\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-10-10 20:33+0200\n"
+"POT-Creation-Date: 2012-10-12 20:45+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"
@@ -36,100 +36,100 @@ msgstr "{}:「{}」より要更新"
msgid "{}: installed {}"
msgstr "{}: 「{}」をインストール済み"
-#: pkgbuilder/build.py:72
+#: pkgbuilder/build.py:68
msgid "Installing built packages..."
msgstr "作成したパッケージをインストール中・・・"
-#: pkgbuilder/build.py:109
+#: pkgbuilder/build.py:96
msgid "The build function reported a proper build."
msgstr "パッケージ作成成功。"
#. PBxxx.
-#: pkgbuilder/build.py:112
+#: pkgbuilder/build.py:99
msgid "makepkg (or someone else) failed and returned {}."
msgstr "makepkgなどが「{}」で失敗したようだ。"
#. PBSUX.
-#: pkgbuilder/build.py:116
+#: pkgbuilder/build.py:103
msgid "PKGBUILDer had a problem."
msgstr "PKGBUILDerに問題発生。"
#. PBREQ.
#. TRANSLATORS: do not translate the word 'requests'.
-#: pkgbuilder/build.py:120
+#: pkgbuilder/build.py:107
msgid ""
"PKGBUILDer (or the requests library) had problems with fulfilling an HTTP "
"request."
msgstr "PKGBUILDerか「requests」ライブラリがHTTPリクエストを遂行できなかった。"
#. I/O error.
-#: pkgbuilder/build.py:124
+#: pkgbuilder/build.py:111
msgid "There was an input/output error."
msgstr "入力・出力エラー発生。"
#. PBDEP.
-#: pkgbuilder/build.py:127
+#: pkgbuilder/build.py:114
msgid "Building more AUR packages is required."
msgstr "AURパッケージを更に作成する必要がある。"
-#: pkgbuilder/build.py:160
+#: pkgbuilder/build.py:147
msgid "download: HTTP Error {}"
msgstr "ダウンロード状態:HTTPエラー {}"
-#: pkgbuilder/build.py:163
+#: pkgbuilder/build.py:150
msgid "download: 0 bytes downloaded"
msgstr "ダウンロード状態:1バイトもダウンロードされなかった"
-#: pkgbuilder/build.py:179
+#: pkgbuilder/build.py:166
msgid "extract: no files extracted"
msgstr "抽出状態:ファイルは1つも抽出されなかった"
-#: pkgbuilder/build.py:230
+#: pkgbuilder/build.py:217
msgid "depcheck: cannot find {} anywhere"
msgstr "従属パッケージ状態:「{}」をどこでも見つからなかった"
-#: pkgbuilder/build.py:245
+#: pkgbuilder/build.py:232
msgid "Package {} not found."
msgstr "パッケージ「{}」は見つからなかった。"
-#: pkgbuilder/build.py:247
+#: pkgbuilder/build.py:234
msgid "Building {}..."
msgstr "「{}」を作成中・・・"
#. Okay, this package exists, great then. Thanks, user.
-#: pkgbuilder/build.py:257
+#: pkgbuilder/build.py:244
msgid "Downloading the tarball..."
msgstr "ターボールをダウンロード中・・・"
-#: pkgbuilder/build.py:260
+#: pkgbuilder/build.py:247
msgid "{} kB downloaded"
msgstr "{} kBをダウンロード済み"
-#: pkgbuilder/build.py:262
+#: pkgbuilder/build.py:249
msgid "Extracting..."
msgstr "抽出中・・・"
-#: pkgbuilder/build.py:263
+#: pkgbuilder/build.py:250
msgid "{} files extracted"
msgstr "ファイルを{}個抽出した"
-#: pkgbuilder/build.py:268
+#: pkgbuilder/build.py:255
msgid "Checking dependencies..."
msgstr "従属パッケージを確認中・・・"
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in system"
msgstr "インストール済み"
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in repos"
msgstr "リポジトリに存在"
-#: pkgbuilder/build.py:272
+#: pkgbuilder/build.py:259
msgid "found in the AUR"
msgstr "AURに存在"
-#: pkgbuilder/build.py:275
+#: pkgbuilder/build.py:262
msgid "none found"
msgstr "従属パッケージなし"
@@ -225,11 +225,11 @@ msgstr "検索の問いが短すぎる"
msgid "Searching for exact match..."
msgstr "完全一致を検索中・・・"
-#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74 INSTALL.py:83
+#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74
msgid "not found"
msgstr "見つからなかった"
-#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:173
+#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:174
msgid "Running PKGBUILDer as root can break your system!"
msgstr "管理者としてPKGBUILDerを実行すると危険性あり!"
@@ -283,29 +283,29 @@ msgstr "「{}」の該当パッケージ:"
msgid "Proceed with installation? [Y/n] "
msgstr "続行? [Y/n]"
-#: pkgbuilder/utils.py:76
+#: pkgbuilder/utils.py:82
msgid " [installed: {}]"
msgstr "[インストール済み:{}]"
-#: pkgbuilder/utils.py:78
+#: pkgbuilder/utils.py:84
msgid " [installed]"
msgstr "[インストール済み]"
-#: pkgbuilder/utils.py:81
+#: pkgbuilder/utils.py:87
msgid "[out of date]"
msgstr "[要更新]"
-#: pkgbuilder/utils.py:93
+#: pkgbuilder/utils.py:99
msgid "votes"
msgstr "投票数"
-#: pkgbuilder/utils.py:111
+#: pkgbuilder/utils.py:117
msgid "Package not found."
msgstr "パッケージは見つからなかった。"
#. TRANSLATORS: space it properly. `yes/no' below are
#. for `out of date'.
-#: pkgbuilder/utils.py:141
+#: pkgbuilder/utils.py:147
msgid ""
"Repository : aur\n"
"Category : {cat}\n"
@@ -333,11 +333,11 @@ msgstr ""
"最近更新日付 : {upd}\n"
"説明 : {dsc}\n"
-#: pkgbuilder/utils.py:171
+#: pkgbuilder/utils.py:177
msgid "yes"
msgstr "要更新"
-#: pkgbuilder/utils.py:173
+#: pkgbuilder/utils.py:179
msgid "no"
msgstr "最新"
@@ -373,11 +373,11 @@ msgstr ""
msgid "Performing a dependency check..."
msgstr "従属パッケージ確認中・・・"
-#: INSTALL.py:62 INSTALL.py:71 INSTALL.py:80
+#: INSTALL.py:62 INSTALL.py:71
msgid "found"
msgstr "発見"
-#: INSTALL.py:105
+#: INSTALL.py:96
msgid ""
"\n"
"\n"
@@ -399,7 +399,7 @@ msgstr ""
"\n"
"頑張って!\n"
-#: INSTALL.py:123
+#: INSTALL.py:114
msgid ""
"Hello!\n"
"\n"
@@ -417,15 +417,15 @@ msgstr ""
"自分でコードをダウンロードしてコンパイルして見て下さい。\n"
"\n"
-#: INSTALL.py:132
+#: INSTALL.py:123
msgid "Hit Enter/Return to continue. "
msgstr "EnterやReturnを押して続行。"
-#: INSTALL.py:144
+#: INSTALL.py:135
msgid "Installing missing AUR dependencies..."
msgstr "必要な従属AURパッケージをインストール・・・"
-#: INSTALL.py:153
+#: INSTALL.py:142
msgid ""
"\n"
"\n"
@@ -453,7 +453,7 @@ msgstr ""
"「hash -r」が必要になるかもしれない。pythonのモジュール利用に関しては、\n"
"`import pkgbuilder`をいつも通り打てば使える。\n"
-#: INSTALL.py:169
+#: INSTALL.py:158
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"No work has been started yet.\n"
@@ -465,7 +465,7 @@ msgstr ""
"まだ何もしていないので。\n"
"本当に終わりたいなら止めない。違ったら再度このスクリプトを実行!"
-#: INSTALL.py:175
+#: INSTALL.py:164
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"All the files this script was working on are placed in\n"
@@ -484,14 +484,14 @@ msgstr ""
msgid "usage"
msgstr "使い方"
-#: localeprovider.py:2
+#: localeprovider.py:3
msgid "positional arguments"
msgstr "選択肢"
-#: localeprovider.py:2
+#: localeprovider.py:4
msgid "optional arguments"
msgstr "副選択肢"
-#: localeprovider.py:2
+#: localeprovider.py:5
msgid "show this help message and exit"
msgstr "このメッセージを出力して終わる"
View
BIN locale/pl/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
View
90 locale/pl/LC_MESSAGES/pkgbuilder.po
@@ -5,9 +5,9 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.5.2\n"
+"Project-Id-Version: 2.1.5.3\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-10-10 20:33+0200\n"
+"POT-Creation-Date: 2012-10-12 20:45+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"
@@ -36,29 +36,29 @@ msgstr "{} nieaktualny {}"
msgid "{}: installed {}"
msgstr "{}: zainstalowany {}"
-#: pkgbuilder/build.py:72
+#: pkgbuilder/build.py:68
msgid "Installing built packages..."
msgstr "Instalowanie zbudowanych pakietów..."
-#: pkgbuilder/build.py:109
+#: pkgbuilder/build.py:96
msgid "The build function reported a proper build."
msgstr "Funkcja budowania paczek powiadomiła o prawidłowym zbudowaniu."
#. PBxxx.
-#: pkgbuilder/build.py:112
+#: pkgbuilder/build.py:99
msgid "makepkg (or someone else) failed and returned {}."
msgstr ""
"tworzenie pakietu przez makepkg (lub coś innego) nie powiodło się i zwróciło "
"{}."
#. PBSUX.
-#: pkgbuilder/build.py:116
+#: pkgbuilder/build.py:103
msgid "PKGBUILDer had a problem."
msgstr "PKGBUILDer miał problem."
#. PBREQ.
#. TRANSLATORS: do not translate the word 'requests'.
-#: pkgbuilder/build.py:120
+#: pkgbuilder/build.py:107
msgid ""
"PKGBUILDer (or the requests library) had problems with fulfilling an HTTP "
"request."
@@ -67,73 +67,73 @@ msgstr ""
"HTTP."
#. I/O error.
-#: pkgbuilder/build.py:124
+#: pkgbuilder/build.py:111
msgid "There was an input/output error."
msgstr "Wystąpił błąd wejścia/wyjścia."
#. PBDEP.
-#: pkgbuilder/build.py:127
+#: pkgbuilder/build.py:114
msgid "Building more AUR packages is required."
msgstr "Należy zainstalować więcej pakietów z AUR."
-#: pkgbuilder/build.py:160
+#: pkgbuilder/build.py:147
msgid "download: HTTP Error {}"
msgstr "download: Błąd HTTP {}"
-#: pkgbuilder/build.py:163
+#: pkgbuilder/build.py:150
msgid "download: 0 bytes downloaded"
msgstr "download: pobrano 0 bajtów"
-#: pkgbuilder/build.py:179
+#: pkgbuilder/build.py:166
msgid "extract: no files extracted"
msgstr "extract: wypakowano 0 plików"
-#: pkgbuilder/build.py:230
+#: pkgbuilder/build.py:217
msgid "depcheck: cannot find {} anywhere"
msgstr "depcheck: nie można nigdzie znaleźć pakietu {}"
-#: pkgbuilder/build.py:245
+#: pkgbuilder/build.py:232
msgid "Package {} not found."
msgstr "Nie znaleziono pakietu {}."
-#: pkgbuilder/build.py:247
+#: pkgbuilder/build.py:234
msgid "Building {}..."
msgstr "Budowanie {}..."
#. Okay, this package exists, great then. Thanks, user.
-#: pkgbuilder/build.py:257
+#: pkgbuilder/build.py:244
msgid "Downloading the tarball..."
msgstr "Pobieranie tarballa..."
-#: pkgbuilder/build.py:260
+#: pkgbuilder/build.py:247
msgid "{} kB downloaded"
msgstr "pobrano {} kB"
-#: pkgbuilder/build.py:262
+#: pkgbuilder/build.py:249
msgid "Extracting..."
msgstr "Wypakowywanie..."
-#: pkgbuilder/build.py:263
+#: pkgbuilder/build.py:250
msgid "{} files extracted"
msgstr "wypakowano {} plików"
-#: pkgbuilder/build.py:268
+#: pkgbuilder/build.py:255
msgid "Checking dependencies..."
msgstr "Sprawdzanie zależności..."
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in system"
msgstr "znaleziono w systemie"
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in repos"
msgstr "znaleziono w repozytoriach"
-#: pkgbuilder/build.py:272
+#: pkgbuilder/build.py:259
msgid "found in the AUR"
msgstr "znaleziono w AUR"
-#: pkgbuilder/build.py:275
+#: pkgbuilder/build.py:262
msgid "none found"
msgstr "brak"
@@ -229,11 +229,11 @@ msgstr "zapytanie do wyszukiwarki zbyt krótkie, limitacja API"
msgid "Searching for exact match..."
msgstr "Szukanie dokładnego dopasowania..."
-#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74 INSTALL.py:83
+#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74
msgid "not found"
msgstr "nie znaleziono"
-#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:173
+#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:174
msgid "Running PKGBUILDer as root can break your system!"
msgstr "Używanie PKGBUILDera jako root może popsuć twój system!"
@@ -287,29 +287,29 @@ msgstr "Cele ({}):"
msgid "Proceed with installation? [Y/n] "
msgstr "Kontynuować instalację? [Y/n] "
-#: pkgbuilder/utils.py:76
+#: pkgbuilder/utils.py:82
msgid " [installed: {}]"
msgstr " [zainstalowano: {}]"
-#: pkgbuilder/utils.py:78
+#: pkgbuilder/utils.py:84
msgid " [installed]"
msgstr " [zainstalowano]"
-#: pkgbuilder/utils.py:81
+#: pkgbuilder/utils.py:87
msgid "[out of date]"
msgstr "[nieaktualny]"
-#: pkgbuilder/utils.py:93
+#: pkgbuilder/utils.py:99
msgid "votes"
msgstr "głosów"
-#: pkgbuilder/utils.py:111
+#: pkgbuilder/utils.py:117
msgid "Package not found."
msgstr "Nie znaleziono pakietu."
#. TRANSLATORS: space it properly. `yes/no' below are
#. for `out of date'.
-#: pkgbuilder/utils.py:141
+#: pkgbuilder/utils.py:147
msgid ""
"Repository : aur\n"
"Category : {cat}\n"
@@ -337,11 +337,11 @@ msgstr ""
"Ost. aktualiz. : {upd}\n"
"Opis : {dsc}\n"
-#: pkgbuilder/utils.py:171
+#: pkgbuilder/utils.py:177
msgid "yes"
msgstr "tak"
-#: pkgbuilder/utils.py:173
+#: pkgbuilder/utils.py:179
msgid "no"
msgstr "nie"
@@ -377,11 +377,11 @@ msgstr ""
msgid "Performing a dependency check..."
msgstr "Sprawdzanie zależności..."
-#: INSTALL.py:62 INSTALL.py:71 INSTALL.py:80
+#: INSTALL.py:62 INSTALL.py:71
msgid "found"
msgstr "znaleziono"
-#: INSTALL.py:105
+#: INSTALL.py:96
msgid ""
"\n"
"\n"
@@ -403,7 +403,7 @@ msgstr ""
"\n"
"Jeśli się mylę, gratulacje!\n"
-#: INSTALL.py:123
+#: INSTALL.py:114
msgid ""
"Hello!\n"
"\n"
@@ -421,15 +421,15 @@ msgstr ""
"ręcznie.\n"
"\n"
-#: INSTALL.py:132
+#: INSTALL.py:123
msgid "Hit Enter/Return to continue. "
msgstr "Wciśnij Enter, aby kontynuować."
-#: INSTALL.py:144
+#: INSTALL.py:135
msgid "Installing missing AUR dependencies..."
msgstr "Instalowanie brakujących zależności z AUR..."
-#: INSTALL.py:153
+#: INSTALL.py:142
msgid ""
"\n"
"\n"
@@ -457,7 +457,7 @@ msgstr ""
"inne powłoki mogą wymagać innej komendy). Dla użycia jako moduł\n"
"Pythona, wpisz `import pkgbuilder` do interpretera.\n"
-#: INSTALL.py:169
+#: INSTALL.py:158
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"No work has been started yet.\n"
@@ -471,7 +471,7 @@ msgstr ""
"Jeśli to jest to, co chcesz zrobić, proszę bardzo. Jeśli nie,\n"
"uruchom ten skrypt jeszcze raz."
-#: INSTALL.py:175
+#: INSTALL.py:164
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"All the files this script was working on are placed in\n"
@@ -494,14 +494,14 @@ msgstr ""
msgid "usage"
msgstr "sposób użycia"
-#: localeprovider.py:2
+#: localeprovider.py:3
msgid "positional arguments"
msgstr "argumenty"
-#: localeprovider.py:2
+#: localeprovider.py:4
msgid "optional arguments"
msgstr "argumenty opcjonalne"
-#: localeprovider.py:2
+#: localeprovider.py:5
msgid "show this help message and exit"
msgstr "pokaż tą wiadomość i wyjdź"
View
5 localeprovider.py
@@ -1,2 +1,5 @@
# A module only for gettext locale provision.
-translationcheat = _('usage') + _('positional arguments') + _('optional arguments') + _('show this help message and exit')
+translationcheat = _('usage') +
+ _('positional arguments') +
+ _('optional arguments') +
+ _('show this help message and exit')
View
92 messages.pot
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: 2.1.5.2\n"
+"Project-Id-Version: 2.1.5.3\n"
"Report-Msgid-Bugs-To: Kwpolska <kwpolska@kwpolska.tk>\n"
-"POT-Creation-Date: 2012-10-10 20:33+0200\n"
-"PO-Revision-Date: 2012-10-10 20:33+0200\n"
+"POT-Creation-Date: 2012-10-12 20:45+0200\n"
+"PO-Revision-Date: 2012-10-12 20:45+0200\n"
"Last-Translator: Kwpolska <kwpolska@kwpolska.tk>\n"
"Language-Team: Kwpolska <kwpolska@kwpolska.tk>\n"
"Language: en\n"
@@ -36,100 +36,100 @@ msgstr ""
msgid "{}: installed {}"
msgstr ""
-#: pkgbuilder/build.py:72
+#: pkgbuilder/build.py:68
msgid "Installing built packages..."
msgstr ""
-#: pkgbuilder/build.py:109
+#: pkgbuilder/build.py:96
msgid "The build function reported a proper build."
msgstr ""
#. PBxxx.
-#: pkgbuilder/build.py:112
+#: pkgbuilder/build.py:99
msgid "makepkg (or someone else) failed and returned {}."
msgstr ""
#. PBSUX.
-#: pkgbuilder/build.py:116
+#: pkgbuilder/build.py:103
msgid "PKGBUILDer had a problem."
msgstr ""
#. PBREQ.
#. TRANSLATORS: do not translate the word 'requests'.
-#: pkgbuilder/build.py:120
+#: pkgbuilder/build.py:107
msgid ""
"PKGBUILDer (or the requests library) had problems with fulfilling an HTTP "
"request."
msgstr ""
#. I/O error.
-#: pkgbuilder/build.py:124
+#: pkgbuilder/build.py:111
msgid "There was an input/output error."
msgstr ""
#. PBDEP.
-#: pkgbuilder/build.py:127
+#: pkgbuilder/build.py:114
msgid "Building more AUR packages is required."
msgstr ""
-#: pkgbuilder/build.py:160
+#: pkgbuilder/build.py:147
msgid "download: HTTP Error {}"
msgstr ""
-#: pkgbuilder/build.py:163
+#: pkgbuilder/build.py:150
msgid "download: 0 bytes downloaded"
msgstr ""
-#: pkgbuilder/build.py:179
+#: pkgbuilder/build.py:166
msgid "extract: no files extracted"
msgstr ""
-#: pkgbuilder/build.py:230
+#: pkgbuilder/build.py:217
msgid "depcheck: cannot find {} anywhere"
msgstr ""
-#: pkgbuilder/build.py:245
+#: pkgbuilder/build.py:232
msgid "Package {} not found."
msgstr ""
-#: pkgbuilder/build.py:247
+#: pkgbuilder/build.py:234
msgid "Building {}..."
msgstr ""
#. Okay, this package exists, great then. Thanks, user.
-#: pkgbuilder/build.py:257
+#: pkgbuilder/build.py:244
msgid "Downloading the tarball..."
msgstr ""
-#: pkgbuilder/build.py:260
+#: pkgbuilder/build.py:247
msgid "{} kB downloaded"
msgstr ""
-#: pkgbuilder/build.py:262
+#: pkgbuilder/build.py:249
msgid "Extracting..."
msgstr ""
-#: pkgbuilder/build.py:263
+#: pkgbuilder/build.py:250
msgid "{} files extracted"
msgstr ""
-#: pkgbuilder/build.py:268
+#: pkgbuilder/build.py:255
msgid "Checking dependencies..."
msgstr ""
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in system"
msgstr ""
-#: pkgbuilder/build.py:271
+#: pkgbuilder/build.py:258
msgid "found in repos"
msgstr ""
-#: pkgbuilder/build.py:272
+#: pkgbuilder/build.py:259
msgid "found in the AUR"
msgstr ""
-#: pkgbuilder/build.py:275
+#: pkgbuilder/build.py:262
msgid "none found"
msgstr ""
@@ -225,11 +225,11 @@ msgstr ""
msgid "Searching for exact match..."
msgstr ""
-#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74 INSTALL.py:83
+#: pkgbuilder/main.py:129 INSTALL.py:65 INSTALL.py:74
msgid "not found"
msgstr ""
-#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:173
+#: pkgbuilder/main.py:181 pkgbuilder/upgrade.py:174
msgid "Running PKGBUILDer as root can break your system!"
msgstr ""
@@ -283,29 +283,29 @@ msgstr ""
msgid "Proceed with installation? [Y/n] "
msgstr ""
-#: pkgbuilder/utils.py:76
+#: pkgbuilder/utils.py:82
msgid " [installed: {}]"
msgstr ""
-#: pkgbuilder/utils.py:78
+#: pkgbuilder/utils.py:84
msgid " [installed]"
msgstr ""
-#: pkgbuilder/utils.py:81
+#: pkgbuilder/utils.py:87
msgid "[out of date]"
msgstr ""
-#: pkgbuilder/utils.py:93
+#: pkgbuilder/utils.py:99
msgid "votes"
msgstr ""
-#: pkgbuilder/utils.py:111
+#: pkgbuilder/utils.py:117
msgid "Package not found."
msgstr ""
#. TRANSLATORS: space it properly. `yes/no' below are
#. for `out of date'.
-#: pkgbuilder/utils.py:141
+#: pkgbuilder/utils.py:147
msgid ""
"Repository : aur\n"
"Category : {cat}\n"
@@ -321,11 +321,11 @@ msgid ""
"Description : {dsc}\n"
msgstr ""
-#: pkgbuilder/utils.py:171
+#: pkgbuilder/utils.py:177
msgid "yes"
msgstr ""
-#: pkgbuilder/utils.py:173
+#: pkgbuilder/utils.py:179
msgid "no"
msgstr ""
@@ -352,11 +352,11 @@ msgstr ""
msgid "Performing a dependency check..."
msgstr ""
-#: INSTALL.py:62 INSTALL.py:71 INSTALL.py:80
+#: INSTALL.py:62 INSTALL.py:71
msgid "found"
msgstr ""
-#: INSTALL.py:105
+#: INSTALL.py:96
msgid ""
"\n"
"\n"
@@ -369,7 +369,7 @@ msgid ""
"If I am wrong, though, congratulations!\n"
msgstr ""
-#: INSTALL.py:123
+#: INSTALL.py:114
msgid ""
"Hello!\n"
"\n"
@@ -380,15 +380,15 @@ msgid ""
"\n"
msgstr ""
-#: INSTALL.py:132
+#: INSTALL.py:123
msgid "Hit Enter/Return to continue. "
msgstr ""
-#: INSTALL.py:144
+#: INSTALL.py:135
msgid "Installing missing AUR dependencies..."
msgstr ""
-#: INSTALL.py:153
+#: INSTALL.py:142
msgid ""
"\n"
"\n"
@@ -404,7 +404,7 @@ msgid ""
"python module usage, type `import pkgbuilder` into the python prompt.\n"
msgstr ""
-#: INSTALL.py:169
+#: INSTALL.py:158
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"No work has been started yet.\n"
@@ -413,7 +413,7 @@ msgid ""
"script again."
msgstr ""
-#: INSTALL.py:175
+#: INSTALL.py:164
msgid ""
"It looks like you want to quit. Okay then, goodbye.\n"
"All the files this script was working on are placed in\n"
@@ -429,14 +429,14 @@ msgstr ""
msgid "usage"
msgstr ""
-#: localeprovider.py:2
+#: localeprovider.py:3
msgid "positional arguments"
msgstr ""
-#: localeprovider.py:2
+#: localeprovider.py:4
msgid "optional arguments"
msgstr ""
-#: localeprovider.py:2
+#: localeprovider.py:5
msgid "show this help message and exit"
msgstr ""
View
4 pkgbuilder/__init__.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# All rights reserved.
@@ -44,7 +44,7 @@
"""
__title__ = 'PKGBUILDer'
-__version__ = '2.1.5.2'
+__version__ = '2.1.5.3'
__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.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
31 pkgbuilder/build.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
@@ -63,29 +63,16 @@ def validate(self, pkgnames):
DS.fancy_msg2(_('{}: installed {}').format(pkgname,
pkg.version))
- def install(self, pkgpaths):
- """
- Install packages through ``pacman -U``. Warning::
-
- pkgpaths = [packages, sigfiles-if-any-or-None]
- """
+ def install(self, pkgpaths, sigpaths=[]):
+ """Install packages through ``pacman -U``."""
DS.fancy_msg(_('Installing built packages...'))
- if pkgpaths[0]:
- pkgs = pkgpaths[0]
- else:
- pkgs = []
-
- if pkgpaths[1]:
- sigs = pkgpaths[1]
- else:
- sigs = []
-
- DS.log.info('pkgs={}; sigs={}'.format(pkgs, sigs))
- DS.log.debug('cp {} {} /var/cache/pacman/pkg/'.format(pkgs, sigs))
- DS.sudo('cp', pkgs + sigs, '/var/cache/pacman/pkg/')
- DS.log.debug('$PACMAN -U {}'.format(pkgs))
- DS.sudo(DS.paccommand, '-U', pkgs)
+ DS.log.info('pkgs={}; sigs={}'.format(pkgpaths, sigpaths))
+ DS.log.debug('cp {} {} /var/cache/pacman/pkg/'.format(pkgpaths,
+ sigpaths))
+ DS.sudo('cp', pkgpaths + sigpaths, '/var/cache/pacman/pkg/')
+ DS.log.debug('$PACMAN -U {}'.format(pkgpaths))
+ DS.sudo(DS.paccommand, '-U', pkgpaths)
def auto_build(self, pkgname, performdepcheck=True,
pkginstall=True):
View
9 pkgbuilder/main.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
@@ -183,13 +183,16 @@ def main(source='AUTO', quit=True):
DS.log.info('Starting build...')
toinstall = []
+ sigs = []
for pkgname in args.pkgs:
DS.log.info('Building {}'.format(pkgname))
out = build.auto_build(pkgname, DS.depcheck, DS.pkginst)
if out:
- toinstall += out
+ toinstall += out[0]
+ sigs += out[1]
+
if toinstall:
- build.install(toinstall)
+ build.install(toinstall, sigs)
if DS.validate:
build.validate(args.pkgs)
View
2 pkgbuilder/pbds.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
8 pkgbuilder/upgrade.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
@@ -167,6 +167,7 @@ def auto_upgrade(self, downgrade=False, vcsup=False):
return 0
toinstall = []
+ sigs = []
if DS.uid == 0:
DS.log.warning('Running as root! (UID={})'.format(DS.uid))
@@ -177,10 +178,11 @@ def auto_upgrade(self, downgrade=False, vcsup=False):
out = self.build.auto_build(pkgname, DS.depcheck,
DS.pkginst)
if out:
- toinstall += out
+ toinstall += out[0]
+ sigs += out[1]
if toinstall:
- self.build.install(toinstall)
+ self.build.install(toinstall, sigs)
if DS.validate:
self.build.validate(upgnames)
View
14 pkgbuilder/utils.py
@@ -1,6 +1,6 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
-# PKGBUILDer v2.1.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
@@ -21,6 +21,7 @@
import pyalpm
import pycman
import os
+import subprocess
import textwrap
import datetime
@@ -61,9 +62,14 @@ def print_package_search(self, pkg, use_categories=True,
Outputs/returns a package representation, which is close to the output
of ``pacman -Ss``.
"""
- size = os.popen('stty size', 'r')
- termwidth = int(size.read().split()[1])
- size.close()
+ size = subprocess.Popen(['stty', 'size'], stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE)
+ try:
+ termwidth = int(size.stdout.read().split()[1])
+ except IndexError:
+ termwidth = 9001 # Auto-wrap by terminal. A reference to an old
+ # meme and a cheat, too. Sorry.
+ size.stdout.close()
H = pycman.config.init_with_config('/etc/pacman.conf')
localdb = H.get_localdb()
lpkg = localdb.get_pkg(pkg['Name'])
View
2 pkgbuilder/wrapper.py
@@ -1,7 +1,7 @@
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
# PBWrapper v0.1.4
-# PKGBUILDer v2.1.5.2
+# PKGBUILDer v2.1.5.3
# An AUR helper (and library) in Python 3.
# Copyright © 2011-2012, Kwpolska.
# See /LICENSE for licensing information.
View
2 setup.py
@@ -6,7 +6,7 @@
from distutils.core import setup
setup(name='pkgbuilder',
- version='2.1.5.2',
+ version='2.1.5.3',
description='An AUR helper (and library) in Python 3.',
author='Kwpolska',
author_email='kwpolska@kwpolska.tk',

0 comments on commit 6dd734a

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