Re: mail/py-spambayes and Python 2.6 update

2009-07-01 Thread Torfinn Ingolfsen
Hello,

On Tue, Jun 30, 2009 at 11:43 PM, Li-Wen Hsu wrote:
> According this thread:
>
> http://mail.python.org/pipermail/spambayes/2009-June/022430.html
>
> Currently the best solution might be using Python 2.5 on the system
> and using that for mail/py-spambayes.

Thanks.
Is it possible to have both Python 2.6 and 2.5 installed on a FreeBSD
machine at the same time (from ports, without a lot of wrangling)?

-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mail/py-spambayes and Python 2.6 update

2009-07-01 Thread Torfinn Ingolfsen
More info.

On Wed, Jul 1, 2009 at 10:43 AM, Torfinn Ingolfsen wrote:
> Is it possible to have both Python 2.6 and 2.5 installed on a FreeBSD
> machine at the same time (from ports, without a lot of wrangling)?


Well, Python 2.5 installed without a hitch.
However, just changing 'python' to 'python2.5' in
/usr/local/etc/rc.d/pyspamd and /usr/local/etc/sb_server.py didn't
work.
And when I install / reinstall the py-spambayes port, it installs
modules in Python 2.6 site directories.

I guess a bit of wrangling is needed.
-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mail/py-spambayes and Python 2.6 update

2009-07-01 Thread Wesley Shields
On Wed, Jul 01, 2009 at 11:01:40AM +0200, Torfinn Ingolfsen wrote:
> More info.
> 
> On Wed, Jul 1, 2009 at 10:43 AM, Torfinn Ingolfsen wrote:
> > Is it possible to have both Python 2.6 and 2.5 installed on a FreeBSD
> > machine at the same time (from ports, without a lot of wrangling)?
> 
> 
> Well, Python 2.5 installed without a hitch.
> However, just changing 'python' to 'python2.5' in
> /usr/local/etc/rc.d/pyspamd and /usr/local/etc/sb_server.py didn't
> work.
> And when I install / reinstall the py-spambayes port, it installs
> modules in Python 2.6 site directories.
> 
> I guess a bit of wrangling is needed.

The instructions in the 20090608 entry of UPDATING may help here.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mail/py-spambayes and Python 2.6 update

2009-07-01 Thread Torfinn Ingolfsen
Hello,

On Wed, Jul 1, 2009 at 3:17 PM, Wesley Shields wrote:
>> I guess a bit of wrangling is needed.
>
> The instructions in the 20090608 entry of UPDATING may help here.

Maybe I was a bit unclear: I am NOT trying to use Python 2.5 as the
default version.
I have Python 2.6 as the default, and have installed Python 2.5 as well.
Now I am trying to figure out how to get the py-spambayes port to use
Python 2.5 instead of default Python.

Hope this clear things up.
-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mail/py-spambayes and Python 2.6 update

2009-07-01 Thread Li-Wen Hsu
On Thu, Jul 2, 2009 at 02:29, Torfinn Ingolfsen wrote:
> Maybe I was a bit unclear: I am NOT trying to use Python 2.5 as the
> default version.
> I have Python 2.6 as the default, and have installed Python 2.5 as well.
> Now I am trying to figure out how to get the py-spambayes port to use
> Python 2.5 instead of default Python.
>
> Hope this clear things up.

Hi, could you try this patch and tell me if it works?

http://people.freebsd.org/~lwhsu/py-spambayes.diff

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: question/request regarding lang/python30 and x11-toolkits/py-tkinter

2009-07-01 Thread Li-Wen Hsu
On Sat, Feb 28, 2009 at 03:22, Peter Ulrich Kruppa wrote:
> Hi!
>
> Is there any special reason why py-tkinter doesn't support python30?
>
> Mind: This is no vital problem, I only would like to use idle
> with python30 .

The problem is the setup.py of this port are not compatible with Python 3.x

Have a look at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136198
Maybe the patch in that PR be useful to you.

-- 
Li-Wen Hsu
http://lwhsu.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: mail/py-spambayes and Python 2.6 update

2009-07-01 Thread Torfinn Ingolfsen
Hello,

On Wed, Jul 1, 2009 at 11:01 PM, Li-Wen Hsu wrote:
> Hi, could you try this patch and tell me if it works?
>
> http://people.freebsd.org/~lwhsu/py-spambayes.diff

Yes, this patch makes the spambayes port work again.
Many thanks - this is great!


-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: cvs commit: ports/mail/py-spambayes Makefile ports/mail/py-spambayes/files pyspamd.in

2009-07-01 Thread QAT
The Restless Daemon identified a mtree error while trying to build:
 py25-spambayes-1.0.4_3 maintained by po...@freebsd.org
 Makefile ident: $FreeBSD: ports/mail/py-spambayes/Makefile,v 1.22 2009/07/02 
01:23:45 lwhsu Exp $

Excerpt from 
http://QAT.TecNik93.com/logs/7-STABLE-FPT-NPD/py25-spambayes-1.0.4_3.log :

copying build/scripts-2.5/sb_server.py -> /usr/local/bin
copying build/scripts-2.5/sb_unheader.py -> /usr/local/bin
copying build/scripts-2.5/sb_upload.py -> /usr/local/bin
copying build/scripts-2.5/sb_xmlrpcserver.py -> /usr/local/bin
copying build/scripts-2.5/sb_chkopts.py -> /usr/local/bin
changing mode of /usr/local/bin/sb_client.py to 755
changing mode of /usr/local/bin/sb_dbexpimp.py to 755
changing mode of /usr/local/bin/sb_evoscore.py to 755
changing mode of /usr/local/bin/sb_filter.py to 755
changing mode of /usr/local/bin/sb_bnfilter.py to 755
changing mode of /usr/local/bin/sb_bnserver.py to 755
changing mode of /usr/local/bin/sb_imapfilter.py to 755
changing mode of /usr/local/bin/sb_mailsort.py to 755
changing mode of /usr/local/bin/sb_mboxtrain.py to 755
changing mode of /usr/local/bin/sb_notesfilter.py to 755
changing mode of /usr/local/bin/sb_pop3dnd.py to 755
changing mode of /usr/local/bin/sb_server.py to 755
changing mode of /usr/local/bin/sb_unheader.py to 755
changing mode of /usr/local/bin/sb_upload.py to 755
changing mode of /usr/local/bin/sb_xmlrpcserver.py to 755
changing mode of /usr/local/bin/sb_chkopts.py to 755
running install_egg_info
Writing /usr/local/lib/python2.5/site-packages/spambayes-1.0.4-py2.5.egg-info
===> Installing rc.d startup script(s)
===>   Registering installation for py25-spambayes-1.0.4_3


===>  Building package for py25-spambayes-1.0.4_3
Creating package /tmp/packages/All/py25-spambayes-1.0.4_3.tbz
Registering depends: py25-bsddb-2.5.4_2 db41-4.1.25_4 python25-2.5.4_1.
Creating bzip'd tar ball in '/tmp/packages/All/py25-spambayes-1.0.4_3.tbz'
Deleting py25-spambayes-1.0.4_3


=== Checking filesystem state
list of extra files and directories in / (not present before this port was 
installed but present after it was deinstalled)
12013224 -rw-r--r--1 root wheel 198 Jul 
 2 01:23 usr/local/lib/python2.5/site-packages/_bsddb-0.0.0-py2.5.egg-info
1201321  196 -rwxr-xr-x1 root wheel   98405 Jul 
 2 01:23 usr/local/lib/python2.5/site-packages/_bsddb.so

build of /usr/ports/mail/py-spambayes ended at Thu Jul  2 01:23:46 UTC 2009

The tarballed WRKDIR can be found here:
http://QAT.TecNik93.com/wrkdirs/7-STABLE-FPT-NPD/py25-spambayes-1.0.4_3.tbz

PortsMon page for the port:
http://portsmon.freebsd.org/portoverview.py?category=mail&portname=py-spambayes

The build which triggered this BotMail was done under
tinderbox-devel-3.2_4; dsversion: 3.2 on RELENG_7 on amd64, kern.smp.cpus: 4
with tinderd_flags="-nullfs -plistcheck -onceonly" and ccache support, with the
"official" up-to-date Ports Tree, with the following vars set:
NOPORTDOCS=yes,  NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes.

A description of the testing process can be found here:
http://T32.TecNik93.com/FreeBSD/QA-Tindy/


Thanks for your work on making FreeBSD better,

--
QAT - your friendly neighborhood Daemon,
preparing  a heck of an error trapping system:
 - "HMC and EOI?"
 - "Halt, Melt and Catch fire or Execute Operator Immediately."

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: cvs commit: ports/mail/py-spambayes Makefile ports/mail/py-spambayes/files pyspamd.in

2009-07-01 Thread Li-Wen Hsu
On Thu, Jul 02, 2009 at 01:23:47 +, q...@freebsd.org wrote:
> === Checking filesystem state
> list of extra files and directories in / (not present before this port was 
> installed but present after it was deinstalled)
> 12013224 -rw-r--r--1 root wheel 198 
> Jul  2 01:23 usr/local/lib/python2.5/site-packages/_bsddb-0.0.0-py2.5.egg-info
> 1201321  196 -rwxr-xr-x1 root wheel   98405 
> Jul  2 01:23 usr/local/lib/python2.5/site-packages/_bsddb.so

