From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 98899138334 for ; Mon, 4 Jun 2018 23:57:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DD1EE0AD4; Mon, 4 Jun 2018 23:57:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4474FE0AD4 for ; Mon, 4 Jun 2018 23:57:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92871335C72 for ; Mon, 4 Jun 2018 23:57:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B46592C1 for ; Mon, 4 Jun 2018 23:57:39 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1528156596.b769b2b602157c5cb406391e4dc4fdbd760ec1ab.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bite/bite-9999.ebuild dev-util/bite/metadata.xml X-VCS-Directories: dev-util/bite/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: b769b2b602157c5cb406391e4dc4fdbd760ec1ab X-VCS-Branch: master Date: Mon, 4 Jun 2018 23:57:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 244d2990-3c12-49aa-9038-1acca8380b15 X-Archives-Hash: 618c9e06a4d93ecb0924f636d567d376 commit: b769b2b602157c5cb406391e4dc4fdbd760ec1ab Author: Tim Harder gentoo org> AuthorDate: Mon Jun 4 23:50:07 2018 +0000 Commit: Tim Harder gentoo org> CommitDate: Mon Jun 4 23:56:36 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b769b2b6 dev-util/bite: initial import for live ebuild dev-util/bite/bite-9999.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++++ dev-util/bite/metadata.xml | 11 ++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-util/bite/bite-9999.ebuild b/dev-util/bite/bite-9999.ebuild new file mode 100644 index 00000000000..9460f20c7e4 --- /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 00000000000..f5edf41502c --- /dev/null +++ b/dev-util/bite/metadata.xml @@ -0,0 +1,11 @@ + + + + + radhermit@gentoo.org + Tim Harder + + + bite/bite + +