summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-07-19 12:33:40 +0000
committerLiguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net>2020-07-19 12:33:40 +0000
commit1083851032009cfbded9f0d233fd7af8f13ec195 (patch)
treeb588ee265471837ceb6defd0ef17e4bb5ac8ca46 /dev-python
parent1e2a26a4fd85671e3d4a24246f17fdf5d44692c8 (diff)
downloadsrcux-1083851032009cfbded9f0d233fd7af8f13ec195.tar.gz
srcux-1083851032009cfbded9f0d233fd7af8f13ec195.tar.xz
srcux-1083851032009cfbded9f0d233fd7af8f13ec195.zip
Updating liguros repo
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/async_generator/async_generator-1.10.ebuild7
-rw-r--r--dev-python/doit-py/doit-py-0.4.0-r2.ebuild2
-rw-r--r--dev-python/doit-py/doit-py-0.5.0.ebuild2
-rw-r--r--dev-python/llvmlite/llvmlite-0.33.0-r1.ebuild2
-rw-r--r--dev-python/pylatex/Manifest1
-rw-r--r--dev-python/pylatex/metadata.xml23
-rw-r--r--dev-python/pylatex/pylatex-1.3.3.ebuild54
-rw-r--r--dev-python/quantities/Manifest1
-rw-r--r--dev-python/quantities/metadata.xml18
-rw-r--r--dev-python/quantities/quantities-0.12.4.ebuild36
10 files changed, 142 insertions, 4 deletions
diff --git a/dev-python/async_generator/async_generator-1.10.ebuild b/dev-python/async_generator/async_generator-1.10.ebuild
index c6c5238e1f46..011b3f239fe2 100644
--- a/dev-python/async_generator/async_generator-1.10.ebuild
+++ b/dev-python/async_generator/async_generator-1.10.ebuild
@@ -17,4 +17,9 @@ KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
DOCS=( README.rst )
-distutils_enable_tests pytest
+python_test() {
+ pushd "${BUILD_DIR}/lib" >/dev/null || die
+ pytest -vv || die "Tests fail with ${EPYTHON}"
+ rm -rf .pytest_cache || die
+ popd >/dev/null || die
+}
diff --git a/dev-python/doit-py/doit-py-0.4.0-r2.ebuild b/dev-python/doit-py/doit-py-0.4.0-r2.ebuild
index c435e4b8b82c..d59e180d4dc3 100644
--- a/dev-python/doit-py/doit-py-0.4.0-r2.ebuild
+++ b/dev-python/doit-py/doit-py-0.4.0-r2.ebuild
@@ -18,7 +18,7 @@ DEPEND="
test? (
dev-python/pyflakes[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
- app-text/hunspell
+ app-text/hunspell[l10n_en]
)"
RDEPEND="
dev-python/configclass[${PYTHON_USEDEP}]"
diff --git a/dev-python/doit-py/doit-py-0.5.0.ebuild b/dev-python/doit-py/doit-py-0.5.0.ebuild
index 950eb191a43f..b65aa2ab6c4c 100644
--- a/dev-python/doit-py/doit-py-0.5.0.ebuild
+++ b/dev-python/doit-py/doit-py-0.5.0.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~x86"
DEPEND="
test? (
- app-text/hunspell
+ app-text/hunspell[l10n_en]
dev-python/pyflakes[${PYTHON_USEDEP}]
)"
RDEPEND="
diff --git a/dev-python/llvmlite/llvmlite-0.33.0-r1.ebuild b/dev-python/llvmlite/llvmlite-0.33.0-r1.ebuild
index 4a919899a287..9b5cbfb69ea2 100644
--- a/dev-python/llvmlite/llvmlite-0.33.0-r1.ebuild
+++ b/dev-python/llvmlite/llvmlite-0.33.0-r1.ebuild
@@ -14,7 +14,7 @@ S=${WORKDIR}/${P/_/}
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples"
LLVM_MAX_SLOT=10
diff --git a/dev-python/pylatex/Manifest b/dev-python/pylatex/Manifest
new file mode 100644
index 000000000000..9a089da0738d
--- /dev/null
+++ b/dev-python/pylatex/Manifest
@@ -0,0 +1 @@
+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
new file mode 100644
index 000000000000..9f55e33da2e9
--- /dev/null
+++ b/dev-python/pylatex/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ddenoncin@gmail.com</email>
+ <name>David Denoncin</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ PyLaTeX is a Python library for creating and compiling LaTeX
+ files or snippets. The goal of this library is being an easy,
+ but extensible interface between Python and LaTeX.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">JelteF/PyLaTeX</remote-id>
+ <remote-id type="pypi">pylatex</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
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 000000000000..624ebdd6af61
--- /dev/null
+++ b/dev-python/pylatex/pylatex-1.3.3.ebuild
@@ -0,0 +1,54 @@
+# 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_tests nose
+
+BDEPEND+="
+ 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}"
+
+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
+}
diff --git a/dev-python/quantities/Manifest b/dev-python/quantities/Manifest
new file mode 100644
index 000000000000..fa90e3a5b653
--- /dev/null
+++ b/dev-python/quantities/Manifest
@@ -0,0 +1 @@
+DIST python-quantities-0.12.4.tar.gz 104093 BLAKE2B 84587726ef3c2f4c7dce4ea538363aecc42aa88c31d2990f834f2de9540b52d6ca0c437c1876a4c2dd5512b4be3af95cc64a1294ea60555ed1b51819f7f46125 SHA512 b5d181880d0789e6fbd55837c5ce65b677764a718be4550f1f553131e171caa59f8fc84d67e69563a293cda01e7b0678074fb311b3766f0013e658a9fa00471f
diff --git a/dev-python/quantities/metadata.xml b/dev-python/quantities/metadata.xml
new file mode 100644
index 000000000000..83ecfff98527
--- /dev/null
+++ b/dev-python/quantities/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ddenoncin@gmail.com</email>
+ <name>David Denoncin</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">python-quantities/python-quantities</remote-id>
+ <remote-id type="pypi">quantities</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-python/quantities/quantities-0.12.4.ebuild b/dev-python/quantities/quantities-0.12.4.ebuild
new file mode 100644
index 000000000000..41a8e27b48b7
--- /dev/null
+++ b/dev-python/quantities/quantities-0.12.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="python-quantities"
+MY_PV="$(ver_cut 1-3)"
+MY_P="${MY_PN}-${PV}"
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1
+
+DESCRIPTION="Support for physical quantities with units, based on numpy"
+HOMEPAGE="https://github.com/python-quantities/python-quantities"
+SRC_URI="https://github.com/python-quantities/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${MY_PN}-${MY_PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/numpy[$PYTHON_USEDEP]
+"
+distutils_enable_tests unittest
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ # Unexpected success
+ sed -i -e 's:test_fix:_&:' \
+ quantities/tests/test_umath.py || die
+
+ distutils-r1_python_prepare_all
+}