Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104154 - subversion-1.2.3 does not install the python modules properly
Summary: subversion-1.2.3 does not install the python modules properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 09:16 UTC by Seemant Kulleen (RETIRED)
Modified: 2005-08-31 11:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2005-08-29 09:16:23 UTC
Here's a diff to make it install them properly.

Index: subversion-1.2.3-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.2.3-r1.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 subversion-1.2.3-r1.ebuild
--- subversion-1.2.3-r1.ebuild  27 Aug 2005 20:21:20 -0000      1.1
+++ subversion-1.2.3-r1.ebuild  29 Aug 2005 16:14:12 -0000
@@ -142,7 +142,7 @@
 
 src_install () {
        python_version
-       PYTHON_DIR=/usr/lib/python${PYVER}
+       PYTHON_DIR=/usr/$(get_libdir)/python${PYVER}
 
        make DESTDIR=${D} install || die "Installation of subversion failed"
 
@@ -161,10 +161,10 @@
                make install-swig-py DESTDIR=${D} DISTUTIL_PARAM=--prefix=${D} 
LD_LIBRARY_PATH="-L${D}/usr/lib" || die "Installation of subversion python
bindings failed"
 
                # move python bindings
-               mkdir -p ${D}${PYTHON_DIR}/site-packages
-               mv ${D}/usr/lib/svn-python/svn ${D}${PYTHON_DIR}/site-packages
-               mv ${D}/usr/lib/svn-python/libsvn ${D}${PYTHON_DIR}/site-packages
-               rmdir ${D}/usr/lib/svn-python
+               dodir ${PYTHON_DIR}/site-packages
+               mv ${D}/usr/$(get_libdir)/svn-python/svn
${D}${PYTHON_DIR}/site-packages
+               mv ${D}/usr/$(get_libdir)/svn-python/libsvn
${D}${PYTHON_DIR}/site-packages
+               rmdir ${D}/usr/$(get_libdir)/svn-python
        fi
        if use perl; then
                make DESTDIR=${D} install-swig-pl || die "Perl library building
failed"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2005-08-31 11:19:46 UTC
Just committed the fixed version