Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161442 - net-print/pykota 1.25 needs pkipplib, pypam and more
Summary: net-print/pykota 1.25 needs pkipplib, pypam and more
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL: http://www.pykota.com
Whiteboard:
Keywords:
Depends on:
Blocks: 211810
  Show dependency tree
 
Reported: 2007-01-10 23:32 UTC by Mark
Modified: 2008-07-12 21:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pykota-1.25_p2437.ebuild (pykota-1.25_p2437.ebuild,1.54 KB, text/plain)
2007-01-11 02:32 UTC, Greg Watson (linuxkrn)
Details
ebuild for svn-sources (pykota-1.25.ebuild,1.80 KB, text/plain)
2007-01-11 13:32 UTC, Mark
Details
Initial pkipplib ebuild (pkipplib-0.07.ebuild,414 bytes, text/plain)
2007-04-08 12:55 UTC, Thomas Anderson (tanderson) (RETIRED)
Details
Initial PyPAM ebuild. (PyPAM-0.4.2.ebuild,768 bytes, text/plain)
2007-04-10 23:04 UTC, Thomas Anderson (tanderson) (RETIRED)
Details
Patch to provide USE-based installation of PyPAM (diff,272 bytes, patch)
2007-04-10 23:55 UTC, Thomas Anderson (tanderson) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2007-01-10 23:32:26 UTC
Version 1.25 is out since 03.12.2006
Summary of changes:
http://www.pykota.com/Members/jerome/pykota-v1-25-official-is-finally-out

Reproducible: Always
Comment 1 Greg Watson (linuxkrn) 2007-01-11 02:32:38 UTC
Created attachment 106482 [details]
pykota-1.25_p2437.ebuild

Snapshot of svn 1.25 p2437
Comment 2 Mark 2007-01-11 13:32:46 UTC
Created attachment 106548 [details]
ebuild for svn-sources

since the downloads of pykota-packages from pykota.com costs a fee (-> fetch restriction) and are not usable by gentoo, someone has to fetch a snaphsot from their subversion repository, but the ebuild could use svn to directly fetch the current release from svn://svn.librelogiciel.com/pykota/tags/${PV}.
I modified your ebuild; downloading/unpacking the sources works but I didn't test the install-procedure on my computer
Comment 3 Greg Watson (linuxkrn) 2007-01-11 13:39:32 UTC
Thanks for the ebuild, however, normally svn ebuilds are not added to portage due to size and risk of daily breakage.  It's much better to snapshot the code and ensure that it works for everyone no matter when they try to merge.

Please take a look at this.
http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/svn-sources/index.html
Comment 4 Mark 2007-01-11 14:10:12 UTC
but I don't fetch the latest unstable version (trunk), I'm using the stable version tag-1.25 from svn so it shouldn't be a problem. 

(Ok, you may add -r 2425 to the update/fetch lines to be sure to have the same sources even if they change the sources from tag 1.25 (though I don't think that the will do that because it's not common to create a tag and edit it afterwards))

Here you can see their tags: http://svn.librelogiciel.com/cgi-bin/viewcvs.cgi/pykota/tags/
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2007-03-14 16:28:32 UTC
thanks, committed
Comment 6 Mark 2007-03-30 13:59:46 UTC
some comments (I'm installing/configuring pykota right now):

pykota-1.25_p2437 does not work, because it needs pkipplib, which is not in portage.
It can be obtained here:
http://www.pykota.com/software/pkipplib/download
After installing this package pykota worked.

pykota documentation and scripts want a pykota system user:
"WARN: The 'pykota' system account is missing. Configuration files were searched in /etc/pykota instead."
(though they seem to work without it, I'm using /etc/pykota)

Further the readme says that the chardet tool is needed, which is in portage: dev-python/chardet
I don't know if it is optional or not, I installed it to be sure.

I had to emerge dev-python/mysql-python though it is used in the ebuild (mysql-useflag is set). Strange.

Some people may need PyPAM for pykota, which is not in portage  (http://www.pangalactic.org/PyPAM).
But it is optional only as it is for the pknotify command only.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-05 22:13:35 UTC
Can you please provide a patch/ebuilds for the new packages?
Comment 8 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-04-08 12:55:43 UTC
Created attachment 115720 [details]
Initial pkipplib ebuild

This is an initial ebuild for pkipplib(noted above to be a dependency).
Comment 9 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-04-08 12:58:01 UTC
(In reply to comment #8)
> Created an attachment (id=115720) [edit]
> Initial pkipplib ebuild
> 
> This is an initial ebuild for pkipplib(noted above to be a dependency).
> 
 x86 herd, would you please mark this ebuild(pkipplib) ~x86?
Comment 10 Bryan Østergaard (RETIRED) gentoo-dev 2007-04-08 13:20:31 UTC
Thanks Thomas. Ebuild committed with added ~x86 keyword.
Comment 11 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-04-10 23:04:16 UTC
Created attachment 115943 [details]
Initial PyPAM ebuild.

This ebuild installs the Python Modules for PAM. I have tested it on ~amd64. I will post a patch to the pkipplib ebuild to  provide a USE-based installation of PyPAM from pkipplib.
Comment 12 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-04-10 23:55:30 UTC
Created attachment 115944 [details, diff]
Patch to provide USE-based installation of PyPAM

If USE="pam" then it installs dev-python/PyPAM. If anyone has a better USE flag to use, then please change it. This was the only one I could think of.
Comment 13 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-13 09:30:40 UTC
I added the missing depends
python herd please take care of pypam
Comment 14 Marien Zwart (RETIRED) gentoo-dev 2007-05-28 19:07:37 UTC
dev-python/pypam-0.5.0 is now in portage, marked ~x86. CC-ing amd64 because pkipplib is ~amd64: please test and mark pypam ~amd64 so it can be added as dep there.
Comment 15 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-05-28 19:24:02 UTC
Technically it is illegal for pkipplib to be marked ~amd64 while a dependency does not have that keyword...

Since I tested this with marienz, I guess I could say it is tested on amd64 stable.
Comment 16 Christoph Mende (RETIRED) gentoo-dev 2007-06-24 14:19:25 UTC
~amd64 added
Comment 17 MasterC 2007-12-17 18:42:41 UTC
Please update portage to grab the latest 1.26 tag
Comment 18 Tomas Kindl 2008-07-06 18:07:57 UTC
Hi, tried PyKota on PPC machine and it works. 

So I'd suggest you add ~ppc keyword to net-print/pykota as well as to its masked dependancies: net-print/pkpgcounter-3.20, dev-python/chardet-1.0.1 and dev-python/pkipplib-0.07.
Comment 19 Rob Cakebread (RETIRED) gentoo-dev 2008-07-12 21:06:45 UTC
I'm closing this as FIXED because it's in the tree, and everything in the original summary is fixed. Note there is a separate version bump bug for 1.26 already #211810 so if you want further action (new keywords etc.), please open a separate bug.