commit:     3a6272071da5395cf20409cf2e0cd3029ed8aa85
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jun  9 15:15:39 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jun  9 15:15:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a627207

dev-python/pylatex: version bump

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/pylatex/Manifest                        |  2 +-
 .../{pylatex-1.3.1.ebuild => pylatex-1.3.2.ebuild} | 43 +++++++++-------------
 2 files changed, 18 insertions(+), 27 deletions(-)

diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
index 7774725..1b97c37 100644
--- a/dev-python/pylatex/Manifest
+++ b/dev-python/pylatex/Manifest
@@ -1 +1 @@
-DIST PyLaTeX.tar.gz 300388 BLAKE2B 
fd3744afa43240e093de683ea14181da879b80e366357cc0d46bc49d6e3d23e47e2a0dd81e840a6df5a049055fac7049d3977e7c731e74f85749eff795345733
 SHA512 
b44ccecb81984613efe5c96f8f0e722fa7b1f4473b8f283196001cd38e062e2b78a4adb8e80c5fdd69558406bec482738520bb998f838d92c0af2b328eb74d07
+DIST pylatex-1.3.2.tar.gz 300576 BLAKE2B 
c096c3e182bdc13fc07c1c2b4bf6ce2e52c04fdd91da0c628d88b5fc1655c4236f468fb261b43882a41f38a389ebcc5c5f6248798df6a04e78b0cb9d4c12d2c4
 SHA512 
c2b7477e3f93f122865f8b68a4312d60b3548601040e51f6a80653bb5b2de8e516bb1f2d6b8ac48a5e0aba8d883c42c58757f6b1cffec5173e8edb071bf25351

diff --git a/dev-python/pylatex/pylatex-1.3.1.ebuild 
b/dev-python/pylatex/pylatex-1.3.2.ebuild
similarity index 63%
rename from dev-python/pylatex/pylatex-1.3.1.ebuild
rename to dev-python/pylatex/pylatex-1.3.2.ebuild
index afab1b0..36da5e7 100644
--- a/dev-python/pylatex/pylatex-1.3.1.ebuild
+++ b/dev-python/pylatex/pylatex-1.3.2.ebuild
@@ -12,45 +12,36 @@ 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 -> 
${MY_PN}.tar.gz"
+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"
 
-DEPEND="
-dev-python/ordered-set[${PYTHON_USEDEP}]
+RDEPEND="
+       dev-python/ordered-set[${PYTHON_USEDEP}]
 "
-RDEPEND="${DEPEND}"
 
-distutils_enable_sphinx docs
-distutils_enable_tests nose
-
-DEPEND+="
-test? (
-       dev-python/quantities
-       dev-python/matplotlib
-       dev-python/numpy
-       app-text/texlive
-       dev-texlive/texlive-latexextra
-)
-"
+DEPEND="test? (
+               dev-python/quantities[${PYTHON_USEDEP}]
+               dev-python/matplotlib[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+               app-text/texlive
+               dev-texlive/texlive-latexextra
+)"
 
-src_prepare(){
-if use doc; then
-       sphinx-apidoc -F -o docs "${S}"/pylatex # conf.py is not included in 
source
-fi
+S="${WORKDIR}/${MY_P}"
 
-distutils-r1_src_prepare
-}
+distutils_enable_sphinx docs/source
+distutils_enable_tests nose
 
 python_install_all() {
-if use examples ; then
-       dodoc -r examples
-fi
+       if use examples ; then
+               dodoc -r examples
+       fi
 
-distutils-r1_python_install_all
+       distutils-r1_python_install_all
 }
 
 pkg_postinst() {

Reply via email to