diff --git a/MANIFEST b/MANIFEST index d1a20f2..9984f4a 100644 --- a/MANIFEST +++ b/MANIFEST @@ -3,7 +3,6 @@ INSTALL.py LICENSE README README.rst -TODO.rst pkgbuilder.py setup.py docs/Makefile diff --git a/PKGBUILD b/PKGBUILD index 8a6abd3..de7b1d7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ -# Maintainer: Kwpolska +# Maintainer: Kwpolska pkgname=pkgbuilder -pkgver=2.1.0 +pkgver=2.1.1 pkgrel=1 pkgdesc="A basic Python AUR helper/library." arch=('any') @@ -8,8 +8,8 @@ url="https://github.com/Kwpolska/pkgbuilder" license=('BSD') depends=('python' 'pyalpm' 'python-pyparsing') options=(!emptydirs) -source=('http://pypi.python.org/packages/source/p/pkgbuilder/pkgbuilder-2.1.0.tar.gz') -md5sums=('d6f495345dde0cb3774dc9f3f3eafaaa') +source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('ccc0ffdd929b05ed7cc689d16ec06b04') package() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/README.rst b/README.rst index 4ea48f2..3d41064 100644 --- a/README.rst +++ b/README.rst @@ -3,8 +3,8 @@ README for PKGBUILDer ===================== :Info: This is the README file for PKGBUILDer. :Author: Kwpolska -:Date: 2011-09-20 -:Version: 2.1.0 +:Date: 2011-09-22 +:Version: 2.1.0.2 PKGBUILDer. A Python AUR helper/library. ========================================= diff --git a/TODO.rst b/TODO.rst deleted file mode 100644 index 92a6549..0000000 --- a/TODO.rst +++ /dev/null @@ -1,15 +0,0 @@ -=================== -TODO for PKGBUILDer -=================== -:Info: This is a TODO list for PKGBUILDer. -:Author: Kwpolska -:Date: 2011-09-20 -:Version: 2.1.0 - -I have a few cool (and impossible) ideas for PKGBUILDer. This file -would list them. If you know Python, you can write them and send -me a patch. - - * pacmanization: - extra/gnutls 3.0.3-1 [1.33 MB] [installed: 3.0.2-1] - diff --git a/dist/pkgbuilder-2.1.0.1.tar.gz b/dist/pkgbuilder-2.1.0.1.tar.gz new file mode 100644 index 0000000..3620759 Binary files /dev/null and b/dist/pkgbuilder-2.1.0.1.tar.gz differ diff --git a/dist/pkgbuilder-2.1.0.2.tar.gz b/dist/pkgbuilder-2.1.0.2.tar.gz new file mode 100644 index 0000000..6f21c9a Binary files /dev/null and b/dist/pkgbuilder-2.1.0.2.tar.gz differ diff --git a/dist/pkgbuilder-2.1.0.tar.gz b/dist/pkgbuilder-2.1.0.tar.gz index e1c3411..43c98ad 100644 Binary files a/dist/pkgbuilder-2.1.0.tar.gz and b/dist/pkgbuilder-2.1.0.tar.gz differ diff --git a/dist/pkgbuilder-2.1.1.tar.gz b/dist/pkgbuilder-2.1.1.tar.gz new file mode 100644 index 0000000..b57c1a6 Binary files /dev/null and b/dist/pkgbuilder-2.1.1.tar.gz differ diff --git a/docs/README.rst b/docs/README.rst index 4ea48f2..1d75d01 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -3,8 +3,8 @@ README for PKGBUILDer ===================== :Info: This is the README file for PKGBUILDer. :Author: Kwpolska -:Date: 2011-09-20 -:Version: 2.1.0 +:Date: 2011-09-22 +:Version: 2.1.1 PKGBUILDer. A Python AUR helper/library. ========================================= diff --git a/docs/_build/doctrees/README.doctree b/docs/_build/doctrees/README.doctree index 15757ad..ed50495 100644 Binary files a/docs/_build/doctrees/README.doctree and b/docs/_build/doctrees/README.doctree differ diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index eeabb7e..e672699 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/errorcodes.doctree b/docs/_build/doctrees/errorcodes.doctree index 69cca43..d2700cd 100644 Binary files a/docs/_build/doctrees/errorcodes.doctree and b/docs/_build/doctrees/errorcodes.doctree differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index 762778e..635bc51 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/doctrees/pkgbuilder.doctree b/docs/_build/doctrees/pkgbuilder.doctree index 152a653..905b174 100644 Binary files a/docs/_build/doctrees/pkgbuilder.doctree and b/docs/_build/doctrees/pkgbuilder.doctree differ diff --git a/docs/conf.py b/docs/conf.py index 3865dab..59a87e4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,7 @@ # The short X.Y version. version = '2.1' # The full version, including alpha/beta/rc tags. -release = '2.1.0' +release = '2.1.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/errorcodes.rst b/docs/errorcodes.rst index 1315b7d..66b7e49 100644 --- a/docs/errorcodes.rst +++ b/docs/errorcodes.rst @@ -3,8 +3,8 @@ Appendix B. PKGBUILDer error messages list ========================================== :Info: This is an appendix to the PKGBUILDer documentation. :Author: Kwpolska -:Date: 2011-09-20 -:Version: 2.1.0 +:Date: 2011-09-22 +:Version: 2.1.1 In order to help debugging, error messages are numbered. Each error message number has four digits: the first one is the diff --git a/docs/html/.buildinfo b/docs/html/.buildinfo index 5990c2c..043a002 100644 --- a/docs/html/.buildinfo +++ b/docs/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 49b727a30472ad9de95e044f2c998716 +config: ff0290a11e8b31c67cb10aaf924d6ab8 tags: fbb0d17656682115ca4d033fb2f83ba1 diff --git a/docs/html/README.html b/docs/html/README.html index cda8c7d..fd9c7f6 100644 --- a/docs/html/README.html +++ b/docs/html/README.html @@ -7,13 +7,13 @@ - README for PKGBUILDer — PKGBUILDer v2.1.0 documentation + README for PKGBUILDer — PKGBUILDer v2.1.1 documentation - + @@ -36,7 +36,7 @@

