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.
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.
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
Created attachment 144886 [details] Pykota 1.26 ebuild Moves it outside the /files directory into webroot.
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,
Created attachment 160444 [details] net-print/pykota-1.26 version bump Removed extra einfo..
(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
Created attachment 233595 [details] pykota-1.26.ebuild Grabs the source and builds the html documentation.
Created attachment 233597 [details] pykota svn trunk ebuild for those living on the edge grabs the source and builds the html documentation
Created attachment 233667 [details] pykota-1.26.ebuild Sorry, forgot to wrap the html doc building in an "if" block.
Created attachment 233669 [details] pykota svn trunk ebuild Same as above - needed to wrap the html doc building in an "if" block.
Created attachment 233673 [details] images to beautify the html doc place in the ${FILESDIR}
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.
(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.
Bumped from last in-tree version (a lot of python stuff has gone down the drain in the meantime...)