diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/odfpy | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/odfpy')
| -rw-r--r-- | dev-python/odfpy/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/odfpy/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-python/odfpy/odfpy-1.3.6.ebuild | 37 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/odfpy/Manifest b/dev-python/odfpy/Manifest new file mode 100644 index 000000000000..b05bb2bee801 --- /dev/null +++ b/dev-python/odfpy/Manifest @@ -0,0 +1 @@ +DIST odfpy-1.3.6.tar.gz 691122 BLAKE2B aaaf2c1613beb6775d22e4d1739b7c144d8046e687f0dc8f7b7b1ea7400cc32dd572ed5a1cd12cb01c5fec27b5c37950b710b279a46d60da8735154d2b2d7030 SHA512 09f3fbce633949035842cff16d2e016271b7f6abf04d74fcaa712c9b3afa18943dd566a2d88a7256a0a52d88ea689d6ef8262f6d8d67d6ea1025aa56e10300f8 diff --git a/dev-python/odfpy/metadata.xml b/dev-python/odfpy/metadata.xml new file mode 100644 index 000000000000..85abefd083f0 --- /dev/null +++ b/dev-python/odfpy/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">odfpy</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/dev-python/odfpy/odfpy-1.3.6.ebuild b/dev-python/odfpy/odfpy-1.3.6.ebuild new file mode 100644 index 000000000000..ce7cc64b9f96 --- /dev/null +++ b/dev-python/odfpy/odfpy-1.3.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Classifier: Programming Language :: Python :: 2 :: Only +# py3 fails one test, pypy anpother. +# Notes on page of home repo reports support of python3. +PYTHON_COMPAT=( python{3_6,3_7} ) + +inherit distutils-r1 + +DESCRIPTION="Python API and tools to manipulate OpenDocument files" +HOMEPAGE="https://github.com/eea/odfpy https://pypi.org/project/odfpy/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + pytest -v || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r examples/. + fi + distutils-r1_python_install_all +} |
