summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/anyvc/ChangeLog10
-rw-r--r--dev-python/anyvc/anyvc-0.3.1.ebuild48
-rw-r--r--dev-python/anyvc/metadata.xml10
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/anyvc/ChangeLog b/dev-python/anyvc/ChangeLog
new file mode 100644
index 000000000000..96c0007c0053
--- /dev/null
+++ b/dev-python/anyvc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/anyvc
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/anyvc/ChangeLog,v 1.1 2010/06/23 23:46:34 arfrever Exp $
+
+*anyvc-0.3.1 (23 Jun 2010)
+
+ 23 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +anyvc-0.3.1.ebuild, +metadata.xml:
+ Initial addition. Ebuild written by me.
+
diff --git a/dev-python/anyvc/anyvc-0.3.1.ebuild b/dev-python/anyvc/anyvc-0.3.1.ebuild
new file mode 100644
index 000000000000..c4e4afe0346d
--- /dev/null
+++ b/dev-python/anyvc/anyvc-0.3.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/anyvc/anyvc-0.3.1.ebuild,v 1.1 2010/06/23 23:46:34 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Library to access any version control system"
+HOMEPAGE="http://pypi.python.org/pypi/anyvc"
+SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bazaar doc git mercurial subversion"
+
+RDEPEND="dev-python/execnet
+ bazaar? ( dev-vcs/bzr )
+ git? ( dev-python/dulwich )
+ mercurial? ( dev-vcs/mercurial )
+ subversion? ( dev-python/subvertpy )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )"
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ sphinx-build -b html docs docs_output || die "Generation of documentation failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ pushd docs_output > /dev/null
+ docinto html
+ cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed"
+ popd > /dev/null
+ fi
+}
diff --git a/dev-python/anyvc/metadata.xml b/dev-python/anyvc/metadata.xml
new file mode 100644
index 000000000000..cfeef6f232d0
--- /dev/null
+++ b/dev-python/anyvc/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <use>
+ <flag name="bazaar">Add support for Bazaar</flag>
+ <flag name="git">Add support for Git</flag>
+ <flag name="mercurial">Add support for Mercurial</flag>
+ </use>
+</pkgmetadata>