Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220753 - ebuild for mysql-python (with a patch for macos)
Summary: ebuild for mysql-python (with a patch for macos)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-07 13:39 UTC by Qiangning Hong
Modified: 2008-09-17 10:17 UTC (History)
0 users

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


Attachments
mysql-python-1.2.2.ebuild (mysql-python-1.2.2.ebuild,807 bytes, text/plain)
2008-05-07 13:46 UTC, Qiangning Hong
Details
mysql-python-macos.patch (mysql-python-macos.patch,644 bytes, patch)
2008-05-08 06:06 UTC, Qiangning Hong
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Qiangning Hong 2008-05-07 13:39:12 UTC
I wanna install mysql-python in my gentoo prefix installation.  To install the dependencies, ecopy dev-db/mysql{,-community,-init-scripts} and eapify&ekeyword virtual/mysql/mysql-5.0.ebuild and emerge them.  But when emerge the ecopied mysql-python, it fails.

After some googling, I found a patch from MacPorts project.  I will attach the patch and the ebuild lately.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Qiangning Hong 2008-05-07 13:46:51 UTC
Created attachment 152265 [details]
mysql-python-1.2.2.ebuild
Comment 2 Qiangning Hong 2008-05-08 06:06:48 UTC
Created attachment 152421 [details, diff]
mysql-python-macos.patch

Sorry for the delay but my internet access was broken last night.  Here is the patch.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-05-13 18:09:45 UTC
(In reply to comment #0)
> I wanna install mysql-python in my gentoo prefix installation.  To install the
> dependencies, ecopy dev-db/mysql{,-community,-init-scripts} and eapify&ekeyword
> virtual/mysql/mysql-5.0.ebuild and emerge them.  But when emerge the ecopied
> mysql-python, it fails.

Can you please list what versions you have tested? 

ecopy brings in: mysql-community-5.0.51a, instead of: mysql-community-5.1.21_beta

You also list mysql-5.0 whereas 5.1 is the latest.

Please report back with the latest versions if they work. Thanks.
Comment 4 Qiangning Hong 2008-05-14 03:29:29 UTC
the ecopyied/eapified packages are:

virtual/mysql-5.0
dev-db/mysql-5.0.56
dev-db/mysql-community-5.0.51a
dev-db/mysql-init-scripts-1.2

IIRC, I use virtual/mysql-5.0 because at that time mysql-5.1 is still masked, and all my working mysql server is 5.0.x, hence the mysql-5.0.  I will test mysql-5.1 if I have some free time today.
Comment 5 Qiangning Hong 2008-05-14 05:05:15 UTC
I tried ecopy virtual/mysql and dev-db/mysql just now.  Still version 5.0 is fetched?

~/Gentoo/usr/local/portage $ ~/Gentoo/usr/portage/scripts/ecopy dev-db/mysql
--2008-05-14 13:04:02--  http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/ChangeLog
Resolving sources.gentoo.org... 140.211.166.162
Connecting to sources.gentoo.org|140.211.166.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `ChangeLog.2'

    [       <=>                             ] 86,775      31.2K/s   in 2.7s    

2008-05-14 13:04:08 (31.2 KB/s) - `ChangeLog.2' saved [86775]

--2008-05-14 13:04:08--  http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/metadata.xml
Resolving sources.gentoo.org... 140.211.166.162
Connecting to sources.gentoo.org|140.211.166.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/xml]
Saving to: `metadata.xml.2'

    [   <=>                                 ] 159         --.-K/s   in 1.9s    

2008-05-14 13:04:14 (83.7 B/s) - `metadata.xml.2' saved [159]

--2008-05-14 13:04:14--  http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/Manifest
Resolving sources.gentoo.org... 140.211.166.162
Connecting to sources.gentoo.org|140.211.166.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `Manifest.2'

    [  <=>                                  ] 8,600       18.5K/s   in 0.5s    

2008-05-14 13:04:16 (18.5 KB/s) - `Manifest.2' saved [8600]

--2008-05-14 13:04:16--  http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/mysql-5.0.56.ebuild
Resolving sources.gentoo.org... 140.211.166.162
Connecting to sources.gentoo.org|140.211.166.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `mysql-5.0.56.ebuild.2'

    [ <=>                                   ] 3,294       --.-K/s   in 0.005s  

2008-05-14 13:04:21 (630 KB/s) - `mysql-5.0.56.ebuild.2' saved [3294]

mysql-5.0.56.ebuild: line 10: inherit: command not found
/Users/hongqn/Gentoo/usr/portage/scripts/ecopy: line 55: eapify: command not found
/Users/hongqn/Gentoo/usr/portage/scripts/ecopy: line 56: ecleankw: command not found
mysql-5.0.56.ebuild
>>> Creating Manifest for /Users/hongqn/Gentoo/usr/local/portage/dev-db/mysql
Comment 6 Fabian Groffen gentoo-dev 2008-09-17 10:17:01 UTC
I added it, thanks