From 8710ce7676596bde6e163edec40f74964b8fb7c5 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Thu, 9 Apr 2020 22:28:08 -0400 Subject: [PATCH] dev-python/python-gantt: version bump 0.6.0_p1 ahead of Gentoo Science Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Horea Christian --- dev-python/python-gantt/ChangeLog | 5 +++ dev-python/python-gantt/Manifest | 1 + dev-python/python-gantt/metadata.xml | 16 ++++++++ .../python-gantt/python-gantt-0.6.0_p1.ebuild | 37 +++++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 dev-python/python-gantt/ChangeLog create mode 100644 dev-python/python-gantt/Manifest create mode 100644 dev-python/python-gantt/metadata.xml create mode 100644 dev-python/python-gantt/python-gantt-0.6.0_p1.ebuild diff --git a/dev-python/python-gantt/ChangeLog b/dev-python/python-gantt/ChangeLog new file mode 100644 index 0000000..2da1bf4 --- /dev/null +++ b/dev-python/python-gantt/ChangeLog @@ -0,0 +1,5 @@ +*python-gantt-0.6.0_p1 (10 Apr 2020) + + 10 Apr 2020; +metadata.xml, + +python-gantt-0.6.0_p1.ebuild: + dev-python/python-gantt: version bump 0.6.0_p1 ahead of Gentoo Science diff --git a/dev-python/python-gantt/Manifest b/dev-python/python-gantt/Manifest new file mode 100644 index 0000000..e0f8a2b --- /dev/null +++ b/dev-python/python-gantt/Manifest @@ -0,0 +1 @@ +DIST 8ed033086d2974e15da61b770204e043348bb9d6.tar.gz 32357 SHA256 fb4d5df75386ddde44a38174ea927cc1e424752694c3907e925f6a601f2e6ca0 SHA512 4e4dda8b3d4376c8f8d9574c9c2482ba8038d52069ccac4d745e2397e9e150c5e33c8a0b308ce28f2feb20af2893663a7e05fe59bbac50f7149666ba955020cc WHIRLPOOL 03295a3b5b48e9e1b1a0b6be4fd0cd7af148978fe274c750eaea59c97e5c0ec2e4ab3ed3b50d786defbb05fae3b591b5463ab800fcc6d799b59c57b9ec7541c9 diff --git a/dev-python/python-gantt/metadata.xml b/dev-python/python-gantt/metadata.xml new file mode 100644 index 0000000..5bb000b --- /dev/null +++ b/dev-python/python-gantt/metadata.xml @@ -0,0 +1,16 @@ + + + + + chr@chymera.eu + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + Python-Gantt makes it possible to easily draw gantt charts from Python + and export outputs as scalable vector graphics (SVG). + + diff --git a/dev-python/python-gantt/python-gantt-0.6.0_p1.ebuild b/dev-python/python-gantt/python-gantt-0.6.0_p1.ebuild new file mode 100644 index 0000000..78358a9 --- /dev/null +++ b/dev-python/python-gantt/python-gantt-0.6.0_p1.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,7} ) + +inherit distutils-r1 + +MY_HASH="8ed033086d2974e15da61b770204e043348bb9d6" + +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