summaryrefslogtreecommitdiffstats
path: root/dev-vcs/bzr-webdav/bzr-webdav-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/bzr-webdav/bzr-webdav-9999.ebuild')
-rw-r--r--dev-vcs/bzr-webdav/bzr-webdav-9999.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-vcs/bzr-webdav/bzr-webdav-9999.ebuild b/dev-vcs/bzr-webdav/bzr-webdav-9999.ebuild
new file mode 100644
index 0000000..e192fde
--- /dev/null
+++ b/dev-vcs/bzr-webdav/bzr-webdav-9999.ebuild
@@ -0,0 +1,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
+}