From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3A218138334 for ; Tue, 7 Aug 2018 15:13:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D8ABE07EE; Tue, 7 Aug 2018 15:13:57 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45450E07EE for ; Tue, 7 Aug 2018 15:13:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACC45335C7D for ; Tue, 7 Aug 2018 15:13:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EFDD9388 for ; Tue, 7 Aug 2018 15:13:52 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1533654811.6e94fa9ed83e226d26a3ec95270cf3895f8f104a.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/odfpy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/odfpy/Manifest dev-python/odfpy/odfpy-1.3.6.ebuild X-VCS-Directories: dev-python/odfpy/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 6e94fa9ed83e226d26a3ec95270cf3895f8f104a X-VCS-Branch: master Date: Tue, 7 Aug 2018 15:13:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6beca30d-3613-4250-91c3-a59642e3dc1b X-Archives-Hash: d244e61deb57ef74323d0fe0230e4684 commit: 6e94fa9ed83e226d26a3ec95270cf3895f8f104a Author: Virgil Dupras gentoo org> AuthorDate: Tue Aug 7 15:13:31 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Tue Aug 7 15:13:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e94fa9e dev-python/odfpy: bump to 1.3.6 * Run tests properly (they pass now) * Use github release tarball to have complete content (for tests) * EAPI 7 * Python 3.7 Package-Manager: Portage-2.3.44, Repoman-2.3.10 dev-python/odfpy/Manifest | 1 + dev-python/odfpy/odfpy-1.3.6.ebuild | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-python/odfpy/Manifest b/dev-python/odfpy/Manifest index 9cb087482d7..ecc587cfd1c 100644 --- a/dev-python/odfpy/Manifest +++ b/dev-python/odfpy/Manifest @@ -1 +1,2 @@ DIST odfpy-1.3.2.tar.gz 479554 BLAKE2B 3b9d2d144f11727471002dd1dfb9289028423d05d65fea040041dbd43a674ddf6c893fa8895a2e198e6a82e79aa2af92f21a6381cfd67233b4fe57401370121f SHA512 c5be79c4077f40a56821790d4b6062e3715f8b616b1e9ead79977ad00ecf3f506ebbe73790f215bb835a233833fa471af7f619cfcd88320cf8238e4c9502e248 +DIST odfpy-1.3.6.tar.gz 691122 BLAKE2B aaaf2c1613beb6775d22e4d1739b7c144d8046e687f0dc8f7b7b1ea7400cc32dd572ed5a1cd12cb01c5fec27b5c37950b710b279a46d60da8735154d2b2d7030 SHA512 09f3fbce633949035842cff16d2e016271b7f6abf04d74fcaa712c9b3afa18943dd566a2d88a7256a0a52d88ea689d6ef8262f6d8d67d6ea1025aa56e10300f8 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 00000000000..61a31f54130 --- /dev/null +++ b/dev-python/odfpy/odfpy-1.3.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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{2_7,3_4,3_5,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="https://github.com/eea/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples 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() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +}