aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-09 17:15:39 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-09 17:15:39 +0200
commit3a6272071da5395cf20409cf2e0cd3029ed8aa85 (patch)
tree18a96a03e56ecb09b1b9a58d90d76d6dc84e2e79 /dev-python
parentdev-python/pdfminer-six: version bump, add py3_9 (diff)
downloadguru-3a6272071da5395cf20409cf2e0cd3029ed8aa85.tar.gz
guru-3a6272071da5395cf20409cf2e0cd3029ed8aa85.tar.bz2
guru-3a6272071da5395cf20409cf2e0cd3029ed8aa85.zip
dev-python/pylatex: version bump
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pylatex/Manifest2
-rw-r--r--dev-python/pylatex/pylatex-1.3.2.ebuild (renamed from dev-python/pylatex/pylatex-1.3.1.ebuild)43
2 files changed, 18 insertions, 27 deletions
diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
index 7774725d..1b97c371 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
index afab1b0d..36da5e75 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() {