Parcourir la source

improve dev-python/fire ebuild:
- fix a missing dependency (dev-python/termcolor)
- add test USE flag (and its 2 dependencies)

jcb il y a 1 mois
Parent
commit
db693edb2d
2 fichiers modifiés avec 9 ajouts et 5 suppressions
  1. 1 1
      dev-python/fire/Manifest
  2. 8 4
      dev-python/fire/fire-0.7.0.ebuild

+ 1 - 1
dev-python/fire/Manifest

@@ -5,4 +5,4 @@ DIST python-fire-0.7.0.tar.gz 104555 BLAKE2B 5cd1de43b4c41d046fa8dffc7ab23fd8501
 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 827 BLAKE2B 034a393cabfc4edf466b73a91c8db7e1bc4031e9bd2cf239e22791ceb01919091589a4218ec906d55d0b1baa6a9b6fdc768bf866386bf07384160881cf2494d6 SHA512 3300fb01767d37b743fdc48db6038a83011d13eda2e24df1b2fb01d47a49408a5770d2c1e7f9efffa219a00b647b2fc6a83d3e6aef90a89f9be9b0ccf2548a80
+EBUILD fire-0.7.0.ebuild 988 BLAKE2B 0f87e551b25e03b17e9e5b58c4cd83bd04abe9ec2ecb172d04aedd389485bbd51bee9b555b5538f9126771cd565e8a6d95dae42b3686f511aa84b5e86b0bfaba SHA512 496d9b7a8cf8609bdf2abe0e5dbd7eada844ed84628f11ebe2b8f32275e56e6a7a19bb61f6732d19044a0241100aea6581c5ea15f1e3424d2cc39f6c41c82bdb

+ 8 - 4
dev-python/fire/fire-0.7.0.ebuild

@@ -3,6 +3,7 @@
 
 EAPI=7
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..13} )
 inherit distutils-r1
 
@@ -10,7 +11,7 @@ MY_PN=python-${PN}
 MY_P=${MY_PN}-${PV}
 S=${WORKDIR}/${MY_P}
 
-DESCRIPTION="Library for automatically generating CLIs with a single line of code"
+DESCRIPTION="Library for automatically generating CLIs from any Python object"
 HOMEPAGE="
 	https://github.com/google/python-fire
 	https://pypi.org/project/fire/"
@@ -27,10 +28,13 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND=""
+RDEPEND="dev-python/termcolor[${PYTHON_USEDEP}]"
+BDEPEND="test? (
+	dev-python/hypothesis[${PYTHON_USEDEP}]
+	dev-python/Levenshtein[${PYTHON_USEDEP}]
+)"
 
-DOCS=( README.md LICENSE CONTRIBUTING.md docs/ )
+DOCS=( CONTRIBUTING.md LICENSE MANIFEST.in README.md docs/ )
 
 distutils_enable_tests setup.py