Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62852 - dev-python/pysvn-1.1.2 (new package) - OO-python bindings for subversion
Summary: dev-python/pysvn-1.1.2 (new package) - OO-python bindings for subversion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://pysvn.tigris.org/
Whiteboard: [liquidx]
Keywords: EBUILD, InOverlay
Depends on: 62849
Blocks:
  Show dependency tree
 
Reported: 2004-09-04 14:29 UTC by Mark Lee
Modified: 2009-04-01 14:57 UTC (History)
8 users (show)

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


Attachments
pysvn ebuild (pysvn-1.0.0.ebuild,1.91 KB, text/plain)
2004-09-04 14:36 UTC, Mark Lee
Details
patch for it to build correctly (brand_version.patch,850 bytes, patch)
2004-09-04 14:40 UTC, Mark Lee
Details | Diff
pysvn 1.1.2 ebuild (pysvn-1.1.2.ebuild,1.91 KB, text/plain)
2005-04-14 11:48 UTC, Mark Lee
Details
1.1.2 patch (brand_version-1.1.2.patch,831 bytes, patch)
2005-04-14 12:39 UTC, Mark Lee
Details | Diff
preliminary ebuild for pysvn-1.3.0 (pysvn-1.3.0.ebuild,1.88 KB, text/plain)
2005-10-05 07:50 UTC, Peter Fein
Details
patch for pysvn-1.3.0 (brand_version-1.3.0.patch,928 bytes, text/plain)
2005-10-05 07:51 UTC, Peter Fein
Details
dev-python/pysvn-1.4.2.ebuild (pysvn-1.4.2.ebuild,1.40 KB, text/plain)
2006-06-23 15:07 UTC, Mark Lee
Details
dev-python/pysvn-1.5.1.ebuild (pysvn-1.5.1.ebuild,1.12 KB, text/plain)
2007-06-25 07:23 UTC, Vince Castellano
Details
ebuild for pysvn 1.5.2 (pysvn-1.5.2.ebuild,1.10 KB, text/plain)
2007-10-14 17:44 UTC, mephinet
Details
ebuild for pysvn 1.5.2 with stale kerberos dependency removed (pysvn-1.5.2-r1.ebuild,1.13 KB, text/plain)
2007-10-17 16:43 UTC, mephinet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lee 2004-09-04 14:29:21 UTC
This package provides object-oriented bindings in python for subversion.  This is in contrast to the python API provided with subversion, which is a direct port of its C API (and in my opinion, a less intuitive API).
Comment 1 Mark Lee 2004-09-04 14:36:40 UTC
Created attachment 38929 [details]
pysvn ebuild

Note: this ebuild completely bypasses the build system included with the source
tarball, due to the system building an RPM then installing it.
Comment 2 Mark Lee 2004-09-04 14:40:57 UTC
Created attachment 38931 [details, diff]
patch for it to build correctly

Patch to make the build not assume that we're in a subversion checkout of
pysvn.
Comment 3 Mark Lee 2005-04-14 11:48:16 UTC
Created attachment 56283 [details]
pysvn 1.1.2 ebuild

bumped the pycxx dep, pysvn version (the SRC_URI changes), year in header. 
Updated patch forthcoming.
Comment 4 Mark Lee 2005-04-14 12:39:14 UTC
Created attachment 56287 [details, diff]
1.1.2 patch

updated for version 1.1.2.
Comment 5 Mark Lee 2005-05-01 03:52:10 UTC
changed rapidsvn bug dep - 0.8.0 works better than 0.7.x on my computer, anyway.
Comment 6 Peter Fein 2005-10-05 07:50:54 UTC
Created attachment 69918 [details]
preliminary ebuild for pysvn-1.3.0

I'm attaching preliminary ebuild/patch for pysvn-1.3.0.  It appears to work,
but I haven't been able to test extensively, b/c I don't want to pull in X to
build rapidsvn on the server I need it for.  Patch to follow.

Seems like a separate ebuild for libsvncpp, as the debian folks do
http://packages.debian.org/testing/libs/libsvncpp0 might be useful.
Comment 7 Peter Fein 2005-10-05 07:51:40 UTC
Created attachment 69919 [details]
patch for pysvn-1.3.0

Patch for above ebuild.
Comment 8 Lukasz Strzygowski (RETIRED) gentoo-dev 2006-01-29 03:53:37 UTC
Reassigned to maintainer-wanted.
Comment 9 Alex 2006-06-23 12:35:22 UTC
Does anyone have a working 1.4.2 ebuild and hasn't attached it? Otherwise I'll try to write it if any changes are needed from 1.3.
Comment 10 Mark Lee 2006-06-23 15:07:50 UTC
Created attachment 89954 [details]
dev-python/pysvn-1.4.2.ebuild

