Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211810

Summary: net-print/pykota-1.26 version bump
Product: Gentoo Linux Reporter: MasterC <MasterCLC>
Component: New packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: enhancement CC: chris, printing
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://pykota.com
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 161442    
Bug Blocks:    
Attachments: Pykota 1.26 ebuild
Pykota 1.26 ebuild
net-print/pykota-1.26 version bump
net-print/pykota-1.26 version bump
pykota-1.26.ebuild
pykota svn trunk ebuild
pykota-1.26.ebuild
pykota svn trunk ebuild
images to beautify the html doc

Description MasterC 2008-02-28 17:27:49 UTC
The existing (only) ebuild for PyKota is considerably old.  There are a lot of improvements in the newer version, and it works with the newer Python versions.  The attached ebuild needs a little tweaking due to the requirement to download a package that isn't in portage distfiles.  If the package were in portage distfiles the local package wouldn't be necessary.

Reproducible: Always

Steps to Reproduce:
1.  Need printing solution
2.  Have newer Python
3.  emerge pykota

Actual Results:  
An ancient pykota is emerged that has problems with newer python.

Expected Results:  
The latest python emerged, and blissful printing is accounted.

I'll attach an ebuild that I use.
Comment 1 MasterC 2008-02-28 17:29:56 UTC
Created attachment 144884 [details]
Pykota 1.26 ebuild

SRC_URI needs to be changed to an actual location of the package, or the package needs to be included in portage.
Comment 2 MasterC 2008-02-28 17:48:59 UTC
Grab the source from svn:
       $ svn co svn://svn.librelogiciel.com/pykota/tags/1.26 pykota

Create bzipped tarball of source:
       $ tar cvjf pykota-1.26.tar.bz2 pykota

Move bzipped tarball to localhost webroot:
       $ mv pykota-1.26.tar.bz2 /var/www/localhost/htdocs

Then emerge:
       # emerge =net-print/pykota-1.26 -a
Comment 3 MasterC 2008-02-28 17:51:34 UTC
Created attachment 144886 [details]
Pykota 1.26 ebuild

Moves it outside the /files directory into webroot.
Comment 4 Jesus Rivero (RETIRED) gentoo-dev 2008-07-15 14:23:31 UTC
Created attachment 160443 [details]
net-print/pykota-1.26 version bump

Minor tweaks to the ebuild in here. Added pypam support -> USE='pam'
I left ~amd64 because of bug 161442

Best regards,
Comment 5 Jesus Rivero (RETIRED) gentoo-dev 2008-07-15 14:26:02 UTC
Created attachment 160444 [details]
net-print/pykota-1.26 version bump

Removed extra einfo..
Comment 6 MasterC 2009-03-19 19:44:05 UTC
(In reply to comment #2)
> Grab the source from svn:
>        $ svn co svn://svn.librelogiciel.com/pykota/tags/1.26 pykota

Pull the tag from the new domain:

$ svn co http://pykota.com/pykota/tags/1.26 pykota
Comment 7 Chris Smith 2010-05-31 02:09:47 UTC
Created attachment 233595 [details]
pykota-1.26.ebuild

Grabs the source and builds the html documentation.
Comment 8 Chris Smith 2010-05-31 02:11:03 UTC
Created attachment 233597 [details]
pykota svn trunk ebuild

for those living on the edge
grabs the source and builds the html documentation
Comment 9 Chris Smith 2010-05-31 14:37:01 UTC
Created attachment 233667 [details]
pykota-1.26.ebuild

Sorry, forgot to wrap the html doc building in an "if" block.
Comment 10 Chris Smith 2010-05-31 14:38:03 UTC
Created attachment 233669 [details]
pykota svn trunk ebuild

Same as above - needed to wrap the html doc building in an "if" block.
Comment 11 Chris Smith 2010-05-31 14:40:39 UTC
Created attachment 233673 [details]
images to beautify the html doc

place in the ${FILESDIR}
Comment 12 Chris Smith 2010-06-01 00:33:54 UTC
Want to mention that I've noticed a problem using pygresql-4.0 with pykota-1.26's printquota.cgi. I don't know if it's an issue between postgresql-8.2.x and pygresql or pykota and pygresql. Downgrading to pygresql-3.8.1 seems to solve the issue.
Comment 13 Chris Smith 2010-06-06 22:48:49 UTC
(In reply to comment #12)
> Want to mention that I've noticed a problem using pygresql-4.0 with
> pykota-1.26's printquota.cgi. I don't know if it's an issue between
> postgresql-8.2.x and pygresql or pykota and pygresql. Downgrading to
> pygresql-3.8.1 seems to solve the issue.
> 
So to clarify, although there is no build issue with pygresql-4.0 as mentioned in Bug #279690 with pykota-1.26 there is still an end user issue with printquota.cgi.
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2012-01-31 22:30:57 UTC
Bumped from last in-tree version (a lot of python stuff has gone down the drain in the meantime...)