From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1286018-garchives=archives.gentoo.org@lists.gentoo.org>
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 A19D91382C5
	for <garchives@archives.gentoo.org>; Tue, 25 May 2021 12:33:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E5A6AE076B;
	Tue, 25 May 2021 12:33:52 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 BDF3EE075F
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 May 2021 12:33:52 +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 CF50F340B37
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 May 2021 12:33:51 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6AC004C3
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 May 2021 12:33:50 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1621945948.de6452eb0639a951bccdcec5d70620570bac9908.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgdev/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/pkgdev/Manifest dev-util/pkgdev/pkgdev-0.1.4.ebuild
X-VCS-Directories: dev-util/pkgdev/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: de6452eb0639a951bccdcec5d70620570bac9908
X-VCS-Branch: master
Date: Tue, 25 May 2021 12:33:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3e005f98-f4a5-4595-ab5c-f491750443fb
X-Archives-Hash: 34f6550632c8846c2245934f0a1fd4e0

commit:     de6452eb0639a951bccdcec5d70620570bac9908
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 25 12:05:26 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 25 12:32:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6452eb

dev-util/pkgdev: add 0.1.4

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/pkgdev/Manifest            |  1 +
 dev-util/pkgdev/pkgdev-0.1.4.ebuild | 64 +++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest
index 7f3917ee88b..4fc96972300 100644
--- a/dev-util/pkgdev/Manifest
+++ b/dev-util/pkgdev/Manifest
@@ -1,2 +1,3 @@
 DIST pkgdev-0.1.2.tar.gz 32579 BLAKE2B 42ecd7403dcb49b256539e12c22a6bca72884bf55139c5f0972961fbebf4f976dedd3a4fac1186cc1d5af62d339ac7dd3eb20106ff1dcc7b8c264e1c4c53c3de SHA512 c224a054612fd6caa9c66855be9bb5ed439c3ac2abf5b32c4ac516d87fa4e345fc8bc328aa74b4fec44d7fd319322bb42af48f6dfdfff941e3b819a75b9fae9b
 DIST pkgdev-0.1.3.tar.gz 35226 BLAKE2B 7e22331b39bc2b31a0492842d91b3389217ccf3e017796d239364888d691bb7f9c443b12f8a8019f3774276fb9f492a054e27b76cc447ebcfa584261b34e17dc SHA512 b64addebe81995968b4cca04de2d2a5ac63485b76744bde8d2f1b67a0207259712cf72fe76440a6c18eeb580c9de9fd594f48f08ba4870675efbc8c830751993
+DIST pkgdev-0.1.4.tar.gz 53247 BLAKE2B cc89f6637bdd0df230b47b30233415c2c2e55ea3dccd7134e22614b16c0ce8c95302c9edb5f64ca8b1928ddd2f678006d6bdf8c6241deb5d95dee6f6ec488dfb SHA512 60a23e7e3c0974677ebfcda4d709ad6dc15517d02f4190f318f61aeb0ceecc5b2bb8c663542313c3423a1102099d880a683e6623de1afe3c30bc92d59821d632

diff --git a/dev-util/pkgdev/pkgdev-0.1.4.ebuild b/dev-util/pkgdev/pkgdev-0.1.4.ebuild
new file mode 100644
index 00000000000..63531217a6a
--- /dev/null
+++ b/dev-util/pkgdev/pkgdev-0.1.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_IN_SOURCE_BUILD=1
+inherit distutils-r1
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/pkgcore/pkgdev.git"
+	inherit git-r3
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~x64-macos"
+fi
+
+DESCRIPTION="Collection of tools for Gentoo development"
+HOMEPAGE="https://github.com/pkgcore/pkgdev"
+
+LICENSE="BSD MIT"
+SLOT="0"
+
+if [[ ${PV} == *9999 ]] ; then
+	# https://github.com/pkgcore/pkgdev/blob/main/requirements/dev.txt
+	RDEPEND="
+		~dev-python/snakeoil-9999[${PYTHON_USEDEP}]
+		~dev-util/pkgcheck-9999[${PYTHON_USEDEP}]
+		~sys-apps/pkgcore-9999[${PYTHON_USEDEP}]
+	"
+else
+	# https://github.com/pkgcore/pkgdev/blob/main/requirements/install.txt
+	RDEPEND="
+		>=dev-python/snakeoil-0.9.6[${PYTHON_USEDEP}]
+		>=dev-util/pkgcheck-0.9.1[${PYTHON_USEDEP}]
+		>=sys-apps/pkgcore-0.11.7[${PYTHON_USEDEP}]
+	"
+fi
+
+# Uses pytest but we want to use the setup.py runner to get generated modules
+BDEPEND+="test? ( dev-python/pytest )"
+RDEPEND+="dev-vcs/git"
+
+distutils_enable_sphinx doc
+distutils_enable_tests setup.py
+
+python_install_all() {
+	# We'll generate man pages ourselves
+	# Revisit when a release is made
+	# to pregenerate them, making USE=doc
+	# for generating the real HTML docs only.
+	if use doc ; then
+		cd doc || die
+		emake man
+		doman _build/man/*
+	fi
+
+	cd .. || die
+
+	# HTML pages only
+	sphinx_compile_all
+
+	distutils-r1_python_install_all
+}