py-psycopg2 port a little bit out of date

Ryan Schmidt ryandesign at macports.org
Tue Jul 24 01:31:18 PDT 2007


On Jul 24, 2007, at 00:33, Tabitha McNerney wrote:

> Hello,
>
> I tried to install py-psycopg2 today from a fresh MacPorts 1.5.0  
> system and received the following:
>
> # port -v install py-psycopg2
> --->  Fetching py-psycopg2
> --->  psycopg2-2.0.5.1.tar.gz doesn't seem to exist in /opt/local/ 
> var/macports/distfiles/python
> --->  Attempting to fetch psycopg2-2.0.5.1.tar.gz from http:// 
> initd.org/pub/software/psycopg/
>   % Total    % Received % Xferd  Average Speed   Time    Time      
> Time  Current
>                                  Dload  Upload   Total   Spent     
> Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:--  
> --:--:--     0
> --->  Attempting to fetch psycopg2-2.0.5.1.tar.gz from http:// 
> svn.macports.org/repository/macports/distfiles/py-psycopg2
>   % Total    % Received % Xferd  Average Speed   Time    Time      
> Time  Current
>                                  Dload  Upload   Total   Spent     
> Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:--  
> --:--:--     0
> --->  Attempting to fetch psycopg2-2.0.5.1.tar.gz from http:// 
> svn.macports.org/repository/macports/distfiles/general/
>   % Total    % Received % Xferd  Average Speed   Time    Time      
> Time  Current
>                                  Dload  Upload   Total   Spent     
> Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:--  
> --:--:--     0
> --->  Attempting to fetch psycopg2-2.0.5.1.tar.gz from http:// 
> svn.macports.org/repository/macports/downloads/py-psycopg2
>   % Total    % Received % Xferd  Average Speed   Time    Time      
> Time  Current
>                                  Dload  Upload   Total   Spent     
> Left  Speed
>   0     0    0     0    0     0      0      0 --:--:-- --:--:--  
> --:--:--     0
> Error: Target org.macports.fetch returned: fetch failed
> Warning: the following items did not execute (for py-psycopg2):  
> org.macports.activate org.macports.fetch org.macports.extract  
> org.macports.checksum org.macports.patch org.macports.configure  
> org.macports.build org.macports.destroot org.macports.install
> Error: Status 1 encountered during processing.
>
> I poked around a bit at the MacPorts repository URLs but I couldn't  
> locate the precise py-psycopg2 URL. I also tried changing the  
> Portfile to download directly from the source site but to no avail,  
> so I ended up downloading it manually and then I stuffed the tar.gz  
> file in:
>
> /opt/local/var/macports/distfiles/python
>
> That worked for me, but sorry I wasn't able to figure out a better  
> way to modify the Portfile to get this to work.

I fixed the download location in r27198.

Also, psychopg2 has been updated to 2.0.6; the maintainer (whom I'm  
Cc'ing) may wish to update the portfile.





More information about the macports-users mailing list