2 Commits 4556e2aa7d ... 106a846675

Auteur SHA1 Message Date
  slash 106a846675 add fire ebuild (dependency of colorpedia) il y a 3 ans
  slash 3176e34e92 add colorpedia ebuild il y a 3 ans

+ 2 - 0
app-text/colorpedia/Manifest

@@ -0,0 +1,2 @@
+DIST colorpedia-1.2.3.tar.gz 363004 BLAKE2B 1f9af5ae4f13c9dad3c7c7dc27a31ce05630de672a11c8396829fc5a1e05e21438d5572dc70371c2f7bbb52c65c8001b2794fc91dbda93a4cfd109eaa1182d2e SHA512 dbb36f5846993a1fc3b8c33496fffc220376cacd4f528fe4bb3d9ffed0a2bce94b4e32499f55471c5ec474d9055f9385cf8f78470365228a58966f4e3ba9bec7
+EBUILD colorpedia-1.2.3.ebuild 954 BLAKE2B e8152b5c0dd60e828c50e4aa3a3fd0a3256e6686db1f18c45a72836a244bb4d01993216cc21e81afe82b6ff4139382580776a04a738935701c4860eeee4aec6f SHA512 47ff74576dc853765003f0ee03495b38b8fdcda4f196c233043a7b12dffad16a6e1dbc5862ff03fc31133cdf3e845e7d86eefc3c62f691617707e7d58fd884aa

+ 40 - 0
app-text/colorpedia/colorpedia-1.2.3.ebuild

@@ -0,0 +1,40 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+inherit distutils-r1
+
+DESCRIPTION="Command-line tool for looking up colors, shades and palettes"
+HOMEPAGE="https://github.com/joowani/colorpedia"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+if [[ "${PV}" == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/joowani/colorpedia"
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+RDEPEND="
+	dev-python/six[${PYTHON_USEDEP}]
+	dev-python/packaging[${PYTHON_USEDEP}]
+	dev-python/tomli[${PYTHON_USEDEP}]
+	dev-python/pyparsing[${PYTHON_USEDEP}]
+	dev-python/fire[${PYTHON_USEDEP}]"
+BDEPEND="
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+
+DOCS=( docs/README.md docs/CONTRIBUTING.md )
+
+#distutils_enable_tests setup.py
+
+src_install() {
+	distutils-r1_src_install
+}

+ 2 - 0
dev-python/fire/Manifest

@@ -0,0 +1,2 @@
+DIST fire-0.4.0.tar.gz 87684 BLAKE2B 954de570e593b262468c6f9dabd25c2056a19c50037b91392a3305d455b0bc224a09b31071b86fbc490be5df5b42715412d62c624e3e3efe8d21e6db6c6c67f8 SHA512 d7c0a233a6deb700e597ef0d173e8c09c00eaa882c99f2390f85053e98e36a43113dca4d4e5b2bfcc92f39bda239df30670b17f120cac0fe7e9327320d90f1a8
+EBUILD fire-0.4.0.ebuild 657 BLAKE2B 7f0c63ac88ae63f2f7a9c018e7bc1c8733a1478123034b0d6bd1fd00a58787792cdeff14ec42e6e21283d984bf5855a7c52e4ee83407d3940f82ed9f6eb2c850 SHA512 a1995cb2ea9c63180f9929dfab97edb74875f17b9838fecd832cb5bb81ee0043e811f7c91e5257f88be0fabebfffdb9e1910bab703e0a7d78357484350407cc7

+ 33 - 0
dev-python/fire/fire-0.4.0.ebuild

@@ -0,0 +1,33 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+inherit distutils-r1
+
+DESCRIPTION="Library for automatically generating CLIs with a single line of code"
+HOMEPAGE="https://github.com/google/python-fire"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+if [[ "${PV}" == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/google/python-fire"
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+DOCS=( README.md )
+
+distutils_enable_tests setup.py
+
+src_install() {
+	distutils-r1_src_install
+}