These should be removed after deinstall py25-bsddb.

However, this port would depend on py25-bsddb-2.5.4_2.tbz, and looks this
package will not be built in official package build... any thought?

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [REPOST] problem upgrading perl

2009-07-01 Thread Scott Bennett
 On Tue, 30 Jun 2009 12:45:32 +0400 Boris Samorodov 
wrote:
>Scott Bennett  writes:
>
>> The first is, which is the best tool for doing updates
>> with a preference for using packages rather than rebuilds of ports (a la
>> "portupgrade -aP")?
>
>You may take a look at sysutils/bsdadminscripts which use pkg_upgrade
>to manage packages.
>
 Thank you very much!  I just now installed them per your suggestion
and will take a close look.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: cvs commit: ports/mail/py-spambayes Makefile ports/mail/py-spambayes/files pyspamd.in

2009-07-01 Thread Ion-Mihai Tetcu
On Thu, 2 Jul 2009 09:41:28 +0800
Li-Wen Hsu  wrote:

> On Thu, Jul 02, 2009 at 01:23:47 +, q...@freebsd.org wrote:
> > === Checking filesystem state
> > list of extra files and directories in / (not present before this port was 
> > installed but present after it was deinstalled)
> > 12013224 -rw-r--r--1 root wheel 198 Jul  2 
> > 01:23 usr/local/lib/python2.5/site-packages/_bsddb-0.0.0-py2.5.egg-info
> > 1201321  196 -rwxr-xr-x1 root wheel   98405 Jul  2 
> > 01:23 usr/local/lib/python2.5/site-packages/_bsddb.so
> 
> These should be removed after deinstall py25-bsddb.
> 
> However, this port would depend on py25-bsddb-2.5.4_2.tbz, and looks
> this package will not be built in official package build... any
> thought?


One thing that strikes me is that it seems to depend on 2 python
versions if not python (or a version !=26) is installed :
BUILD_DEPENDS=python25-2.5.4_1.tbz 
RUN_DEPENDS=db41-4.1.25_4.tbz python26-2.6.2.tbz py26-bsddb-2.6.2_2.tbz 
python25-2.5.4_1.tbz

And what happens here seems to be a wrong dependency line:
..
pkg_add py26-bsddb-2.6.2_2.tbz
pkg_add python25-2.5.4_1.tbz
skipping python25-2.5.4_1, already added
===>  Installing for py25-spambayes-1.0.4_3
===>   py25-spambayes-1.0.4_3 depends on file: 
/usr/local/lib/python2.5/site-packages/_bsddb.so - not found
===>Verifying install for /usr/local/lib/python2.5/site-packages/_bsddb.so 
in /usr/ports/databases/py-bsddb
=> Python-2.5.4.tgz doesn't seem to exist in /tmp/distfiles/python.
=> Attempting to fetch from file:///distcache/python/.
Python-2.5.4.tgz11 MB  343 MBps
===>  Extracting for py25-bsddb-2.5.4_2
=> MD5 Checksum OK for python/Python-2.5.4.tgz.
=> SHA256 Checksum OK for python/Python-2.5.4.tgz.
===>  Patching for py25-bsddb-2.5.4_2
.

It's pulling py26-bsddb-2.6.2_2.tbz but it actually wants
py25-bsddb-2.5_4.tbz and this is the reason for leftovers since tindy
removes only py26-bsddb-2.6.2_2.tbz as it knows nothing about
py25-bsddb-2.5_4.tbz

I don't have time to investigate now if it's a problem in bsd.python.mk
or you should try to write
 RUN_DEPENDS=${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb
after bsd.python.mk is included or something else.

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> ite...@freebsd.org, PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


User Quarantine Release Notification - Thu, 02 Jul 2009 00:19:07 -0600

2009-07-01 Thread User
An email sent to you was quarantined. This notification lists your emails 
quarantined since the previous Quarantine Release Notification. Click a Message 
ID to release an email from quarantine. If an email has multiple recipients, 
when any one recipient releases the email, it is released for that recipient 
only. You may have additional messages that were quarantined before this  
notification. Click on the first hyperlink on this page (or copy and paste the 
link into a browser) to view a list of all of your quarantined messages. If any 
messages in this notification are deleted or released before you view the list, 
those messages do not appear in the list.

https://godzilla2.mscd.edu:443/urq/urqMailList.do?method=processMail&4f52aded707dee73e50d29804066ab286f1cd6d621147588

Message ID  Sender  Subject Size(Bytes) DateInfoMultiple 
Recipients



461814109   writ...@mscd.eduREACH OUT !!!   38242009-07-01 
17:17:03 SPAMQ TRU ESP50 Y
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"