2 Commits 1ec06907c7 ... db693edb2d

Auteur SHA1 Message Date
  jcb db693edb2d improve dev-python/fire ebuild: il y a 1 mois
  jcb bcd77382e5 bump version: dev-python/fire-0.7.0 il y a 1 mois
3 fichiers modifiés avec 46 ajouts et 1 suppressions
  1. 1 1
      README.md
  2. 2 0
      dev-python/fire/Manifest
  3. 43 0
      dev-python/fire/fire-0.7.0.ebuild

+ 1 - 1
README.md

@@ -13,7 +13,7 @@ Package list:
 * app-vim/vim-latex             - [1.10.0-r4]        -- A comprehensive set of tools to view, edit and compile LaTeX documents [temporary ebuild, until the official one is updated]
 * dev-python/arxiv2bib          - [1.0.8]            -- CLI tool to get metadata for academic papers arXiv.org in BibTeX format
 * dev-python/climage            - [0.2.0-r2]         -- Tool that converts images to beautiful ANSI escape codes for display in CLI
-* dev-python/fire               - [0.6.0]            -- Library for automatically generating CLIs with a single line of code
+* dev-python/fire               - [0.7.0]            -- Library for automatically generating CLIs with a single line of code
 * dev-python/habanero           - [1.2.6]            -- Low level client for Crossref search API
 * dev-python/isbnlib            - [3.10.14]          -- A library to validate, clean, transform and get metadata for ISBN strings
 * dev-python/kitchen            - [1.2.6-r2]         -- Useful snippets of code that everybody ends up writing for their projects

+ 2 - 0
dev-python/fire/Manifest

@@ -1,6 +1,8 @@
 DIST fire-0.4.0.tar.gz 87684 BLAKE2B 954de570e593b262468c6f9dabd25c2056a19c50037b91392a3305d455b0bc224a09b31071b86fbc490be5df5b42715412d62c624e3e3efe8d21e6db6c6c67f8 SHA512 d7c0a233a6deb700e597ef0d173e8c09c00eaa882c99f2390f85053e98e36a43113dca4d4e5b2bfcc92f39bda239df30670b17f120cac0fe7e9327320d90f1a8
 DIST python-fire-0.5.0.tar.gz 105701 BLAKE2B 25acb51c3a76ec14c82157edfa2f0ac4fd49a58f78a62c98f1680cd0817413088820c6db00c5062cee30ed9849696c890054bad214ddfe1d7c613b0c30d31d1e SHA512 9d99b53d03568993f93f4742549b68c6a09668dec51fafc62b66b88cda123e055d0408b61e88ce88ee63d153afc543cec435aeddba9bbfaf2d587ba9bb8ed2ef
 DIST python-fire-0.6.0.tar.gz 105901 BLAKE2B d06b7a68dffcee511aacb5531a43e56591611293ae5b1a7ee79939c661ae721c1a7017c47c77fc98ea9fdaaa29738e761c7548b1db098be2d42ffb8daaaf8d97 SHA512 5671b852d9bc72898fb2d75ed293512e37feab51cd009cf4c93716fba0d277a964f534d2578fa072151e400c0d7f85c3f48bbf01f558378ff5fd69747cbc48f6
+DIST python-fire-0.7.0.tar.gz 104555 BLAKE2B 5cd1de43b4c41d046fa8dffc7ab23fd8501febe4fc57ae7fa7c9d814c5409a97f4391f1baafbd8da9681641331df429d70c624b09e1bac58885f037e3445f376 SHA512 6e3eb6f463c61933c397f523a5c8bd67787146bfa518f7931ed3d53569f4418c57179b3c072c88e500072012c3322f83dd9fa161d4144ed6ab8c502bf1b27835
 EBUILD fire-0.4.0-r1.ebuild 663 BLAKE2B d750d0e5d9deb92fc45ac6507f6f7d3d1c792584019ecbff80ca20c6682502a5855cb13712e4e67b1bd9fed2c34792f0709f5418a01a54971de1cb0cbdcece18 SHA512 4cfc4c87d0ea892b59b75aefc374a028ee4cbbfc1f911e20f6944e2b9ee38aba0df3d9d4bc50e4f78ca5eb8fb699e3e2ddcf8413b72d3caaa694e0a99cf9c134
 EBUILD fire-0.5.0.ebuild 796 BLAKE2B 6e998534d4df8b037d24960335b564685485ac08213ab5f7f29c02b22acc1ad82eb4d76ddba2ddc7871e1a1455dc0ccc520eec00b496e95fd57b7b5379eb58fe SHA512 dcd6da1116837e4ea3ea89f261bce41d788d6eda3d6cb0c2271380f2f5e0c48f14719d48b25b57f27910a6b4ea72883d13dd111c34f906f5300c25ba622db1d4
 EBUILD fire-0.6.0.ebuild 827 BLAKE2B 034a393cabfc4edf466b73a91c8db7e1bc4031e9bd2cf239e22791ceb01919091589a4218ec906d55d0b1baa6a9b6fdc768bf866386bf07384160881cf2494d6 SHA512 3300fb01767d37b743fdc48db6038a83011d13eda2e24df1b2fb01d47a49408a5770d2c1e7f9efffa219a00b647b2fc6a83d3e6aef90a89f9be9b0ccf2548a80
+EBUILD fire-0.7.0.ebuild 988 BLAKE2B 0f87e551b25e03b17e9e5b58c4cd83bd04abe9ec2ecb172d04aedd389485bbd51bee9b555b5538f9126771cd565e8a6d95dae42b3686f511aa84b5e86b0bfaba SHA512 496d9b7a8cf8609bdf2abe0e5dbd7eada844ed84628f11ebe2b8f32275e56e6a7a19bb61f6732d19044a0241100aea6581c5ea15f1e3424d2cc39f6c41c82bdb

+ 43 - 0
dev-python/fire/fire-0.7.0.ebuild

@@ -0,0 +1,43 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1
+
+MY_PN=python-${PN}
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Library for automatically generating CLIs from any Python object"
+HOMEPAGE="
+	https://github.com/google/python-fire
+	https://pypi.org/project/fire/"
+
+if [[ "${PV}" == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/google/python-fire"
+else
+	SRC_URI="https://github.com/google/python-fire/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.tar.gz"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="dev-python/termcolor[${PYTHON_USEDEP}]"
+BDEPEND="test? (
+	dev-python/hypothesis[${PYTHON_USEDEP}]
+	dev-python/Levenshtein[${PYTHON_USEDEP}]
+)"
+
+DOCS=( CONTRIBUTING.md LICENSE MANIFEST.in README.md docs/ )
+
+distutils_enable_tests setup.py
+
+src_install() {
+	distutils-r1_src_install
+}