diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-12-19 17:23:17 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-12-19 17:23:17 +0000 |
commit | 0162d0c519ed057c31557a401816d8246689a484 (patch) | |
tree | 26dbc828fb581fb95ec33d9246b86861104cd5bf /dev-python | |
parent | app-misc/ccPublisher: Move ccPublisher -> ccpublisher (diff) | |
download | sunrise-0162d0c519ed057c31557a401816d8246689a484.tar.gz sunrise-0162d0c519ed057c31557a401816d8246689a484.tar.bz2 sunrise-0162d0c519ed057c31557a401816d8246689a484.zip |
dev-python/pysvn: Import for bug #62852
svn path=/sunrise/; revision=2347
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pysvn/Manifest | 12 | ||||
-rw-r--r-- | dev-python/pysvn/files/digest-pysvn-1.5.0 | 3 | ||||
-rw-r--r-- | dev-python/pysvn/files/pysvn-1.5.0-nokrb.patch | 11 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.5.0.ebuild | 58 |
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest new file mode 100644 index 000000000..c1aba5813 --- /dev/null +++ b/dev-python/pysvn/Manifest @@ -0,0 +1,12 @@ +AUX pysvn-1.5.0-nokrb.patch 325 RMD160 b40941c90e095bab6038035e6c726ff52584bb93 SHA1 7e1cc4158881c3aac84795ff174db5ed9778e3ef SHA256 4630754b22e381624eef73ab7072499667cf61aa04145ee02851036146f4b60f +MD5 a57cfedca4c97d7c9d10a433c254a9da files/pysvn-1.5.0-nokrb.patch 325 +RMD160 b40941c90e095bab6038035e6c726ff52584bb93 files/pysvn-1.5.0-nokrb.patch 325 +SHA256 4630754b22e381624eef73ab7072499667cf61aa04145ee02851036146f4b60f files/pysvn-1.5.0-nokrb.patch 325 +DIST pysvn-1.5.0.tar.gz 464503 RMD160 6b27b5431aa60526f2f43eb185da4e837353a783 SHA1 6a9219fb7a95d97b826e3932ed9d2c9fd02dd774 SHA256 2833cf3c82968ea91d68c3845a1bed7b90fdf8c607a047b7508eeaacd5775e6e +EBUILD pysvn-1.5.0.ebuild 1166 RMD160 86065f08f26a395b903ccf10ed676aeac78ba47e SHA1 14e447e61781cde92d36452bbedb657866f98107 SHA256 f80173d6bde69b3437f197e6f8f8a17eae1cc5e126490b9393a73917fd0f77c5 +MD5 038eab63bf0bf270fed6bff0f2f0b355 pysvn-1.5.0.ebuild 1166 +RMD160 86065f08f26a395b903ccf10ed676aeac78ba47e pysvn-1.5.0.ebuild 1166 +SHA256 f80173d6bde69b3437f197e6f8f8a17eae1cc5e126490b9393a73917fd0f77c5 pysvn-1.5.0.ebuild 1166 +MD5 663da11bf5644b5c517c41cf2e2a3c54 files/digest-pysvn-1.5.0 235 +RMD160 63342683cc1c48384280a56f0f6727ac876240b7 files/digest-pysvn-1.5.0 235 +SHA256 efa35cb4a0ab52bb3595c59b5640f706175490b80161dc9583b5fbd3834bfa73 files/digest-pysvn-1.5.0 235 diff --git a/dev-python/pysvn/files/digest-pysvn-1.5.0 b/dev-python/pysvn/files/digest-pysvn-1.5.0 new file mode 100644 index 000000000..efe884010 --- /dev/null +++ b/dev-python/pysvn/files/digest-pysvn-1.5.0 @@ -0,0 +1,3 @@ +MD5 27d6a169194922f030fb13e0ba021c58 pysvn-1.5.0.tar.gz 464503 +RMD160 6b27b5431aa60526f2f43eb185da4e837353a783 pysvn-1.5.0.tar.gz 464503 +SHA256 2833cf3c82968ea91d68c3845a1bed7b90fdf8c607a047b7508eeaacd5775e6e pysvn-1.5.0.tar.gz 464503 diff --git a/dev-python/pysvn/files/pysvn-1.5.0-nokrb.patch b/dev-python/pysvn/files/pysvn-1.5.0-nokrb.patch new file mode 100644 index 000000000..52a4fa959 --- /dev/null +++ b/dev-python/pysvn/files/pysvn-1.5.0-nokrb.patch @@ -0,0 +1,11 @@ +--- setup.py.orig 2006-10-16 23:51:38.000000000 +0200 ++++ setup.py 2006-12-19 18:18:09.000000000 +0100 +@@ -262,7 +262,7 @@ + -lsvn_client-1 \ + -lsvn_diff-1 \ + -lsvn_repos-1 \ +- -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv -lexpat -lneon ++-lcom_err -lresolv -lexpat -lneon + + #include pysvn_common.mak + ''' diff --git a/dev-python/pysvn/pysvn-1.5.0.ebuild b/dev-python/pysvn/pysvn-1.5.0.ebuild new file mode 100644 index 000000000..d9a4b1405 --- /dev/null +++ b/dev-python/pysvn/pysvn-1.5.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils python + +DESCRIPTION="Object-oriented python bindings for subversion" +HOMEPAGE="http://pysvn.tigris.org/" +SRC_URI="http://pysvn.tigris.org/files/documents/1233/34994/${P}.tar.gz" + +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="doc" + +DEPEND=">=dev-util/subversion-1.2.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}/Source" + +src_unpack() { + unpack ${A} + cd "${S}" + + # no kerberos linkage + epatch "${FILESDIR}/${P}-nokrb.patch" + + python setup.py configure + + # we want our CFLAGS as well and don't need krb linkage + sed -e 's:^\(CCFLAGS=\)\(.*\):\1$(CFLAGS) \2:g' \ + -e 's:^\(CCCFLAGS=\)\(.*\):\1$(CXXFLAGS) \2:g' \ + -i ${S}/Source/Makefile +} + +src_install() { + python_version + + cd pysvn + exeinto /usr/lib/python${PYVER}/site-packages/pysvn + doexe _pysvn.so + insinto /usr/lib/python${PYVER}/site-packages/pysvn + doins __init__.py + + if use doc ; then + cd "${S}/../Docs" + dohtml *.html *.js + fi + +} + +pkg_postinst() { + python_mod_compile ${ROOT}usr/lib/python${PYVER}/site-packages +} + +pkg_postrm() { + python_mod_cleanup +} |