diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2022-08-21 14:00:16 -0700 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2022-08-21 14:00:16 -0700 |
commit | a7eda56a1feece56e1080ae0806e0c665bec32ab (patch) | |
tree | 098e4ed9d0e72b4b5eb8b522c9cd3856e790b173 /dev-util/repolite | |
parent | sys-kernel/gentoo-sources: Remove BMQ from 5.18 (EOL) (diff) | |
download | gentoo-a7eda56a1feece56e1080ae0806e0c665bec32ab.tar.gz gentoo-a7eda56a1feece56e1080ae0806e0c665bec32ab.tar.bz2 gentoo-a7eda56a1feece56e1080ae0806e0c665bec32ab.zip |
dev-util/repolite: initial import
Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
Diffstat (limited to 'dev-util/repolite')
-rw-r--r-- | dev-util/repolite/Manifest | 1 | ||||
-rw-r--r-- | dev-util/repolite/metadata.xml | 15 | ||||
-rw-r--r-- | dev-util/repolite/repolite-0.2.0.ebuild | 55 |
3 files changed, 71 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>nerdboy@gentoo.org</email> + <name>Steve Arnold</name> +</maintainer> +<longdescription lang="en"> + Lightweight repository manager using yaml config files instead of xml + manifest or git submodules. +</longdescription> +<upstream> + <remote-id type="github">sarnold/repolite</remote-id> +</upstream> +</pkgmetadata> 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 +} |