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 738311382C5 for ; Fri, 5 Mar 2021 22:22:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2126E0880; Fri, 5 Mar 2021 22:22:58 +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 A6944E0880 for ; Fri, 5 Mar 2021 22:22:58 +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 A2297340E9C for ; Fri, 5 Mar 2021 22:22:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41143478 for ; Fri, 5 Mar 2021 22:22:56 +0000 (UTC) From: "Sam James" 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" Message-ID: <1614982969.5577e350d2715228112828058936896ec0535bdb.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.ebuild X-VCS-Directories: dev-util/pkgdev/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5577e350d2715228112828058936896ec0535bdb X-VCS-Branch: master Date: Fri, 5 Mar 2021 22:22:56 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90e1044c-483a-4e5b-b1e8-f4a99e7d4c8d X-Archives-Hash: aa75301314c7b3d025576e8226362a74 commit: 5577e350d2715228112828058936896ec0535bdb Author: Sam James gentoo org> AuthorDate: Fri Mar 5 22:22:49 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 5 22:22:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5577e350 dev-util/pkgdev: bump 0.1 Signed-off-by: Sam James gentoo.org> dev-util/pkgdev/Manifest | 1 + dev-util/pkgdev/pkgdev-0.1.ebuild | 62 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest new file mode 100644 index 00000000000..bd81701217d --- /dev/null +++ b/dev-util/pkgdev/Manifest @@ -0,0 +1 @@ +DIST pkgdev-0.1.tar.gz 26075 BLAKE2B e7f7a83d91ef923bdd38465e7c70d6a2d0693d945273583937b4f444e26493887c5aeff9cf6a353dc02c42786d635eda7cc0fbfbc888be2b0e4eee883b5bd9c6 SHA512 1714857c3d66655226a4217ec8955662c5e37022c92183bdd8e61f91ff46f335935af8d6badf79f7c9f894a56b970ab0109f9b18ac7f3e59722d096ce2f24664 diff --git a/dev-util/pkgdev/pkgdev-0.1.ebuild b/dev-util/pkgdev/pkgdev-0.1.ebuild new file mode 100644 index 00000000000..587e2ad6a94 --- /dev/null +++ b/dev-util/pkgdev/pkgdev-0.1.ebuild @@ -0,0 +1,62 @@ +# 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 + KEYWORDS="~amd64" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +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.3[${PYTHON_USEDEP}] + >=dev-util/pkgcore-0.11.4[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.9.1[${PYTHON_USEDEP}] + " +fi + +RDEPEND+="dev-vcs/git" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +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 +}