Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94153 Details for
Bug 81416
dev-python/pylucene (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python/pylucene-2.0.0-r1.ebuild
pylucene-2.0.0-r1.ebuild (text/plain), 1.58 KB, created by
Vaclav Slavik
on 2006-08-13 09:23:42 UTC
(
hide
)
Description:
dev-python/pylucene-2.0.0-r1.ebuild
Filename:
MIME Type:
Creator:
Vaclav Slavik
Created:
2006-08-13 09:23:42 UTC
Size:
1.58 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header$ > >inherit eutils python > >MY_P="${P/pylucene/PyLucene-src}-1" >S="${WORKDIR}/${MY_P}" > >DESCRIPTION="Python bindings od Lucene search engine" >HOMEPAGE="http://pylucene.osafoundation.org/" >SRC_URI="http://downloads.osafoundation.org/PyLucene/src/${MY_P}.tar.gz" >RESTRICT="nomirror" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="" > >DEPEND="virtual/python > >=sys-devel/gcc-3.4 > || ( app-admin/eselect-compiler sys-devel/gcc-config )" >RDEPEND="" > >python_version > >pkg_setup() { > built_with_use sys-devel/gcc gcj || die "PyLucene requires gcj compiler" >} > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/pylucene-2.0-nostrip.patch > epatch ${FILESDIR}/pylucene-2.0-perms.patch >} > >src_compile() { > make PYTHON_VER=${PYVER} \ > PREFIX=/usr PREFIX_PYTHON=/usr \ > GCJ_HOME=/usr GCJ_LIBDIR=/usr/lib GCJ_STATIC=0 \ > CC=${CC-gcc} CXX=${CXX-g++} JCC=${GCJ-gcj} JCCH=${GCJH-gcjh} JAR=gcj-jar \ > all || die >} > >src_install() { > if [ -f /usr/bin/gcc-config ] ; then > # see bug #81416, comment 19-20 for why is this needed > GCC_LDPATH=$(gcc-config -L | sed 's/:.*//') > else > GCC_LDPATH=`eselect compiler getval LDPATH` > fi > > dodoc CHANGES CREDITS LICENSE README > > dodir /usr/lib/python${PYVER}/site-packages > emake GCJ_LIBDIR=${GCC_LDPATH} PYTHON_VER=${PYVER} PREFIX_PYTHON=${D}/usr \ > install || die >} > >pkg_postinst() { > python_version > python_mod_optimize /usr/lib/python${PYVER}/site-packages >} > >pkg_postrm() { > python_version > python_mod_cleanup /usr/lib/python${PYVER}/site-packages >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 81416
:
50863
|
50864
|
59063
|
75647
|
85922
|
90057
|
90058
|
90919
|
90920
|
90921
|
94153
|
94440
|
181977