From 6dd734a3cfc84da78acf22f3b78fb4806cfb9825 Mon Sep 17 00:00:00 2001 From: Kwpolska Date: Fri, 12 Oct 2012 20:47:29 +0200 Subject: [PATCH] v2.1.5.3: #21 and stuff Signed-off-by: Kwpolska --- CHANGELOG.rst | 8 ++- CONTRIBUTING.rst | 4 +- PKGBUILD | 4 +- PKGBUILD-git | 2 +- README | 4 +- README.rst | 4 +- docs/CHANGELOG.rst | 8 ++- docs/CONTRIBUTING.rst | 4 +- docs/LICENSE.rst | 4 +- docs/README.rst | 4 +- docs/TODO.rst | 4 +- docs/aur.rst | 4 +- docs/build.rst | 10 ++- docs/conf.py | 2 +- docs/localization.rst | 4 +- docs/main.rst | 4 +- docs/pb.8.gz | Bin 1587 -> 1589 bytes docs/pb.rst | 4 +- docs/pbds.rst | 4 +- docs/pkgbuilder.8.gz | Bin 1829 -> 1830 bytes docs/pkgbuilder.rst | 4 +- docs/sample-scripts.rst | 4 +- docs/upgrade.rst | 4 +- docs/utils.rst | 4 +- docs/wrapper.rst | 4 +- locale/en/LC_MESSAGES/pkgbuilder.mo | Bin 10125 -> 10125 bytes locale/en/LC_MESSAGES/pkgbuilder.po | 90 +++++++++++++-------------- locale/ja/LC_MESSAGES/pkgbuilder.mo | Bin 11637 -> 11637 bytes locale/ja/LC_MESSAGES/pkgbuilder.po | 90 +++++++++++++-------------- locale/pl/LC_MESSAGES/pkgbuilder.mo | Bin 10625 -> 10625 bytes locale/pl/LC_MESSAGES/pkgbuilder.po | 90 +++++++++++++-------------- localeprovider.py | 5 +- messages.pot | 92 ++++++++++++++-------------- pkgbuilder/__init__.py | 4 +- pkgbuilder/aur.py | 2 +- pkgbuilder/build.py | 31 +++------- pkgbuilder/main.py | 9 ++- pkgbuilder/pbds.py | 2 +- pkgbuilder/upgrade.py | 8 ++- pkgbuilder/utils.py | 14 +++-- pkgbuilder/wrapper.py | 2 +- setup.py | 2 +- 42 files changed, 275 insertions(+), 268 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 25608a4..ab58442 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,8 +5,8 @@ Appendix C. Changelog :Author: Kwpolska :Copyright: © 2011-2012, Kwpolska. :License: BSD (see /LICENSE or :doc:`Appendix B `.) -: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. diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 7906f80..64c406c 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -4,8 +4,8 @@ Appendix D. Contribution rules :Author: Kwpolska :Copyright: © 2011-2012, Kwpolska. :License: BSD (see /LICENSE or :doc:`Appendix B `.) -: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. diff --git a/PKGBUILD b/PKGBUILD index bbd07b9..2270453 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Kwpolska 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}" diff --git a/PKGBUILD-git b/PKGBUILD-git index a7936f9..3ed9c4f 100644 --- a/PKGBUILD-git +++ b/PKGBUILD-git @@ -1,6 +1,6 @@ # Maintainer: Kwpolska pkgname=pkgbuilder-git -pkgver=20121010 +pkgver=20121012 pkgrel=1 pkgdesc='A Python AUR helper/library. Version from git.' arch=('any') diff --git a/README b/README index ccad6dd..cef5f46 100644 --- a/README +++ b/README @@ -3,8 +3,8 @@ PKGBUILDer. An AUR helper (and library) in Python 3. ===================================================== :Info: This is the README file for PKGBUILDer. :Author: Kwpolska -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. index: README diff --git a/README.rst b/README.rst index ccad6dd..cef5f46 100644 --- a/README.rst +++ b/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 -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. index: README diff --git a/docs/CHANGELOG.rst b/docs/CHANGELOG.rst index 25608a4..ab58442 100644 --- a/docs/CHANGELOG.rst +++ b/docs/CHANGELOG.rst @@ -5,8 +5,8 @@ Appendix C. Changelog :Author: Kwpolska :Copyright: © 2011-2012, Kwpolska. :License: BSD (see /LICENSE or :doc:`Appendix B `.) -: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. diff --git a/docs/CONTRIBUTING.rst b/docs/CONTRIBUTING.rst index 7906f80..64c406c 100644 --- a/docs/CONTRIBUTING.rst +++ b/docs/CONTRIBUTING.rst @@ -4,8 +4,8 @@ Appendix D. Contribution rules :Author: Kwpolska :Copyright: © 2011-2012, Kwpolska. :License: BSD (see /LICENSE or :doc:`Appendix B `.) -: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. diff --git a/docs/LICENSE.rst b/docs/LICENSE.rst index 623f2c7..a778670 100644 --- a/docs/LICENSE.rst +++ b/docs/LICENSE.rst @@ -3,8 +3,8 @@ Appendix B. License for PKGBUILDer ================================== :Info: This is the license for PKGBUILDer. :Author: Kwpolska -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. index:: LICENSE diff --git a/docs/README.rst b/docs/README.rst index ccad6dd..cef5f46 100644 --- a/docs/README.rst +++ b/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 -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. index: README diff --git a/docs/TODO.rst b/docs/TODO.rst index 89f5ed0..6daf4b3 100644 --- a/docs/TODO.rst +++ b/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 diff --git a/docs/aur.rst b/docs/aur.rst index 2409d81..5a063ed 100644 --- a/docs/aur.rst +++ b/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 `.) -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. module:: aur diff --git a/docs/build.rst b/docs/build.rst index f91b985..759d092 100644 --- a/docs/build.rst +++ b/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 `.) -: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]) diff --git a/docs/conf.py b/docs/conf.py index d4f4912..75e345a 100644 --- a/docs/conf.py +++ b/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. diff --git a/docs/localization.rst b/docs/localization.rst index 15c8baa..d49f470 100644 --- a/docs/localization.rst +++ b/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 `.) -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. index:: locale diff --git a/docs/main.rst b/docs/main.rst index 6b07a10..16ef699 100644 --- a/docs/main.rst +++ b/docs/main.rst @@ -4,8 +4,8 @@ main module :Author: Kwpolska :Copyright: © 2011-2012, Kwpolska. :License: BSD (see /LICENSE or :doc:`Appendix B `.) -: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 diff --git a/docs/pb.8.gz b/docs/pb.8.gz index 1cd14619865d3eae5af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vu1LTA)`sI3;aKzSA0F-x_t&k&1}Niz3yr4~fh3C_FM?RkjBCMK`RG)7AE7gOdvECPl}$Eu^c$-$M4Y@_J|kl51akm=~!LR zu*@=c{?cX>QSW61Xqr5C6a$w;Av542tuuK6U_>HU3;?3v}V0|d3rWEoMre~nlF>~n9!)Q)i0V_0!62=!6bB*e2sS`WL8B1gQ2Yvu!( zG)8qO@T6fkS$LCtns5!Go$RH3elFu+{i?2n*&m4(XVySR0dgD zXT?DZyVzghQV;Z&V5Uj<74ai{GcQ-LX9K0Vn>K;qiVrXlCU7@HMod4IS{0I!*``YK zutY|QDnbh`2w{*aiDiJNGCVaNF16lK z)w{w1PfRK^r&AwIhO5Pa*XF*Djq+B50POfTX(Vb|&Kaj*np7sItaJ!Z^8h;DFQEfv z@}083dIX#8>~K$I4S806$}G*}B^=c&Neu&D2)E=)AT84nB$~MUt$jbZ>!NML@knP8 zE-2%Hh&ohEQTGuQ8@GTLXQW-gfao2lD-FV=&d@BVwPWq)4i6+}d9H;>xEQHXG6DHA zaUf)MQnpa6=O8c?pS5ctpVd~yRdN*TQ^DmLS3&KaGQnOZpx$=EOyOd1kstTbda;QX-YvyyOm>qAm7Ny;PS2_Hys8jdo6P zL8H@fo#=L{eK&fjZUogSQ2Tu9S;hm)`Lxt25E&jX8|4cd*xh-&2?tWA zoLjPsyiAjD#_=_gaS2x z!~~VpDJxTOx2$acv3-af_wi-Oqy0F(eHe;u0QBY9@=GD^aO21Y%n_TlGJ~RptVnkGqU_cl9v%KJ4Axj>Uif626yO4gP4V?-}Rs lv^TqtFOV_G;}ZI4nV|mDjEUq`3oG%(^FOsvL|(TI002a!4}|~# diff --git a/docs/pb.rst b/docs/pb.rst index 0911956..17d5643 100644 --- a/docs/pb.rst +++ b/docs/pb.rst @@ -6,8 +6,8 @@ PBWrapper :Author: Kwpolska :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 diff --git a/docs/pbds.rst b/docs/pbds.rst index 83dc99f..4052739 100644 --- a/docs/pbds.rst +++ b/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 `.) -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. module: pbds diff --git a/docs/pkgbuilder.8.gz b/docs/pkgbuilder.8.gz index a4ecd75d2da63ce6b1da56f447ba6affecb763e2..435054bc7a21e42f55ce323e8ae40a3f8bbdb4b2 100644 GIT binary patch delta 1823 zcmV+)2jKXn4yF!&ABzYGKV^7O00VGqXJU0}Y-D9}E;s;{SnF=$NEZI@r#OmsC87lr zG8$VfOK9@H&2Z9L?buxVgXU z-FJF-o!(}c>fl~wIAcj<7l#oVoXo` zl}}J={t(45Pk_9`r*ES2u7zKR;>z7RqJQhXqg)yLP@4&_lg3V%kNo){;~O=&qw?$r zgZXZ@JHa-|4?ijq9r%$8&O3^*O+HVivt*n^u_>c}<$7H1HY+FcjO*ok27fF&+uzb* zwm&4*8@_TNOCmmb%wG)v-RT_ec zCdi#AD^mUdb0?*cn{$!KDqW>vHuzm*+-SjnfL1C<%{a^P!7^jDDlwE%#tI@t^sQ13 zwN%FP0^@*^L0G!XkRCTKXPOMctl&9}WuB9XXn#?98dW-?hq z@Lu#NOqsLF04)GpDQD?i4M74g;(@`MnJwkQh(eH0XhP5(UkEorxZzBvTN0o6C!Zni zL5dzjgS~*QOKmJ1Mdaw}QnssQSH_ha%`#5%hg+WR%(+x>Wri(^9BPyjKG(-}ra7K> zGHX-lt7DLbG?wK#foJV+Qr^H&Y>YyG5i?8=*aHHHywB7@dMnV#6U!mS`dKEZa8Oj$ zMx!(F?cH9gJp{Er{YvK5cXS5a_|vF==Tg+EAY~3nG z40fB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_`~Sd8L;lj7 zd&EWqdI$yuOO8_6%2EZwN=RWg=(Rr(LkpRe+(33kS>)CAnTkPBAyuk!r44EMx6Wz~T_~ZC5Qp!2z7M+YQ-I@eVoGl&3$}jk8(M8}^6lg3my*|I2HO6GT zObMpG9=4(+86~Gal2+h%Y8Eb7<;R;g@|v+Y_4??+NhC|D{ zitvf*`Z`=Q$J)C-SGx~tefpKmtMBLxxbde^&$*~$%MCJ-gDv6YupH<_DO1CxInaiU zwIwVoOxudN+@8x#8d?ffHqinn8Y=$pm1-NL+QTQGL$Y?jlrue#jwC1%%ey|HB z(+3ioq6vfV_od3smbL4Vj>ZbJQI42ANQPe0o5t5+EFBJ^_nb`Xv9w<@mm&Z9Mt!=&a-*Ux0$5VVK1@yVL6H~OD8q%CxK36Yajlx*S(fe*~n!x!9i#}n{Qx^0-3j5@i{;M}?{fOeOFb1by(ob`7ClCMtIy{J{ diff --git a/docs/pkgbuilder.rst b/docs/pkgbuilder.rst index d68c1dc..f0a3eba 100644 --- a/docs/pkgbuilder.rst +++ b/docs/pkgbuilder.rst @@ -6,8 +6,8 @@ PKGBUILDer :Author: Kwpolska :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 diff --git a/docs/sample-scripts.rst b/docs/sample-scripts.rst index 734225c..72f02fb 100644 --- a/docs/sample-scripts.rst +++ b/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 `.) -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. index:: sample scripts diff --git a/docs/upgrade.rst b/docs/upgrade.rst index 4f11997..cde041b 100644 --- a/docs/upgrade.rst +++ b/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 `.) -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. module:: upgrade diff --git a/docs/utils.rst b/docs/utils.rst index 4be0f72..6e4b0cb 100644 --- a/docs/utils.rst +++ b/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 `.) -:Date: 2012-10-10 -:Version: 2.1.5.2 +:Date: 2012-10-12 +:Version: 2.1.5.3 .. module:: utils diff --git a/docs/wrapper.rst b/docs/wrapper.rst index db8c697..55d1288 100644 --- a/docs/wrapper.rst +++ b/docs/wrapper.rst @@ -4,8 +4,8 @@ PBWrapper :Author: Kwpolska :Copyright: © 2011-2012, Kwpolska. :License: BSD (see /LICENSE or :doc:`Appendix B `.) -: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 diff --git a/locale/en/LC_MESSAGES/pkgbuilder.mo b/locale/en/LC_MESSAGES/pkgbuilder.mo index e83674ecc0e2c68bfdce00ee00d0dac7dfdbcaf5..5f963a448facc1469108f1085e8701dcbae1cc4e 100644 GIT binary patch delta 26 hcmeD6@AcpCT8z\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 \n" "Language-Team: Kwpolska \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" diff --git a/locale/ja/LC_MESSAGES/pkgbuilder.mo b/locale/ja/LC_MESSAGES/pkgbuilder.mo index 857ca37b0f769809b0789f019dacc8014944c660..e991f8119009f57af37a62aebac853466f835a0b 100644 GIT binary patch delta 26 icmeww^)+h4YcWRS$#2Ah*^Ly846IB{H@k`Jiva+bbO|2- delta 26 icmeww^)+h4YcWQn$#2Ah*$oto46KZeH@k`Jiva+bHwhU4 diff --git a/locale/ja/LC_MESSAGES/pkgbuilder.po b/locale/ja/LC_MESSAGES/pkgbuilder.po index e34909f..ecd5cbe 100644 --- a/locale/ja/LC_MESSAGES/pkgbuilder.po +++ b/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 \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 \n" "Language-Team: Colin Woodbury \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 "このメッセージを出力して終わる" diff --git a/locale/pl/LC_MESSAGES/pkgbuilder.mo b/locale/pl/LC_MESSAGES/pkgbuilder.mo index 921c63186b551a19220295a9aa4c80a30900fc8d..bdedaf7c4341e7ebf1bf205d8adaeb6eaf8cb3f4 100644 GIT binary patch delta 26 hcmZn+ZVcY=T8zLI8k}2r&Qv delta 26 hcmZn+ZVcY=T8zLI8kM2rB>p diff --git a/locale/pl/LC_MESSAGES/pkgbuilder.po b/locale/pl/LC_MESSAGES/pkgbuilder.po index 6ec11be..6b74e8c 100644 --- a/locale/pl/LC_MESSAGES/pkgbuilder.po +++ b/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 \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 \n" "Language-Team: Kwpolska \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ź" diff --git a/localeprovider.py b/localeprovider.py index 23e68a9..8b1eddd 100644 --- a/localeprovider.py +++ b/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') diff --git a/messages.pot b/messages.pot index ca215e4..48faf0e 100644 --- a/messages.pot +++ b/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 \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 \n" "Language-Team: Kwpolska \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 "" diff --git a/pkgbuilder/__init__.py b/pkgbuilder/__init__.py index 57f94f4..cbdba54 100755 --- a/pkgbuilder/__init__.py +++ b/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' diff --git a/pkgbuilder/aur.py b/pkgbuilder/aur.py index dee2012..d86c91d 100755 --- a/pkgbuilder/aur.py +++ b/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. diff --git a/pkgbuilder/build.py b/pkgbuilder/build.py index 3a1d3cd..2fa1af6 100755 --- a/pkgbuilder/build.py +++ b/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): diff --git a/pkgbuilder/main.py b/pkgbuilder/main.py index 5f44ccf..54fea7e 100755 --- a/pkgbuilder/main.py +++ b/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) diff --git a/pkgbuilder/pbds.py b/pkgbuilder/pbds.py index 7d74db6..6006c83 100755 --- a/pkgbuilder/pbds.py +++ b/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. diff --git a/pkgbuilder/upgrade.py b/pkgbuilder/upgrade.py index 67259c5..8c18c57 100755 --- a/pkgbuilder/upgrade.py +++ b/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) diff --git a/pkgbuilder/utils.py b/pkgbuilder/utils.py index 9d4dfc6..dab9b54 100755 --- a/pkgbuilder/utils.py +++ b/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']) diff --git a/pkgbuilder/wrapper.py b/pkgbuilder/wrapper.py index 48dea73..2b18c09 100755 --- a/pkgbuilder/wrapper.py +++ b/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. diff --git a/setup.py b/setup.py index 99937de..1ca9e85 100755 --- a/setup.py +++ b/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',