summaryrefslogtreecommitdiff
path: root/dev-python/pylatex
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pylatex')
-rw-r--r--dev-python/pylatex/Manifest6
-rw-r--r--dev-python/pylatex/pylatex-1.4.0.ebuild (renamed from dev-python/pylatex/pylatex-1.3.3.ebuild)5
-rw-r--r--dev-python/pylatex/pylatex-1.4.1.ebuild53
3 files changed, 59 insertions, 5 deletions
diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
index 880d2910dbc7..3ed1f082d951 100644
--- a/dev-python/pylatex/Manifest
+++ b/dev-python/pylatex/Manifest
@@ -1,3 +1,5 @@
-DIST pylatex-1.3.3.tar.gz 300639 BLAKE2B ac8fad8fa7e6e821cda168f3ae8ffb5acec21d688761b153ef2f9383b6a2f2ac7daea65f04389eb1ba3152fc50176d73cb814a78d2b5250ead2c6647eb96635a SHA512 12f51805996d84840f68844b79384ce4d2c29dde4db06f73b8887fe012abeaa4b9c5cf5e449132e626132b50ba26f014a899d548e3c0def25289671fd92e41a6
-EBUILD pylatex-1.3.3.ebuild 1264 BLAKE2B a6d55104120846ea6ba209208ed86a584a256f6ec1dd25a9d95fd8c872e9bf7dd2c37a2102837dbab45437840c8e4ab9a70da89cf3e206ce8f33c2e142212b4e SHA512 56297204595cd720e96e1b10365387745b06ffd41cc08cb10a847c4060ffe15f36ee0aada4fb889f689d8602f9cb7a8efa0aa9d9b4e43dc07aa0149d372a127e
+DIST pylatex-1.4.0.tar.gz 301148 BLAKE2B 4d1fa6add43556b7b2c1ff13b3bc2130d06018499197c3d1f40c9180f4346e774d69c2a356d5eab6c8686957ebafac71a78506553cf7cd3cd57d03c0e0ffffd1 SHA512 0d9ab3e733c50b5a4dd7a6758193645c5532c9153972bbed244e3f7e2d6a946bd36af428197f9cdd1a3256f4cc0db5dc78248973f9b330684ce8651c4a59ad91
+DIST pylatex-1.4.1.tar.gz 301482 BLAKE2B c68c8bbf70c5099b3c3146922afe94dcf4f90bfc8644fa165ee27835f4a24642645f9849f2f9fd69656dc07dcc4807869275aacf33a1e5b9c59e539801f8e821 SHA512 55a5734e4d239cef4bcaafa0ba64eea013ba3e86d137de5a5f8311d70c949d783e2e7aad24d39d16a6febbe4bddc34e47248068e1328fe3f95f39a7c7019a3a9
+EBUILD pylatex-1.4.0.ebuild 1265 BLAKE2B 579acc8180c1e1e455a1b8151451036b60568a6740ba50adec26fdd26bee10a0b9dcb8e076df28d6b5fa76f940f931e5a22a098b0d9f14f1776fcde65f4430ac SHA512 9c658c3d8c71f3a769ea862840e6ff74ed2df2c4001b8dbe7b902951f0e9ddae705e8b806e314a39ae876639a34782b204dd0c455c5f4d29ce5269d8adbfbecf
+EBUILD pylatex-1.4.1.ebuild 1267 BLAKE2B e739974e7275fb19a29f59e86501a90fee8760f776da9e95c8e5e311fa84c88fe10c9172ee2e14806e47bd9d757bcd3537df4b7abee41a717f9c69286fcc7569 SHA512 1615f58b66b6241b0ec00c1e007054d498bb67ecc49a6f21713d5eaf93ae1adfe46798147a41ac4eec3e1227d62ea27fc1bdd9df558dea9f524ba2c4ac39a548
MISC metadata.xml 719 BLAKE2B 783c71b21422f66a2f58b8afe718d9029f9b5fc4b4b7b82a1e4e94fc4d5c3a7a13bf55a116591352a6bc48ad5a2249bfca32b60c45d319d79a420a109203b1f0 SHA512 c3c7d820a541708fd78cdda73c425e491b5d527742ff641d9291ecbc107d79cf870cc2150e72f45cfaaf2de8f678b9b54ed041611caaed8538f21615e5fbc374
diff --git a/dev-python/pylatex/pylatex-1.3.3.ebuild b/dev-python/pylatex/pylatex-1.4.0.ebuild
index deb15e20bc05..310d24af93f7 100644
--- a/dev-python/pylatex/pylatex-1.3.3.ebuild
+++ b/dev-python/pylatex/pylatex-1.4.0.ebuild
@@ -13,6 +13,7 @@ inherit distutils-r1 optfeature
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"
+S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
@@ -23,7 +24,7 @@ RDEPEND="
dev-python/ordered-set[${PYTHON_USEDEP}]
"
-distutils_enable_tests nose
+distutils_enable_tests pytest
BDEPEND+="
test? (
@@ -34,8 +35,6 @@ BDEPEND+="
dev-texlive/texlive-latexextra
)"
-S="${WORKDIR}/${MY_P}"
-
python_install_all() {
if use examples ; then
dodoc -r examples
diff --git a/dev-python/pylatex/pylatex-1.4.1.ebuild b/dev-python/pylatex/pylatex-1.4.1.ebuild
new file mode 100644
index 000000000000..f7b9a7e488dc
--- /dev/null
+++ b/dev-python/pylatex/pylatex-1.4.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}"
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit distutils-r1 optfeature
+
+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"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/ordered-set[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+BDEPEND+="
+ test? (
+ dev-python/quantities[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ app-text/texlive
+ dev-texlive/texlive-latexextra
+ )"
+
+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 dev-texlive/texlive-mathscience"
+ optfeature "matplotlib support" dev-python/matplotlib
+ optfeature "numpy support" dev-python/numpy
+ optfeature "quantities support" dev-python/quantities
+}