updated my 1.3.1 ebuild.  Notable changes:
* pysvn changed its build system (again), but it's not as annoying, so removed the custom setup.py in the ebuild, and removed usage of the distutils eclass
* HTML docs are installed dependent upon USE=doc
Comment 11 Mark Lee 2006-06-23 15:08:48 UTC
Comment on attachment 89954 [details]
dev-python/pysvn-1.4.2.ebuild

...interestingly enough, bugzilla doesn't detect ebuilds as text/plain
Comment 12 Alex 2006-06-23 15:10:18 UTC
Thank you Mark. Saved me alot of trouble.
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2006-08-30 15:32:32 UTC
good work with the ebuild. I made some changes to it, mainly to remove the pycxx dependency because it is already included in the pysvn tarball. It is now available in my overlay.
Comment 14 Alex 2006-09-26 16:28:25 UTC
Any patch for python2.5? Doesn't seem to work. Fails with:

/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx: In member function 'void Py::PythonType::supportSequenceType()':
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:207: error: invalid conversion from 'int (*)(PyObject*)' to 'Py_ssize_t (*)(PyObject*)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:209: error: invalid conversion from 'PyObject* (*)(PyObject*, int)' to 'PyObject* (*)(PyObject*, Py_ssize_t)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:210: error: invalid conversion from 'PyObject* (*)(PyObject*, int)' to 'PyObject* (*)(PyObject*, Py_ssize_t)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:211: error: invalid conversion from 'PyObject* (*)(PyObject*, int, int)' to 'PyObject* (*)(PyObject*, Py_ssize_t, Py_ssize_t)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:213: error: invalid conversion from 'int (*)(PyObject*, int, PyObject*)' to 'int (*)(PyObject*, Py_ssize_t, PyObject*)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:214: error: invalid conversion from 'int (*)(PyObject*, int, int, PyObject*)' to 'int (*)(PyObject*, Py_ssize_t, Py_ssize_t, PyObject*)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx: In member function 'void Py::PythonType::supportMappingType()':
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:225: error: invalid conversion from 'int (*)(PyObject*)' to 'Py_ssize_t (*)(PyObject*)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx: In member function 'void Py::PythonType::supportBufferType()':
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:271: error: invalid conversion from 'int (*)(PyObject*, int, void**)' to 'Py_ssize_t (*)(PyObject*, Py_ssize_t, void**)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:272: error: invalid conversion from 'int (*)(PyObject*, int, void**)' to 'Py_ssize_t (*)(PyObject*, Py_ssize_t, void**)'
/var/tmp/portage/pysvn-1.4.2-r1/work/pysvn-1.4.2/Import/pycxx_5_3_5/Src/cxx_extensions.cxx:273: error: invalid conversion from 'int (*)(PyObject*, int*)' to 'Py_ssize_t (*)(PyObject*, Py_ssize_t*)'
make: *** [cxx_extensions.o] Error 1
Comment 15 Jan Kundrát (RETIRED) gentoo-dev 2006-09-27 02:36:25 UTC
Some hints about what needs to be done can be found in PEP 353 [1].

[1] http://www.python.org/dev/peps/pep-0353/
Comment 16 Vince Castellano 2007-06-25 07:23:43 UTC
Created attachment 123023 [details]
dev-python/pysvn-1.5.1.ebuild

Version bump, with a little work to get it to compile and install properly. Required a build time dep on mit-krb5, problem upstream I suppose (needed?), but I implemented this ebuild to get it working.
Comment 17 mephinet 2007-10-14 10:55:02 UTC
Started to work on an 1.5.2 ebuild - a few things I've noticed:

* the dependency to #62849 is no longer valid, since pycxx is now included in the pysvn package. Unfortunately, I'm not allowed to remove the dependency, though.

* Vince, you increased the required subversion version from 1.2 to 1.4 in the ebuild, even though the pysvn homepage and install file says it's compatible with 1.2-1.4. Does your increase simply means "not tested with <1.4"? Or did you get into trouble with older versions? At least with version 1.3.2, I'm running fine.
Comment 18 mephinet 2007-10-14 17:44:34 UTC
Created attachment 133462 [details]
ebuild for pysvn 1.5.2
Comment 19 mephinet 2007-10-17 16:43:55 UTC
Created attachment 133684 [details]
ebuild for pysvn 1.5.2 with stale kerberos dependency removed

Linking against mit-krb5 is not required since not pysvn itself, but only the libraries it uses can be compiled with kerberos support.
The new ebuild no longer has the dependency and removes the linker flags accordingly.
Comment 20 Matthew Gregory Sr. 2008-11-19 21:40:11 UTC
yet another example of great tools being unavailable to the average gentoo user because they haven't caught the attention of an interested gentoo developer.

I am so taking the developer test and supporting the python + gentoo + java family.

Added to cc list: check
Adding my vote: check
Adding my voice: check
giving my time: pending
Comment 21 Patrick Lauer gentoo-dev 2009-04-01 14:57:16 UTC
Ebuild has been in sunrise overlay, 1.6.3 is now in the tree. Have fun!