[gentoo-commits] proj/sci:master commit in: dev-python/python-gantt/

2022-07-11 Thread Horea Christian
commit: 1eb762606fc44cbf389caf517477441f119cf8c0
Author: Horea Christian  chymera  eu>
AuthorDate: Mon Jul 11 14:38:04 2022 +
Commit: Horea Christian  gmail  com>
CommitDate: Mon Jul 11 14:38:04 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=1eb76260

dev-python/python-gantt: EAPI and PYTHON_COMPAT bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian  chymera.eu>

 dev-python/python-gantt/python-gantt-0.6.0_p20200809.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

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
index 379816b05..f2d829835 100644
--- a/dev-python/python-gantt/python-gantt-0.6.0_p20200809.ebuild
+++ b/dev-python/python-gantt/python-gantt-0.6.0_p20200809.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -30,7 +30,7 @@ python_prepare() {
-e "s/matplotlib==3.0.3/matplotlib/g"\
-e "s/numpy==1.16.3/numpy/g"\
setup.py || die
-   distutils-r1_python_prepare_all
+   python_prepare_all
 }
 
 distutils_enable_tests pytest



[gentoo-commits] proj/sci:master commit in: dev-python/python-gantt/

2022-01-25 Thread Andrew Ammerlaan
commit: 7c64d91a4b80bdf4f312c52f0ea8e56bb7b21006
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jan 25 17:29:03 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jan 25 17:29:03 2022 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=7c64d91a

dev-python/python-gantt: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/python-gantt/python-gantt-0.6.0.ebuild | 26 ---
 1 file changed, 26 deletions(-)

diff --git a/dev-python/python-gantt/python-gantt-0.6.0.ebuild 
b/dev-python/python-gantt/python-gantt-0.6.0.ebuild
deleted file mode 100644
index 2c8347c49..0
--- a/dev-python/python-gantt/python-gantt-0.6.0.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6..8} )
-
-inherit distutils-r1
-
-DESCRIPTION="Draw Gantt charts from Python"
-HOMEPAGE="https://pypi.org/project/python-gantt/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   dev-python/python-dateutil[${PYTHON_USEDEP}]
-   dev-python/svgwrite[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests nose
-
-python_test() {
-   nosetests -v || die "nose tests fail with ${EPYTHON}"
-}



[gentoo-commits] proj/sci:master commit in: dev-python/python-gantt/

2020-10-20 Thread Horea Christian
commit: 3cce47fe370acf7a78f2dec927970fc2bb50125a
Author: Horea Christian  chymera  eu>
AuthorDate: Tue Oct 20 18:55:25 2020 +
Commit: Horea Christian  gmail  com>
CommitDate: Tue Oct 20 18:55:25 2020 +
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  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 0..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



[gentoo-commits] proj/sci:master commit in: dev-python/python-gantt/

2020-09-22 Thread Aisha Tammy
commit: 5d89187b8279ff9ab7849aab2a84661be8eb6269
Author: Aisha Tammy  aisha  cc>
AuthorDate: Tue Sep 22 17:30:44 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Tue Sep 22 17:30:44 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=5d89187b

dev-python/python-gantt: drop python2

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy  aisha.cc>

 dev-python/python-gantt/python-gantt-0.6.0.ebuild | 15 ++-
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/dev-python/python-gantt/python-gantt-0.6.0.ebuild 
b/dev-python/python-gantt/python-gantt-0.6.0.ebuild
index 47b93c751..2c8347c49 100644
--- a/dev-python/python-gantt/python-gantt-0.6.0.ebuild
+++ b/dev-python/python-gantt/python-gantt-0.6.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_6 python3_7 )
+PYTHON_COMPAT=( python3_{6..8} )
 
 inherit distutils-r1
 
@@ -13,17 +13,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/nose[${PYTHON_USEDEP}]
-   "
 RDEPEND="
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/svgwrite[${PYTHON_USEDEP}]
-   "
+"
+
+distutils_enable_tests nose
 
 python_test() {
-   nosetests -v || die "Tests fail with ${EPYTHON}"
+   nosetests -v || die "nose tests fail with ${EPYTHON}"
 }



[gentoo-commits] proj/sci:master commit in: dev-python/python-gantt/

2019-08-28 Thread Horea Christian
commit: f8255bc0c85f1b66b6883532ff797d5abfaffa1a
Author: Horea Christian  chymera  eu>
AuthorDate: Wed Aug 28 15:48:06 2019 +
Commit: Horea Christian  gmail  com>
CommitDate: Wed Aug 28 15:48:06 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=f8255bc0

dev-python/python-gantt: new package

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Horea Christian  chymera.eu>

 dev-python/python-gantt/metadata.xml  | 16 +
 dev-python/python-gantt/python-gantt-0.6.0.ebuild | 29 +++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/python-gantt/metadata.xml 
b/dev-python/python-gantt/metadata.xml
new file mode 100644
index 0..5bb000bcb
--- /dev/null
+++ b/dev-python/python-gantt/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   c...@chymera.eu
+   Horea Christian
+   
+   
+   s...@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.ebuild 
b/dev-python/python-gantt/python-gantt-0.6.0.ebuild
new file mode 100644
index 0..47b93c751
--- /dev/null
+++ b/dev-python/python-gantt/python-gantt-0.6.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_6 python3_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Draw Gantt charts from Python"
+HOMEPAGE="https://pypi.org/project/python-gantt/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/nose[${PYTHON_USEDEP}]
+   "
+RDEPEND="
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   dev-python/svgwrite[${PYTHON_USEDEP}]
+   "
+
+python_test() {
+   nosetests -v || die "Tests fail with ${EPYTHON}"
+}