summaryrefslogtreecommitdiff
path: root/dev-python/anyvc
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/anyvc')
-rw-r--r--dev-python/anyvc/Manifest5
-rw-r--r--dev-python/anyvc/anyvc-0.3.7.1-r1.ebuild54
-rw-r--r--dev-python/anyvc/metadata.xml15
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/anyvc/Manifest b/dev-python/anyvc/Manifest
new file mode 100644
index 000000000000..1ac95347d234
--- /dev/null
+++ b/dev-python/anyvc/Manifest
@@ -0,0 +1,5 @@
+DIST anyvc-0.3.7.1.tar.gz 45890 SHA256 264ccd659269ff62ca983d48c7affd27194992880d094e32fff58225a9b6311c SHA512 90151133b4da41acb10c2d8e421963e5ccb1e8da1e5327d5a69a77ccc647086683f1ff8ef600c69e01cfda28193c69166fa5717af3dbd13761d95ab3f1c7be46 WHIRLPOOL 5f6500d069eafa56434d57c225e566e55aedadaad0c1d4afc7ff76c0481f3e797f6ea64e88d3001e06d6a529dc01d6c38cbb9e2324245c103d7031b7ef00278a
+EBUILD anyvc-0.3.7.1-r1.ebuild 1398 SHA256 aa1932d170923974c2987ff7d2ba038d8ac5086926171bf8f8765c14f5a71908 SHA512 fc67dced2b214f0536bd832db428e66c3758af2274bc1fc40606f44480c04453dfda2a2cec9300b9b704034475317ddf875022c9d0ad61df31c272a26a4d1b72 WHIRLPOOL 2a03aab0db9274df3bd6904ed2afa67e00975f769e06666ac9cf52a6612f0559960d4ded223dd53b709027834e0d42c547f0698488b10afd418e939d014d132a
+MISC ChangeLog 2579 SHA256 365586045fabb84e3572c293d80ea3ac2d11f0224e03b39a8dab2e8653484b5c SHA512 6ee29149d2d7c05a8f94f192a46c3009c0ce5c8034fd10acd40f36c1cace193f79b3fca92b0952bc3d9e51989434782f1cb56a51113ec8261d809a7551cd513e WHIRLPOOL 593bb0f274dae4196d1d8ecdef4958436680b92f8b536917ca924e03b6b5771f3f1d149f907a8559ede20c79de65e1a7db2b11ee2094e59d90c9434492ccf92b
+MISC ChangeLog-2015 1797 SHA256 1b7c8084adc6f10e9db1676255945159956302d82d269fbe25bb8f6463a31c09 SHA512 59a0dad08b3d08b99115eccf5d346a669bf2e081abc2ca19045d357f1e6faa751056da27cf5baba5d0a6496e2f009ad6347cc4b6d3e3da6806331ea90841fc9e WHIRLPOOL c121603941a68395e36fbf27debd66f5e3a366ad0c2bd166daac8e2e836a9d3342faab1c8d147898d81dd5b2fa3f42597cc61616a21e99366b87efb56e31fa5f
+MISC metadata.xml 433 SHA256 20406813bdac7001862eeada73a3e918c7424f34633b1e9364176f3ee8851635 SHA512 fae34b68b323e879e3867ae5410242856a4b2cff5ccc17c8007eaabc6546e17460fb910208610ca36114d284626eb937bb080cb953e9b9f55c0d27d881338d6c WHIRLPOOL d8a1efbf77ba757e94fc8ccc38b97f607be544f4d137a515c3857c0fe7ce36125bebe226d19d8a71ba99bf0d5bd60d6c0ca54eadbd64226ef9d565b763da8bc0
diff --git a/dev-python/anyvc/anyvc-0.3.7.1-r1.ebuild b/dev-python/anyvc/anyvc-0.3.7.1-r1.ebuild
new file mode 100644
index 000000000000..b0d4c17e2bd5
--- /dev/null
+++ b/dev-python/anyvc/anyvc-0.3.7.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Library to access any version control system"
+HOMEPAGE="https://pypi.python.org/pypi/anyvc"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="bazaar doc git mercurial subversion"
+
+RDEPEND="dev-python/apipkg[${PYTHON_USEDEP}]
+ dev-python/execnet[${PYTHON_USEDEP}]
+ dev-python/py[${PYTHON_USEDEP}]
+ bazaar? ( dev-vcs/bzr )
+ git? ( dev-python/dulwich[${PYTHON_USEDEP}] )
+ mercurial? ( dev-vcs/mercurial )
+ subversion? ( dev-python/subvertpy )"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/hgdistver[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+# dev-python/hgdistver )"
+
+python_prepare_all() {
+ # Do not use unsupported theme options.
+ sed -e "/'tagline':/d" \
+ -e "/'bitbucket_project':/d" \
+ -i docs/conf.py
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build -b html docs docs_output || die "Generation of documentation failed"
+ fi
+}
+
+python_install_all() {
+ 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
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/anyvc/metadata.xml b/dev-python/anyvc/metadata.xml
new file mode 100644
index 000000000000..8177266e4c5c
--- /dev/null
+++ b/dev-python/anyvc/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <use>
+ <flag name="bazaar">Add support for Bazaar</flag>
+ <flag name="mercurial">Add support for Mercurial</flag>
+ </use>
+ <upstream>
+ <remote-id type="pypi">anyvc</remote-id>
+ </upstream>
+</pkgmetadata>