Navigation

  • previous |
  • -
  • PKGBUILDer v2.1.0 documentation »
  • +
  • PKGBUILDer v2.1.1 documentation »
  • @@ -55,9 +55,9 @@

    README for PKGBUILDer Author:Kwpolska <kwpolska@kwpolska.tk> -Date:2011-09-20 +Date:2011-09-22 -Version:2.1.0 +Version:2.1.1 @@ -167,12 +167,12 @@

    Navigation

  • previous |
  • -
  • PKGBUILDer v2.1.0 documentation »
  • +
  • PKGBUILDer v2.1.1 documentation »
  • diff --git a/docs/html/_sources/README.txt b/docs/html/_sources/README.txt index 4ea48f2..1d75d01 100644 --- a/docs/html/_sources/README.txt +++ b/docs/html/_sources/README.txt @@ -3,8 +3,8 @@ README for PKGBUILDer ===================== :Info: This is the README file for PKGBUILDer. :Author: Kwpolska -:Date: 2011-09-20 -:Version: 2.1.0 +:Date: 2011-09-22 +:Version: 2.1.1 PKGBUILDer. A Python AUR helper/library. ========================================= diff --git a/docs/html/_sources/errorcodes.txt b/docs/html/_sources/errorcodes.txt index 1315b7d..66b7e49 100644 --- a/docs/html/_sources/errorcodes.txt +++ b/docs/html/_sources/errorcodes.txt @@ -3,8 +3,8 @@ Appendix B. PKGBUILDer error messages list ========================================== :Info: This is an appendix to the PKGBUILDer documentation. :Author: Kwpolska -:Date: 2011-09-20 -:Version: 2.1.0 +:Date: 2011-09-22 +:Version: 2.1.1 In order to help debugging, error messages are numbered. Each error message number has four digits: the first one is the diff --git a/docs/html/_sources/index.txt b/docs/html/_sources/index.txt index 27e10d0..32b2333 100644 --- a/docs/html/_sources/index.txt +++ b/docs/html/_sources/index.txt @@ -3,8 +3,8 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. -PKGBUILDer 2.1.0 documentation -============================== +PKGBUILDer 2.1.1 documentation +================================ Contents: diff --git a/docs/html/_sources/pkgbuilder.txt b/docs/html/_sources/pkgbuilder.txt index ea003e7..a92d9ef 100644 --- a/docs/html/_sources/pkgbuilder.txt +++ b/docs/html/_sources/pkgbuilder.txt @@ -7,9 +7,9 @@ a Python AUR helper/library ----------------------------------- :Author: Kwpolska -:Date: 2011-09-20 :Copyright: This document has been placed in the public domain. -:Version: 2.1.0 +:Date: 2011-09-22 +:Version: 2.1.1 :Manual section: 8 :Manual group: PKGBUILDer manual @@ -43,8 +43,8 @@ OPERATIONS | Votes : AUR votes | Out of Date : yes or no | Maintainer : package owner - | Last Updated : ISO date (1970-01-01T00:00:00Z) - | First Submitted: ISO date + | Last Updated : date (pacman's format) + | First Submitted: date (pacman's format) | Description : the package description **-s, --search** diff --git a/docs/html/errorcodes.html b/docs/html/errorcodes.html index abdbae5..8bdd0ae 100644 --- a/docs/html/errorcodes.html +++ b/docs/html/errorcodes.html @@ -7,13 +7,13 @@ - Appendix B. PKGBUILDer error messages list — PKGBUILDer v2.1.0 documentation + Appendix B. PKGBUILDer error messages list — PKGBUILDer v2.1.1 documentation - - + + @@ -51,9 +51,9 @@

    Appendix B. PKGBUILDer error messages listAuthor:Kwpolska <kwpolska@kwpolska.tk> -Date:2011-09-20 +Date:2011-09-22 -Version:2.1.0 +Version:2.1.1 @@ -254,7 +254,7 @@

    Table Of Contents

    Previous topic

    Appendix A. README

    + title="previous chapter">README for PKGBUILDer

    diff --git a/docs/html/index.html b/docs/html/index.html index 909d61c..7f88aea 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -7,13 +7,13 @@ - PKGBUILDer 2.1.0 documentation — PKGBUILDer v2.1.0 documentation + PKGBUILDer 2.1.1 documentation — PKGBUILDer v2.1.1 documentation - + @@ -32,7 +32,7 @@

    Navigation

  • next
  • -
  • PKGBUILDer v2.1.0 documentation »
  • +
  • PKGBUILDer v2.1.1 documentation »
  • @@ -41,8 +41,8 @@

    Navigation

    -
    -

    PKGBUILDer 2.1.0 documentation

    +
    +

    PKGBUILDer 2.1.1 documentation

    Contents:

    diff --git a/docs/html/pkgbuilder.html b/docs/html/pkgbuilder.html index f26d811..e856ee2 100644 --- a/docs/html/pkgbuilder.html +++ b/docs/html/pkgbuilder.html @@ -7,13 +7,13 @@ - PKGBUILDer — PKGBUILDer v2.1.0 documentation + PKGBUILDer — PKGBUILDer v2.1.1 documentation - - - + + + @@ -55,11 +55,11 @@

    a Python AUR helper/library Author:Kwpolska <kwpolska@kwpolska.tk> -Date:2011-09-20 - Copyright:This document has been placed in the public domain. -Version:2.1.0 +Date:2011-09-22 + +Version:2.1.1 Manual section:8 @@ -95,8 +95,8 @@

    OPERATIONSVotes : AUR votes

    Out of Date : yes or no
    Maintainer : package owner
    -
    Last Updated : ISO date (1970-01-01T00:00:00Z)
    -
    First Submitted: ISO date
    +
    Last Updated : date (pacman’s format)
    +
    First Submitted: date (pacman’s format)
    Description : the package description
    @@ -178,10 +178,10 @@

    Table Of Contents

    Previous topic

    PKGBUILDer 2.1.0 documentation

    + title="previous chapter">PKGBUILDer 2.1.1 documentation

    Next topic

    Appendix A. README

    + title="next chapter">README for PKGBUILDer

    diff --git a/docs/html/search.html b/docs/html/search.html index bc10916..77a269c 100644 --- a/docs/html/search.html +++ b/docs/html/search.html @@ -7,13 +7,13 @@ - Search — PKGBUILDer v2.1.0 documentation + Search — PKGBUILDer v2.1.1 documentation - + @@ -34,7 +34,7 @@ @@ -79,12 +79,12 @@

    Search

    diff --git a/docs/html/searchindex.js b/docs/html/searchindex.js index aeb25f6..bfcb81b 100644 --- a/docs/html/searchindex.js +++ b/docs/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({objects:{},terms:{all:0,code:[0,2,3],queri:3,four:2,follow:[0,3],content:1,iconv:2,procur:0,depend:2,friendli:3,send:3,aur:[0,1,2,3],skip:3,aris:0,neglig:0,introduc:0,merchant:0,digit:2,sourc:0,string:2,util:2,exact:2,err:2,list:[0,1,2],pleas:2,impli:0,direct:0,maintain:[2,3],download:2,compat:[0,3],index:[],sub:2,section:3,calcul:2,current:3,version:[0,2,3],"new":0,order:2,"public":3,deriv:0,disclaim:0,met:0,modif:0,sinc:3,search:[2,3],prior:0,permit:0,extra:0,modul:[2,3],api:2,instal:[0,2,3],from:[0,2,3],proceed:2,visit:3,perl:0,usr:0,tell:2,more:[0,2,3],desir:2,notic:0,appendix:[1,2],indic:[],particular:0,must:0,pkgbuild:2,pyalpm:0,work:3,subel:2,can:3,purpos:0,root:2,process:3,accept:3,"00z":3,tarbal:2,occur:2,instead:3,updat:[2,3],product:0,after:2,befor:2,date:[0,2,3],data:0,man:0,"short":2,author:[0,2,3],element:2,caus:0,inform:2,bulit:2,juan:2,oper:3,help:2,softwar:0,consent:0,through:2,paramet:[0,3],conjunct:3,group:3,fit:0,makepkg:[2,3],tort:0,mail:3,non:2,good:0,"return":2,thei:3,python:[0,1,2,3],interrupt:0,now:[0,3],nor:[0,2],name:[0,3],auto_build:2,refresh:3,each:2,debug:2,found:[2,3],mean:2,domain:3,vote:3,redistribut:0,happen:2,extract:2,event:0,special:[0,3],out:[0,2,3],shown:2,profit:0,categori:[1,2,3],cwd:3,reason:2,theori:0,ask:2,"byte":2,place:3,retain:0,first:[2,3],origin:[0,3],endors:0,arrai:2,number:2,predepcheck:2,mai:0,instruct:2,wrapper:[0,3],wasn:2,owner:[0,3],stabl:0,script:[2,3],licens:3,system:2,messag:[1,2],too:2,illeg:2,option:3,copi:0,sync:3,github:3,holder:0,than:2,target:3,provid:[0,2,3],charact:2,posit:2,sai:3,ani:0,packag:[0,2,3],substitut:0,need:[0,2],issu:[2,3],built:3,note:0,also:[2,3],without:0,build:[0,2,3],advis:0,even:0,distribut:0,shall:[0,3],multipli:2,letter:2,phase:3,"class":2,url:3,doc:0,request:2,doe:2,syntax:3,find:2,copyright:[0,3],explain:2,busi:0,hit:2,variou:3,get:2,express:0,pypi:0,repo:3,cannot:2,report:3,liabl:0,requir:2,bad:2,see:3,result:2,reserv:0,someth:2,written:0,pkgbuilder:[0,1,2,3],neither:0,incident:0,last:3,howev:[0,2],contract:0,mani:0,com:3,comment:2,kwpolska:[0,2,3],color:3,exemplari:0,damag:0,liabil:0,addition:3,three:2,been:3,compon:2,much:3,basic:[],consequenti:0,piconv:2,togeth:2,plain:2,servic:0,"while":2,abov:[0,2],error:[1,2],helper:[0,1,3],tabl:[],readm:[0,1],them:3,synopsi:3,incorrectli:2,perform:2,make:3,shorter:2,binari:0,html:0,decod:2,document:[0,1,2,3],http:3,depcheck:2,user:3,syu:3,techniqu:3,exampl:[2,3],thi:[0,2,3],usual:2,identifi:2,"01t00":3,add:[0,2],valid:[2,3],input:2,match:2,bin:0,applic:3,which:[2,3],format:3,read:2,big:0,password:2,python3:0,loss:0,specif:0,makedepend:2,manual:3,nocolor:3,output:2,page:[0,3],right:[0,2],indirect:0,librari:[0,1,3],tmp:3,leap:0,exit:2,iso:3,condit:0,reproduc:0,thhe:3,refer:[0,2],usag:2,broken:2,promot:0,repositori:2,about:[2,3],materi:0,submitt:2,encod:2,automat:[2,3],warranti:0,contributor:0,your:2,git:3,wai:0,submit:3,avail:0,strict:0,includ:[0,2],forward:0,properli:2,form:0,offer:3,forc:3,bug:3,info:[0,2,3],utf:2,possibl:[0,2,3],whether:0,pacman:[0,2,3],displai:[2,3],limit:0,otherwis:0,problem:2,featur:0,uid:3,dure:2,exist:2,file:[0,2],check:[2,3],when:2,field:2,other:[0,2,3],sysupgrad:3,you:[0,2,3],novalid:3,sequenc:2,ansi:3,dropbox:3,outdat:2,directori:3,descript:3,ignor:[2,3],time:2,unicodedecodeerror:2},objtypes:{},titles:["README for PKGBUILDer","PKGBUILDer 2.1.0 documentation","Appendix B. PKGBUILDer error messages list","PKGBUILDer"],objnames:{},filenames:["README","index","errorcodes","pkgbuilder"]}) \ No newline at end of file +Search.setIndex({objects:{},terms:{all:0,code:[0,2,3],queri:3,four:2,follow:[0,3],content:1,iconv:2,procur:0,depend:2,friendli:3,send:3,aur:[0,1,2,3],skip:3,aris:0,neglig:0,introduc:0,merchant:0,digit:2,sourc:0,string:2,util:2,exact:2,err:2,list:[0,1,2],pleas:2,impli:0,direct:0,maintain:[2,3],download:2,compat:[0,3],index:[],sub:2,section:3,calcul:2,current:3,version:[0,2,3],"new":0,order:2,"public":3,deriv:0,disclaim:0,met:0,modif:0,sinc:3,search:[2,3],prior:0,permit:0,extra:0,modul:[2,3],api:2,instal:[0,2,3],from:[0,2,3],proceed:2,visit:3,perl:0,usr:0,tell:2,more:[0,2,3],desir:2,notic:0,appendix:[1,2],indic:[],particular:0,must:0,pkgbuild:2,pyalpm:0,work:3,subel:2,can:3,purpos:0,root:2,process:3,accept:3,"00z":[],tarbal:2,occur:2,instead:3,updat:[2,3],product:0,after:2,befor:2,date:[0,2,3],data:0,man:0,"short":2,author:[0,2,3],element:2,caus:0,inform:2,bulit:2,juan:2,oper:3,help:2,softwar:0,consent:0,through:2,paramet:[0,3],conjunct:3,group:3,fit:0,makepkg:[2,3],tort:0,mail:3,non:2,good:0,"return":2,thei:3,python:[0,1,2,3],interrupt:0,now:[0,3],nor:[0,2],name:[0,3],auto_build:2,refresh:3,each:2,debug:2,found:[2,3],mean:2,domain:3,vote:3,redistribut:0,happen:2,extract:2,event:0,special:[0,3],out:[0,2,3],shown:2,profit:0,categori:[1,2,3],cwd:3,reason:2,theori:0,ask:2,"byte":2,place:3,retain:0,first:[2,3],origin:[0,3],endors:0,arrai:2,number:2,predepcheck:2,mai:0,instruct:2,wrapper:[0,3],wasn:2,owner:[0,3],stabl:0,script:[2,3],licens:3,system:2,messag:[1,2],too:2,illeg:2,option:3,copi:0,sync:3,github:3,holder:0,than:2,target:3,provid:[0,2,3],charact:2,posit:2,sai:3,ani:0,packag:[0,2,3],substitut:0,need:[0,2],issu:[2,3],built:3,note:0,also:[2,3],without:0,build:[0,2,3],advis:0,even:0,distribut:0,shall:[0,3],multipli:2,letter:2,phase:3,"class":2,url:3,doc:0,request:2,doe:2,syntax:3,find:2,copyright:[0,3],explain:2,busi:0,hit:2,variou:3,get:2,express:0,pypi:0,repo:3,cannot:2,report:3,liabl:0,requir:2,bad:2,see:3,result:2,reserv:0,someth:2,written:0,pkgbuilder:[0,1,2,3],neither:0,incident:0,last:3,howev:[0,2],contract:0,mani:0,com:3,comment:2,kwpolska:[0,2,3],color:3,exemplari:0,damag:0,liabil:0,addition:3,three:2,been:3,compon:2,much:3,basic:[],consequenti:0,piconv:2,togeth:2,plain:2,servic:0,"while":2,abov:[0,2],error:[1,2],helper:[0,1,3],tabl:[],readm:[0,1],them:3,synopsi:3,incorrectli:2,perform:2,make:3,shorter:2,binari:0,html:0,decod:2,document:[0,1,2,3],http:3,depcheck:2,user:3,syu:3,techniqu:3,exampl:[2,3],thi:[0,2,3],usual:2,identifi:2,"01t00":[],add:[0,2],valid:[2,3],input:2,match:2,bin:0,applic:3,which:[2,3],format:3,read:2,big:0,password:2,python3:0,loss:0,specif:0,makedepend:2,manual:3,nocolor:3,output:2,page:[0,3],right:[0,2],indirect:0,librari:[0,1,3],tmp:3,leap:0,exit:2,iso:[],condit:0,reproduc:0,thhe:3,refer:[0,2],usag:2,broken:2,promot:0,repositori:2,about:[2,3],materi:0,submitt:2,encod:2,automat:[2,3],warranti:0,contributor:0,your:2,git:3,wai:0,submit:3,avail:0,strict:0,includ:[0,2],forward:0,properli:2,form:0,offer:3,forc:3,bug:3,info:[0,2,3],utf:2,possibl:[0,2,3],whether:0,pacman:[0,2,3],displai:[2,3],limit:0,otherwis:0,problem:2,featur:0,uid:3,dure:2,exist:2,file:[0,2],check:[2,3],when:2,field:2,other:[0,2,3],sysupgrad:3,you:[0,2,3],novalid:3,sequenc:2,ansi:3,dropbox:3,outdat:2,directori:3,descript:3,ignor:[2,3],time:2,unicodedecodeerror:2},objtypes:{},titles:["README for PKGBUILDer","PKGBUILDer 2.1.1 documentation","Appendix B. PKGBUILDer error messages list","PKGBUILDer"],objnames:{},filenames:["README","index","errorcodes","pkgbuilder"]}) \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 27e10d0..32b2333 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -3,8 +3,8 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. -PKGBUILDer 2.1.0 documentation -============================== +PKGBUILDer 2.1.1 documentation +================================ Contents: diff --git a/docs/pkgbuilder.8.gz b/docs/pkgbuilder.8.gz index 561551e..718e32c 100644 Binary files a/docs/pkgbuilder.8.gz and b/docs/pkgbuilder.8.gz differ diff --git a/docs/pkgbuilder.rst b/docs/pkgbuilder.rst index ea003e7..a92d9ef 100644 --- a/docs/pkgbuilder.rst +++ b/docs/pkgbuilder.rst @@ -7,9 +7,9 @@ a Python AUR helper/library ----------------------------------- :Author: Kwpolska -:Date: 2011-09-20 :Copyright: This document has been placed in the public domain. -:Version: 2.1.0 +:Date: 2011-09-22 +:Version: 2.1.1 :Manual section: 8 :Manual group: PKGBUILDer manual @@ -43,8 +43,8 @@ OPERATIONS | Votes : AUR votes | Out of Date : yes or no | Maintainer : package owner - | Last Updated : ISO date (1970-01-01T00:00:00Z) - | First Submitted: ISO date + | Last Updated : date (pacman's format) + | First Submitted: date (pacman's format) | Description : the package description **-s, --search** diff --git a/pkgbuilder.py b/pkgbuilder.py index b274130..a12a08d 100755 --- a/pkgbuilder.py +++ b/pkgbuilder.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -# PKGBUILDer Version 2.1.0 +# PKGBUILDer Version 2.1.1 # A Python AUR helper/library. # Copyright Kwpolska 2011. Licensed under GPLv3. # USAGE: ./build.py pkg1 [pkg2] [pkg3] (and more) @@ -18,7 +18,7 @@ import subprocess import datetime -VERSION = '2.1.0' +VERSION = '2.1.1' ### PBDS PB global data storage ### class PBDS: @@ -40,9 +40,9 @@ def __init__(self): self.validate = True self.categories = ['E', 'E', 'daemons', 'devel', 'editors', 'emulators', 'games', 'gnome', 'i18n', 'kde', - 'kernels', 'lib', 'modules', 'multimedia', - 'network', 'office', 'science', 'system', 'x11', - 'xfce'] + 'lib', 'modules', 'multimedia', 'network', + 'office', 'science', 'system', 'x11', + 'xfce', 'kernels'] def colorson(self): """colors on""" self.colors = { @@ -206,7 +206,10 @@ def print_package(self, pkg, use_categories = True, prefix=''): category = '' installed = '' if lpkg != None: - installed = ' [installed]' + if pyalpm.vercmp(pkg['Version'], lpkg.version) != 0: + installed = ' [installed: '+lpkg.version+']' + else: + installed = ' [installed]' if pkg['OutOfDate'] == 1: installed = (installed + ' '+DS.colors['red']+'[out of date]'+ DS.colors['all_off']) @@ -587,12 +590,6 @@ def main_routine(): build = Build() pblog('Arguments parsed.') - if args.upgrade == True: - # We finally made it! - upgrade = Upgrade() - upgrade.auto_upgrade() - del(upgrade) - if args.color == False: # That's awesome in variables AND 2.x series. # ...and it was moved to PBDS. @@ -619,10 +616,10 @@ def main_routine(): ipkg['Version'], ipkg['URL'], ipkg['License'], ipkg['NumVotes'], DS.colors['red']+'yes'+DS.colors['all_off'] if (ipkg['OutOfDate'] == '1') else 'no', ipkg['Maintainer'], - datetime.datetime.utcfromtimestamp(float( - ipkg['LastModified'])).strftime('%Y-%m-%dT%H:%m:%SZ'), - datetime.datetime.utcfromtimestamp(float( - ipkg['FirstSubmitted'])).strftime('%Y-%m-%dT%H:%m:%SZ'), + datetime.datetime.fromtimestamp(float( + ipkg['LastModified'])).strftime('%a %d %b %Y %H:%m:%S %p %Z'), + datetime.datetime.fromtimestamp(float( + ipkg['FirstSubmitted'])).strftime('%a %d %b %Y %H:%m:%S %p %Z'), ipkg['Description'])) exit(0) @@ -663,6 +660,13 @@ def main_routine(): fancy_error('ERR0001: KeyboardInterrupt (^C) caught.') exit(0) + if args.upgrade == True: + # We finally made it! + upgrade = Upgrade() + upgrade.auto_upgrade() + del(upgrade) + exit(0) + # If we didn't exit, we shall build the packages. pblog('Ran through all the addon features, building...') for bpackage in args.pkgs: diff --git a/setup.py b/setup.py index 2136e65..7afaeb8 100755 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup(name='pkgbuilder', - version='2.1.0', + version='2.1.1', description='An AUR helper (and library) in python3', author='Kwpolska', author_email='kwpolska@kwpolska.tk',