summaryrefslogtreecommitdiff
path: root/dev-util/bite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
commitcb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (patch)
tree047fc92023c520d07f13ec5ac96e094d1b312a7a /dev-util/bite
parent7b9f15840068dfaeea5684f8a1af1fe460dfa14c (diff)
gentoo resync : 09.06.2018
Diffstat (limited to 'dev-util/bite')
-rw-r--r--dev-util/bite/Manifest2
-rw-r--r--dev-util/bite/bite-9999.ebuild57
-rw-r--r--dev-util/bite/metadata.xml11
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-util/bite/Manifest b/dev-util/bite/Manifest
new file mode 100644
index 000000000000..cb54affe202f
--- /dev/null
+++ b/dev-util/bite/Manifest
@@ -0,0 +1,2 @@
+EBUILD bite-9999.ebuild 1452 BLAKE2B 2dfaa75c4cea242833a8d84fc1fbd91a340d16379cbaad63d69667cd2fb91d345a2d2f9adf386b6cca2621a3c1453c40c503289e61b4677067f1a9094d94a649 SHA512 d3fa7b51f7d0841009aa133a530b8e52629aa4834a1d3513bbc46d0c1635d3227c7ccb1dff9b43f77c58acac5206b2ba6188a7fe3868634a7e7d471b31b8fd22
+MISC metadata.xml 330 BLAKE2B 84591ee05d14a0a3c7db1cd1fc966aca6a614c129babd365d5c2717ca19845a3b391c280e1861ae8c900e8a6124b725a15c775292181f2fc8cf6e5dc000eee01 SHA512 790542c11e1210fef48d1235385493814128da8cb6f1ab33e569e0f37e862b568ffe92f4a18ad6cf0ac8f8917bd884513fe40597540ad299af9feaf7722d2bb8
diff --git a/dev-util/bite/bite-9999.ebuild b/dev-util/bite/bite-9999.ebuild
new file mode 100644
index 000000000000..9460f20c7e4d
--- /dev/null
+++ b/dev-util/bite/bite-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_6 )
+DISTUTILS_IN_SOURCE_BUILD=1
+PYTHON_REQ_USE="xml"
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/bite/bite.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/bite/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="bug, issue, and ticket extraction library and command line tool"
+HOMEPAGE="https://github.com/bite/bite"
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/requests-2[${PYTHON_USEDEP}]
+ dev-python/multidict[${PYTHON_USEDEP}]
+ dev-python/chardet[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+"
+if [[ ${PV} == *9999 ]] ; then
+ RDEPEND+=" =dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+ SPHINX="dev-python/sphinx[${PYTHON_USEDEP}]"
+else
+ RDEPEND+=" >=dev-python/snakeoil-0.8[${PYTHON_USEDEP}]"
+ SPHINX="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+fi
+DEPEND="
+ ${SPHINX}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+python_compile_all() {
+ esetup.py build_man $(usex doc "build_docs" "")
+}
+
+python_test() {
+ esetup.py test
+}
+
+python_install_all() {
+ distutils-r1_python_install install_man \
+ $(usex doc "install_docs --path="${ED%/}"/usr/share/doc/${PF}/html" "")
+ distutils-r1_python_install_all
+}
diff --git a/dev-util/bite/metadata.xml b/dev-util/bite/metadata.xml
new file mode 100644
index 000000000000..f5edf41502cc
--- /dev/null
+++ b/dev-util/bite/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bite/bite</remote-id>
+ </upstream>
+</pkgmetadata>