[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] macport's portfile of the current gnubg

From: Daisuke Takahashi
Subject: Re: [Bug-gnubg] macport's portfile of the current gnubg
Date: Sun, 6 Jul 2014 03:01:37 +0900

Dear Michael,

I could not find pymysql in the current macports, though, py-mysql, which 
provides MySQLdb, might be used as a replacement.
In my understanding, those database-binding packages are needed only for python 
scripts that utilize the game database, and the default sqlite is normally 
enough, is it right?
If so, the runtime dependency on those python packages (py-mysql or some other 
ports) seems to be too much; I suppose that a message, e.g., "Installation of 
py-mysql or py-pygersql is required for database access from python script," 
might be sufficient. 
I would like to know if there are better options. The updated portfile is 
attached here.
Thank you very much.

Daisuke Takahashi

Attachment: Portfile
Description: Binary data

On 2014/07/03, at 20:26, Michael Petch <address@hidden> wrote:

> On 2014-07-02 9:31 PM, Daisuke Takahashi wrote:
>> Dear Michael,
>> I suppose you already know it, the version of the gnubg that is available on 
>> the macports is entirely obsolete (the portfile is basically not updated 
>> since 2001).
>> Therefore, I composed a new portfile for the current release version 
>> (1.02.000), and I would like to submit it to the macports' mailing list.
>> The proposing portfile and patchfile are attached on this email. Could you 
>> please check it if there are something wrong (the dependencies, in 
>> particular)?
>> Thank you very much.
> Thanks for creating the port. After looking at it - libxml is no longer
> required. We did away with that dependency a long time ago.
> If you enable python I recommend you also add py-pymysql as a
> dependency. Without this then the MySQL database option won't work
> properly. py-pymysql is a relatively new port, but if it isn't available
> it shouldn't stop the build. This is just a runtime dependency. Without
> it the bot will run, the MySL database option just won't do anything.
> The same holds true for py-pygresql (which allows Postgres as a database
> backend).
> Thanks for your work.
> -- 
> Michael Petch
> GNU Backgammon Maintainer / Developer
> OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304

reply via email to

[Prev in Thread] Current Thread [Next in Thread]