First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 5829
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 8936
Assigned To: Jon Nelson <jnelson@jnelson.disabled>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: António Meireles <am@epandemic.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
psycopg-1.0.10.ebuild the ebuild file text/plain António Meireles 2002-08-06 15:07 0000 1.38 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5829 depends on: Show dependency tree
Bug 5829 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-31 16:35 0000
the following ebuild updates psycopg (a python pgsql addapter) to version
1.0.10
and also fixes a problem  regarding postgresql headers detection...

BTW i 'm willing to mantain (at least :-) ) this ebuild in the future; 

email me if interested :D


Keep the good work,

Ant

------- Comment #1 From António Meireles 2002-07-31 16:35:27 0000 -------
the following ebuild updates psycopg (a python pgsql addapter) to version
1.0.10
and also fixes a problem  regarding postgresql headers detection...

BTW i 'm willing to mantain (at least :-) ) this ebuild in the future; 

email me if interested :D


Keep the good work,

António Meireles (a.k.a. datashark on #irc) 



---x--- filename: [dev-python/] psycopg-1.0.10.ebuild 


# Distributed under the terms of the GNU General Public License, v2 or later 

S=${WORKDIR}/${P} 

DESCRIPTION="PostgreSQL database adapter for the Python" # best one 

SRC_URI="http://initd.org/pub/software/psycopg/${P}.tar.gz" 

HOMEPAGE="http://www.initd.org/software/psycopg.py" 

DEPEND=" 
        >=dev-lang/python-2.0 
        >=dev-python/egenix-mx-base-2.0.3 
        >=dev-db/postgresql-7.1.3" 
RDEPEND="${DEPEND}" 

SLOT="0" 
KEYWORDS="x86" 
LICENSE="GPL-2" 

src_compile() { 
        ./configure \ 

--with-mxdatetime-includes=/usr/lib/python2.2/site-packages/mx/DateTime/mxDateTime
\ 
                --with-postgres-includes=/usr/include/postgresql/server\ 
                --host=${CHOST} \ 
                --prefix=/usr \ 
                --infodir=/usr/share/info \ 
                --mandir=/usr/share/man || die "./configure failed" 
        emake || die 
        #make || die 
} 

src_install () { 
        cd ${S} 
        [ -f "Makefile.orig" ] && die 
        mv Makefile Makefile.orig 
        cat Makefile.orig | sed \ 
                        -e 's:\(echo "  install -m 555 $$mod
\)\($(PY_MOD_DIR)\)\("; \\\):\1${D}\2/$$mod\3:' \ 
                        -e 's:\($(INSTALL)  -m 555 $$mod \)\($(PY_MOD_DIR)\)\(;
\\\):\1${D}\2/$$mod\3:' > Makefile 
        make install || die 
        dodir /usr/share/doc/${PF} 
        cp -r doc ${D}/usr/share/doc/${PF} 
        dodoc AUTHORS ChangeLog COPYING CREDITS INSTALL README NEWS RELEASE-1.0
SUCCESS TODO 
} 



--x-- end file

------- Comment #2 From António Meireles 2002-08-06 15:07:39 0000 -------
Created an attachment (id=2873) [details]
the ebuild file 

trying to increase the process of putting these ebuild in the portage tree here
it is as an attachment ...

------- Comment #3 From SpanKY 2002-10-10 00:52:45 0000 -------

*** This bug has been marked as a duplicate of 8936 ***

First Last Prev Next    No search results available      Search page      Enter new bug