Parcourir la source

add colorpedia ebuild

slash il y a 3 ans
Parent
commit
3176e34e92
2 fichiers modifiés avec 42 ajouts et 0 suppressions
  1. 2 0
      app-text/colorpedia/Manifest
  2. 40 0
      app-text/colorpedia/colorpedia-1.2.3.ebuild

+ 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
+}