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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9EF2D158011 for ; Sun, 21 Aug 2022 21:00:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89351E097E; Sun, 21 Aug 2022 21:00:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 638B8E097E for ; Sun, 21 Aug 2022 21:00:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16282340DF1 for ; Sun, 21 Aug 2022 21:00:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 411D452B for ; Sun, 21 Aug 2022 21:00:40 +0000 (UTC) From: "Steve Arnold" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Steve Arnold" Message-ID: <1661115616.a7eda56a1feece56e1080ae0806e0c665bec32ab.nerdboy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/repolite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/repolite/Manifest dev-util/repolite/metadata.xml dev-util/repolite/repolite-0.2.0.ebuild X-VCS-Directories: dev-util/repolite/ X-VCS-Committer: nerdboy X-VCS-Committer-Name: Steve Arnold X-VCS-Revision: a7eda56a1feece56e1080ae0806e0c665bec32ab X-VCS-Branch: master Date: Sun, 21 Aug 2022 21:00:40 +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: 70dd79bd-1625-431b-a0c0-345d25f95dfb X-Archives-Hash: 56ec20f382ea0687acb8b60602dba370 commit: a7eda56a1feece56e1080ae0806e0c665bec32ab Author: Steve Arnold gentoo org> AuthorDate: Sun Aug 21 21:00:16 2022 +0000 Commit: Steve Arnold gentoo org> CommitDate: Sun Aug 21 21:00:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7eda56a dev-util/repolite: initial import Signed-off-by: Steve Arnold gentoo.org> dev-util/repolite/Manifest | 1 + dev-util/repolite/metadata.xml | 15 +++++++++ dev-util/repolite/repolite-0.2.0.ebuild | 55 +++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) diff --git a/dev-util/repolite/Manifest b/dev-util/repolite/Manifest new file mode 100644 index 000000000000..e363a6dda079 --- /dev/null +++ b/dev-util/repolite/Manifest @@ -0,0 +1 @@ +DIST repolite-0.2.0.tar.gz 27531 BLAKE2B 6505a2b61d03e63a23c6e3ccaf8b3a596b8c9a9c67eeb4633e25715ce04cf238fea3fd6fbad2bd648598038f1d983504e2f6fa2476ea6642ace9ae31b9fa6f2d SHA512 f076d55eae2fc52e219ed39ab746f5e0e941ea83e1612321b6b6950a9253640338cb1131b679428c7e4f35627bc657246c55f31b8754e22094e391d736b67267 diff --git a/dev-util/repolite/metadata.xml b/dev-util/repolite/metadata.xml new file mode 100644 index 000000000000..c30b51566eec --- /dev/null +++ b/dev-util/repolite/metadata.xml @@ -0,0 +1,15 @@ + + + + + nerdboy@gentoo.org + Steve Arnold + + + Lightweight repository manager using yaml config files instead of xml + manifest or git submodules. + + + sarnold/repolite + + diff --git a/dev-util/repolite/repolite-0.2.0.ebuild b/dev-util/repolite/repolite-0.2.0.ebuild new file mode 100644 index 000000000000..a92be3eca85f --- /dev/null +++ b/dev-util/repolite/repolite-0.2.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Manage a small set of git repository dependencies with YAML." +HOMEPAGE="https://github.com/sarnold/repolite" + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/sarnold/repolite.git" + EGIT_BRANCH="master" + inherit git-r3 +else + SRC_URI="https://github.com/sarnold/repolite/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc" +RESTRICT="test" # no tests :( + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/munch[${PYTHON_USEDEP}] + >=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}] + ') +" +RDEPEND="${DEPEND} + dev-vcs/git +" +BDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}] + ') +" + +DOCS=( README.rst ) + +distutils_enable_sphinx \ + docs/source \ + dev-python/sphinx_rtd_theme \ + dev-python/recommonmark \ + dev-python/sphinxcontrib-apidoc + +pkg_postinst() { + optfeature "initialize repos with lfs files" dev-vcs/git-lfs +}