summaryrefslogtreecommitdiff
path: root/dev-python/anyvc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/anyvc
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/anyvc')
-rw-r--r--dev-python/anyvc/Manifest3
-rw-r--r--dev-python/anyvc/anyvc-0.3.7.1-r1.ebuild54
-rw-r--r--dev-python/anyvc/metadata.xml15
3 files changed, 72 insertions, 0 deletions
diff --git a/dev-python/anyvc/Manifest b/dev-python/anyvc/Manifest
new file mode 100644
index 000000000000..a06278167218
--- /dev/null
+++ b/dev-python/anyvc/Manifest
@@ -0,0 +1,3 @@
+DIST anyvc-0.3.7.1.tar.gz 45890 BLAKE2B 8fc02b78be464b8bb839db02ea09303d336ce18c72da11e63f3a6945853a7f7986cd4997cb64bf3e3a1445cbbc9f7dbfee3c0b54fd8741ea12a19ec5d5b7a15a SHA512 90151133b4da41acb10c2d8e421963e5ccb1e8da1e5327d5a69a77ccc647086683f1ff8ef600c69e01cfda28193c69166fa5717af3dbd13761d95ab3f1c7be46
+EBUILD anyvc-0.3.7.1-r1.ebuild 1395 BLAKE2B 212c11a96a0d59fd7d1dcb54bead07ba3d0696f91b45370091a243f71335c7518bd55872beab9fdcc965c1083dd5919393178f7d5da586119c0036fee1a8d431 SHA512 7e30d8e6e1d6363e8dd8bd0da94a63ddfe477caaa3e8dca3fdaeb14188f8bb68af7598ecfd34fd24761290da8a9a2d2bfd05327d42c42fef0682396b147afe36
+MISC metadata.xml 433 BLAKE2B a624517cfcbc74c3f0e78c304b06051f23728f3ec7c145e9e29f1c995aba43448a4f39c3f4c22e968dba9cd15b04e984145cebbe7caec76a0a8be4bceddfb328 SHA512 fae34b68b323e879e3867ae5410242856a4b2cff5ccc17c8007eaabc6546e17460fb910208610ca36114d284626eb937bb080cb953e9b9f55c0d27d881338d6c
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..741f89054941
--- /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.org/project/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>