[gentoo-commits] repo/proj/guru:master commit in: dev-python/pylatex/

2020-07-20 Thread Andrew Ammerlaan
commit: af56d1c7a69b5b0a5224f30b025fa05b966b7712
Author: David Denoncin  gmail  com>
AuthorDate: Sun Jul 19 11:13:51 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jul 19 11:19:34 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af56d1c7

dev-python/pylatex: moved to ::gentoo

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin  gmail.com>

 dev-python/pylatex/Manifest |  2 --
 dev-python/pylatex/metadata.xml |  9 --
 dev-python/pylatex/pylatex-1.3.2.ebuild | 52 ---
 dev-python/pylatex/pylatex-1.3.3.ebuild | 55 -
 4 files changed, 118 deletions(-)

diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
deleted file mode 100644
index 193e905..000
--- a/dev-python/pylatex/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST pylatex-1.3.2.tar.gz 300576 BLAKE2B 
c096c3e182bdc13fc07c1c2b4bf6ce2e52c04fdd91da0c628d88b5fc1655c4236f468fb261b43882a41f38a389ebcc5c5f6248798df6a04e78b0cb9d4c12d2c4
 SHA512 
c2b7477e3f93f122865f8b68a4312d60b3548601040e51f6a80653bb5b2de8e516bb1f2d6b8ac48a5e0aba8d883c42c58757f6b1cffec5173e8edb071bf25351
-DIST pylatex-1.3.3.tar.gz 300639 BLAKE2B 
ac8fad8fa7e6e821cda168f3ae8ffb5acec21d688761b153ef2f9383b6a2f2ac7daea65f04389eb1ba3152fc50176d73cb814a78d2b5250ead2c6647eb96635a
 SHA512 
12f51805996d84840f68844b79384ce4d2c29dde4db06f73b8887fe012abeaa4b9c5cf5e449132e626132b50ba26f014a899d548e3c0def25289671fd92e41a6

diff --git a/dev-python/pylatex/metadata.xml b/dev-python/pylatex/metadata.xml
deleted file mode 100644
index ebb4c58..000
--- a/dev-python/pylatex/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd";>
-
-
-   
-   ddenon...@gmail.com
-   David Denoncin
-   
-

diff --git a/dev-python/pylatex/pylatex-1.3.2.ebuild 
b/dev-python/pylatex/pylatex-1.3.2.ebuild
deleted file mode 100644
index fa49b27..000
--- a/dev-python/pylatex/pylatex-1.3.2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="PyLaTeX"
-MY_P="${MY_PN}-${PV}"
-
-PYTHON_COMPAT=( python3_{6,7,8,9} )
-inherit distutils-r1 eutils
-
-DESCRIPTION="A Python library for creating LaTeX files and snippets"
-HOMEPAGE="https://github.com/JelteF/PyLaTeX";
-SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples"
-
-RDEPEND="
-   dev-python/ordered-set[${PYTHON_USEDEP}]
-"
-
-DEPEND="test? (
-   dev-python/quantities[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   app-text/texlive
-   dev-texlive/texlive-latexextra
-)"
-
-S="${WORKDIR}/${MY_P}"
-
-distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
-distutils_enable_tests nose
-
-python_install_all() {
-   if use examples ; then
-   dodoc -r examples
-   fi
-
-   distutils-r1_python_install_all
-}
-
-pkg_postinst() {
-   elog "Optional dependencies:"
-   optfeature "compiling generated files" app-text/texlive 
dev-texlive/texlive-latexextra
-   optfeature "matplotlib support" dev-python/matplotlib
-   optfeature "numpy support" dev-python/numpy
-   optfeature "quantities support" dev-python/quantities
-}

