mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
dev-python/odfpy: remove old
Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST odfpy-1.3.2.tar.gz 479554 BLAKE2B 3b9d2d144f11727471002dd1dfb9289028423d05d65fea040041dbd43a674ddf6c893fa8895a2e198e6a82e79aa2af92f21a6381cfd67233b4fe57401370121f SHA512 c5be79c4077f40a56821790d4b6062e3715f8b616b1e9ead79977ad00ecf3f506ebbe73790f215bb835a233833fa471af7f619cfcd88320cf8238e4c9502e248
|
||||
DIST odfpy-1.3.6.tar.gz 691122 BLAKE2B aaaf2c1613beb6775d22e4d1739b7c144d8046e687f0dc8f7b7b1ea7400cc32dd572ed5a1cd12cb01c5fec27b5c37950b710b279a46d60da8735154d2b2d7030 SHA512 09f3fbce633949035842cff16d2e016271b7f6abf04d74fcaa712c9b3afa18943dd566a2d88a7256a0a52d88ea689d6ef8262f6d8d67d6ea1025aa56e10300f8
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# 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} )
|
||||
|
||||
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"
|
||||
|
||||
# Tarball missing required folder to build docs in html.
|
||||
|
||||
python_test() {
|
||||
# Known single fail under python3 suspected to be caused in python3 itself
|
||||
# https://github.com/eea/odfpy/issues/21
|
||||
|
||||
local exit_status=0 test
|
||||
for test in tests/test*.py; do
|
||||
einfo "Running ${test} ..."
|
||||
"${PYTHON}" ${test}
|
||||
[[ $? -ne 0 ]] && exit_status=1
|
||||
done
|
||||
return ${exit_status}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user