summaryrefslogtreecommitdiffstats
path: root/dev-vcs/bzr-webdav/bzr-webdav-9999.ebuild
blob: e192fde2fdb00d8c4c4d1b6c7d432ee9e2648783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Distributed under the terms of the GNU General Public License v2
# Copyleft (c) Vadim Fint aka MockSoul <mocksoul@gmail.com>

EAPI=6

inherit eutils bzr

DESCRIPTION="Implementation of WebDAV for bzr http transports. Allows write access to DAV-enabled web servers by registering http+webdav and https+webdav as protocols recognized by bzr"
HOMEPAGE="https://launchpad.net/bzr.webdav"
#EBZR_REPO_URI="lp:bzr.webdav"
EBZR_REPO_URI="http://darksoft.org/bzr/mirrors/bzr.webdav"
EBZR_BRANCH="trunk"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""
DEPEND=">=dev-lang/python-2.4"
RDEPEND="${DEPEND}"


PATCHES=(
	"${FILESDIR}"/bzr_webdav-ds-error400.patch
)


src_install() {
	pylibdir="$(python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()')"
	[ -n "${pylibdir}" ] && dodir "${pylibdir}"
	plugdir=$pylibdir/bzrlib/plugins/webdav
	dodir $plugdir
	insinto $plugdir
	doins *.py
}