diff --git a/dev-python/pylatex/pylatex-1.3.3.ebuild 
b/dev-python/pylatex/pylatex-1.3.3.ebuild
deleted file mode 100644
index 79de19f..000
--- a/dev-python/pylatex/pylatex-1.3.3.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="PyLaTeX"
-MY_P="${MY_PN}-${PV}"
-
-PYTHON_COMPAT=( python3_{6,7,8,9} )
-inherit distutils-r1 eutils
-
-DESCRIPTION="A Python library for creating LaTeX files and snippets"
-HOMEPAGE="https://github.com/JelteF/PyLaTeX";
-SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples"
-
-RDEPEND="
-   dev-python/ordered-set[${PYTHON_USEDEP}]
-"
-
-distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
-distutils_enable_tests nose
-
-BDEPEND+="
-   test? (
-   ${RDEPEND}
-   dev-python/quantities[${PYTHON_USEDEP}]
-   dev-python/matplotlib[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   app-text/texlive
-   dev-texlive/texlive-latexextra
-)"
-
-S="${WORKDIR}/${MY_P}"
-
-python_install_all() {
-   if use examples ; then
-   dodoc -r examples
-   docompress -x /usr/share/doc/"${PF}"/examples
-   fi
-
-   distutils-r1_python_install_all
-}
-
-pkg_postinst() {
-   elog "Optional dependencies:"
-   opt

[gentoo-commits] repo/proj/guru:master commit in: dev-python/pylatex/

2020-07-03 Thread Andrew Ammerlaan
commit: c2bf20b395028a82fb55ebb18031fa9697e577ac
Author: David Denoncin  gmail  com>
AuthorDate: Wed Jul  1 22:01:21 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Jul  1 22:01:21 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2bf20b3

dev-python/pylatex: vbump 1.3.3

Introduce some style change. Also decompress examples.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin  gmail.com>

 dev-python/pylatex/Manifest |  1 +
 dev-python/pylatex/pylatex-1.3.3.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
index 1b97c37..193e905 100644
--- a/dev-python/pylatex/Manifest
+++ b/dev-python/pylatex/Manifest
@@ -1 +1,2 @@
 DIST pylatex-1.3.2.tar.gz 300576 BLAKE2B 
c096c3e182bdc13fc07c1c2b4bf6ce2e52c04fdd91da0c628d88b5fc1655c4236f468fb261b43882a41f38a389ebcc5c5f6248798df6a04e78b0cb9d4c12d2c4
 SHA512 
c2b7477e3f93f122865f8b68a4312d60b3548601040e51f6a80653bb5b2de8e516bb1f2d6b8ac48a5e0aba8d883c42c58757f6b1cffec5173e8edb071bf25351
+DIST pylatex-1.3.3.tar.gz 300639 BLAKE2B 
ac8fad8fa7e6e821cda168f3ae8ffb5acec21d688761b153ef2f9383b6a2f2ac7daea65f04389eb1ba3152fc50176d73cb814a78d2b5250ead2c6647eb96635a
 SHA512 
12f51805996d84840f68844b79384ce4d2c29dde4db06f73b8887fe012abeaa4b9c5cf5e449132e626132b50ba26f014a899d548e3c0def25289671fd92e41a6

diff --git a/dev-python/pylatex/pylatex-1.3.3.ebuild 
b/dev-python/pylatex/pylatex-1.3.3.ebuild
new file mode 100644
index 000..79de19f
--- /dev/null
+++ b/dev-python/pylatex/pylatex-1.3.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="PyLaTeX"
+MY_P="${MY_PN}-${PV}"
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+inherit distutils-r1 eutils
+
+DESCRIPTION="A Python library for creating LaTeX files and snippets"
+HOMEPAGE="https://github.com/JelteF/PyLaTeX";
+SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+   dev-python/ordered-set[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
+distutils_enable_tests nose
+
+BDEPEND+="
+   test? (
+   ${RDEPEND}
+   dev-python/quantities[${PYTHON_USEDEP}]
+   dev-python/matplotlib[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   app-text/texlive
+   dev-texlive/texlive-latexextra
+)"
+
+S="${WORKDIR}/${MY_P}"
+
+python_install_all() {
+   if use examples ; then
+   dodoc -r examples
+   docompress -x /usr/share/doc/"${PF}"/examples
+   fi
+
+   distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+   elog "Optional dependencies:"
+   optfeature "compiling generated files" app-text/texlive 
dev-texlive/texlive-latexextra
+   optfeature "matplotlib support" dev-python/matplotlib
+   optfeature "numpy support" dev-python/numpy
+   optfeature "quantities support" dev-python/quantities
+}



[gentoo-commits] repo/proj/guru:master commit in: dev-python/pylatex/

2020-05-23 Thread Andrew Ammerlaan
commit: 0025dd997c1ec4e09b32bb9152663f28903922e1
Author: David Denoncin  gmail  com>
AuthorDate: Sat May 23 12:27:39 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat May 23 12:27:39 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0025dd99

dev-python/pylatex: cleanup, fix test dependency

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin  gmail.com>

 dev-python/pylatex/pylatex-1.3.1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/pylatex/pylatex-1.3.1.ebuild 
b/dev-python/pylatex/pylatex-1.3.1.ebuild
index c1f01ab..afab1b0 100644
--- a/dev-python/pylatex/pylatex-1.3.1.ebuild
+++ b/dev-python/pylatex/pylatex-1.3.1.ebuild
@@ -32,6 +32,8 @@ test? (
dev-python/quantities
dev-python/matplotlib
dev-python/numpy
+   app-text/texlive
+   dev-texlive/texlive-latexextra
 )
 "
 
@@ -45,8 +47,7 @@ distutils-r1_src_prepare
 
 python_install_all() {
 if use examples ; then
-   docinto examples
-   dodoc -r examples/.
+   dodoc -r examples
 fi
 
 distutils-r1_python_install_all
@@ -54,6 +55,7 @@ distutils-r1_python_install_all
 
 pkg_postinst() {
elog "Optional dependencies:"
+   optfeature "compiling generated files" app-text/texlive 
dev-texlive/texlive-latexextra
optfeature "matplotlib support" dev-python/matplotlib
optfeature "numpy support" dev-python/numpy
optfeature "quantities support" dev-python/quantities



[gentoo-commits] repo/proj/guru:master commit in: dev-python/pylatex/

2020-05-18 Thread Andrew Ammerlaan
commit: adc33f52008525f9614f34df073cb087b4331f90
Author: David Denoncin  gmail  com>
AuthorDate: Mon May 18 01:23:40 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon May 18 01:23:40 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=adc33f52

dev-python/pylatex: update ebuild to conform with qa standards

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin  gmail.com>

 dev-python/pylatex/metadata.xml |  5 
 dev-python/pylatex/pylatex-1.3.1.ebuild | 50 ++---
 2 files changed, 27 insertions(+), 28 deletions(-)

diff --git a/dev-python/pylatex/metadata.xml b/dev-python/pylatex/metadata.xml
index 212167a..ebb4c58 100644
--- a/dev-python/pylatex/metadata.xml
+++ b/dev-python/pylatex/metadata.xml
@@ -6,9 +6,4 @@
ddenon...@gmail.com
David Denoncin

-   
-   Optionally add dev-python/numpy
-   Optionally add 
dev-python/matplotlib
-   Optionally add dev-python/quantities
-   
 

diff --git a/dev-python/pylatex/pylatex-1.3.1.ebuild 
b/dev-python/pylatex/pylatex-1.3.1.ebuild
index c15bb8b..c1f01ab 100644
--- a/dev-python/pylatex/pylatex-1.3.1.ebuild
+++ b/dev-python/pylatex/pylatex-1.3.1.ebuild
@@ -7,8 +7,8 @@ MY_PN="PyLaTeX"
 MY_P="${MY_PN}-${PV}"
 S="${WORKDIR}/${MY_P}"
 
-PYTHON_COMPAT=( python3_{6,7,8} ) #python2_7 -> error: package directory 
'python2_source/pylatex' does not exist
-inherit distutils-r1
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1 eutils
 
 DESCRIPTION="A Python library for creating LaTeX files and snippets"
 HOMEPAGE="https://github.com/JelteF/PyLaTeX";
@@ -17,40 +17,44 @@ 
SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}.ta
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples matplotlib numpy extras"
+IUSE="examples"
 
 DEPEND="
-   dev-python/ordered-set[${PYTHON_USEDEP}]
-   matplotlib? ( dev-python/matplotlib[$PYTHON_USEDEP] )
-   numpy? ( dev-python/numpy[$PYTHON_USEDEP] )
-   extras? ( dev-python/quantities[$PYTHON_USEDEP] )
+dev-python/ordered-set[${PYTHON_USEDEP}]
 "
-
 RDEPEND="${DEPEND}"
 
-distutils_enable_tests nose
 distutils_enable_sphinx docs
+distutils_enable_tests nose
+
+DEPEND+="
+test? (
+   dev-python/quantities
+   dev-python/matplotlib
+   dev-python/numpy
+)
+"
 
 src_prepare(){
-   if use doc; then
-   sphinx-apidoc -F -o docs "${S}"/pylatex # conf.py is not 
included in source
-   fi
+if use doc; then
+   sphinx-apidoc -F -o docs "${S}"/pylatex # conf.py is not included in 
source
+fi
 
-   distutils-r1_src_prepare
+distutils-r1_src_prepare
 }
 
 python_install_all() {
-   if use examples ; then
-   docinto examples
-   dodoc -r examples/.
-   fi
+if use examples ; then
+   docinto examples
+   dodoc -r examples/.
+fi
 
-   distutils-r1_python_install_all
+distutils-r1_python_install_all
 }
 
-src_test() {
-   if  ! use extras ; then
-   rm "${S}"/tests/test_quantities.py # remove if quantities is 
not installed
-   fi
-   distutils-r1_src_test
+pkg_postinst() {
+   elog "Optional dependencies:"
+   optfeature "matplotlib support" dev-python/matplotlib
+   optfeature "numpy support" dev-python/numpy
+   optfeature "quantities support" dev-python/quantities
 }



[gentoo-commits] repo/proj/guru:master commit in: dev-python/pylatex/

2020-05-14 Thread Andrew Ammerlaan
commit: 9967245d2f7cb62fcbca8566e0aecb03ae8edfa4
Author: David Denoncin  gmail  com>
AuthorDate: Wed May 13 10:48:15 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed May 13 10:49:23 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9967245d

dev-python/pylatex: added dev-python/quantities with extras use flag

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin  gmail.com>

 dev-python/pylatex/metadata.xml | 1 +
 dev-python/pylatex/pylatex-1.3.1.ebuild | 7 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/pylatex/metadata.xml b/dev-python/pylatex/metadata.xml
index ab99695..212167a 100644
--- a/dev-python/pylatex/metadata.xml
+++ b/dev-python/pylatex/metadata.xml
@@ -9,5 +9,6 @@

Optionally add dev-python/numpy
Optionally add 
dev-python/matplotlib
+   Optionally add dev-python/quantities

 

diff --git a/dev-python/pylatex/pylatex-1.3.1.ebuild 
b/dev-python/pylatex/pylatex-1.3.1.ebuild
index 97967ff..c15bb8b 100644
--- a/dev-python/pylatex/pylatex-1.3.1.ebuild
+++ b/dev-python/pylatex/pylatex-1.3.1.ebuild
@@ -17,12 +17,13 @@ 
SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}.ta
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples matplotlib numpy" # quantities can be used also, but is not a 
gentoo package.
+IUSE="examples matplotlib numpy extras"
 
 DEPEND="
dev-python/ordered-set[${PYTHON_USEDEP}]
matplotlib? ( dev-python/matplotlib[$PYTHON_USEDEP] )
numpy? ( dev-python/numpy[$PYTHON_USEDEP] )
+   extras? ( dev-python/quantities[$PYTHON_USEDEP] )
 "
 
 RDEPEND="${DEPEND}"
@@ -48,6 +49,8 @@ python_install_all() {
 }
 
 src_test() {
-   rm "${S}"/tests/test_quantities.py # quantities is not a gentoo package
+   if  ! use extras ; then
+   rm "${S}"/tests/test_quantities.py # remove if quantities is 
not installed
+   fi
distutils-r1_src_test
 }



[gentoo-commits] repo/proj/guru:master commit in: dev-python/pylatex/

2020-05-11 Thread Andrew Ammerlaan
commit: 6eaf7b77c271bac5d00d52647e7f679e38b21f0d
Author: David Denoncin  gmail  com>
AuthorDate: Mon May 11 01:05:31 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon May 11 01:05:31 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6eaf7b77

dev-python/pylatex: new package

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Denoncin  gmail.com>

 dev-python/pylatex/Manifest |  1 +
 dev-python/pylatex/metadata.xml | 13 
 dev-python/pylatex/pylatex-1.3.1.ebuild | 53 +
 3 files changed, 67 insertions(+)

diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
new file mode 100644
index 000..7774725
--- /dev/null
+++ b/dev-python/pylatex/Manifest
@@ -0,0 +1 @@
+DIST PyLaTeX.tar.gz 300388 BLAKE2B 
fd3744afa43240e093de683ea14181da879b80e366357cc0d46bc49d6e3d23e47e2a0dd81e840a6df5a049055fac7049d3977e7c731e74f85749eff795345733
 SHA512 
b44ccecb81984613efe5c96f8f0e722fa7b1f4473b8f283196001cd38e062e2b78a4adb8e80c5fdd69558406bec482738520bb998f838d92c0af2b328eb74d07

diff --git a/dev-python/pylatex/metadata.xml b/dev-python/pylatex/metadata.xml
new file mode 100644
index 000..ab99695
--- /dev/null
+++ b/dev-python/pylatex/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   
+   ddenon...@gmail.com
+   David Denoncin
+   
+   
+   Optionally add dev-python/numpy
+   Optionally add 
dev-python/matplotlib
+   
+

diff --git a/dev-python/pylatex/pylatex-1.3.1.ebuild 
b/dev-python/pylatex/pylatex-1.3.1.ebuild
new file mode 100644
index 000..97967ff
--- /dev/null
+++ b/dev-python/pylatex/pylatex-1.3.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="PyLaTeX"
+MY_P="${MY_PN}-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_COMPAT=( python3_{6,7,8} ) #python2_7 -> error: package directory 
'python2_source/pylatex' does not exist
+inherit distutils-r1
+
+DESCRIPTION="A Python library for creating LaTeX files and snippets"
+HOMEPAGE="https://github.com/JelteF/PyLaTeX";
+SRC_URI="https://github.com/JelteF/${MY_PN}/archive/v${PV}.tar.gz -> 
${MY_PN}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples matplotlib numpy" # quantities can be used also, but is not a 
gentoo package.
+
+DEPEND="
+   dev-python/ordered-set[${PYTHON_USEDEP}]
+   matplotlib? ( dev-python/matplotlib[$PYTHON_USEDEP] )
+   numpy? ( dev-python/numpy[$PYTHON_USEDEP] )
+"
+
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests nose
+distutils_enable_sphinx docs
+
+src_prepare(){
+   if use doc; then
+   sphinx-apidoc -F -o docs "${S}"/pylatex # conf.py is not 
included in source
+   fi
+
+   distutils-r1_src_prepare
+}
+
+python_install_all() {
+   if use examples ; then
+   docinto examples
+   dodoc -r examples/.
+   fi
+
+   distutils-r1_python_install_all
+}
+
+src_test() {
+   rm "${S}"/tests/test_quantities.py # quantities is not a gentoo package
+   distutils-r1_src_test
+}