commit: 3cce47fe370acf7a78f2dec927970fc2bb50125a
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Oct 20 18:55:25 2020 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Oct 20 18:55:25 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3cce47fe
dev-python/python-gantt: version bump 0.6.0_p20200809
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
.../python-gantt-0.6.0_p20200809.ebuild | 37 ++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/dev-python/python-gantt/python-gantt-0.6.0_p20200809.ebuild
b/dev-python/python-gantt/python-gantt-0.6.0_p20200809.ebuild
new file mode 100644
index 000000000..02d850a68
--- /dev/null
+++ b/dev-python/python-gantt/python-gantt-0.6.0_p20200809.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+MY_HASH="2bdacef4d1f4d760f6c8b5397db56928ea223563"
+
+DESCRIPTION="Draw Gantt charts from Python"
+HOMEPAGE="https://pypi.org/project/python-gantt/"
+SRC_URI="https://github.com/stefanSchinkel/gantt/archive/${MY_HASH}.tar.gz"
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( >=dev-python/pytest-5.1.2[${PYTHON_USEDEP}] )"
+RDEPEND="
+ >=dev-python/matplotlib-3.0.3[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.16.3[${PYTHON_USEDEP}]
+ "
+
+S="${WORKDIR}/gantt-${MY_HASH}"
+
+python_prepare() {
+ sed -i\
+ -e "s/matplotlib==3.0.3/matplotlib/g"\
+ -e "s/numpy==1.16.3/numpy/g"\
+ setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+distutils_enable_tests pytest