Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testfixtures/
Date: Mon, 11 May 2020 17:49:08
Message-Id: 1589219104.011e94da3d0eeb3d7e2636313bb6a3f8bf4b5b42.mgorny@gentoo
1 commit: 011e94da3d0eeb3d7e2636313bb6a3f8bf4b5b42
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 11 17:45:04 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 11 17:45:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=011e94da
7
8 dev-python/testfixtures: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/testfixtures/Manifest | 1 -
13 dev-python/testfixtures/testfixtures-6.14.0.ebuild | 56 ----------------------
14 2 files changed, 57 deletions(-)
15
16 diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest
17 index c9072657208..89f856d155a 100644
18 --- a/dev-python/testfixtures/Manifest
19 +++ b/dev-python/testfixtures/Manifest
20 @@ -1,4 +1,3 @@
21 DIST testfixtures-4.9.1.tar.gz 90117 BLAKE2B 6560d4072f8b0108b7d7708c980f40df1a05af88df86dd01926bdf0eab107744fc89d75bdedaced7300c24a52a9d1c0685f5dd3f5f732121ff97af6d0859055a SHA512 20053d22297b7852382a4f2bf6d76bde6489f788a9073aaae407f68bb6b3d7bdc4a045868cf7c99fd294936768745ee7d652c86a4a96c33fb0e95fa0d96d2a59
22 -DIST testfixtures-6.14.0.tar.gz 114912 BLAKE2B a9833a7765a1d74f6bb564f5fb93a8a91c8bbedd6eafafa0fa9610c5e3403998028d093f8937d1703844260fa8726e4b9de67c66bf10e46aaeef3be844d21283 SHA512 b6beb222a6163fa8b02acb2f0c41c55ba0e9ab3e4ba507a01f03691bc143e69117c8787d29ba785dfaf1257a7880d180bdaffb477f1bbaba2fa2ac3accc2e454
23 DIST testfixtures-6.14.1.tar.gz 114969 BLAKE2B 21e6b377e24240cb275feed2e160da256ca75884c5a6dc842364986031c3cd21fb1b5bc13f3e8780354d47179e6c038cb461a39a04d34bfc8beebbf9809d6431 SHA512 0da31d5e382984c22ada846c07570d4a179ba819005dd29891e551b99190fabaaf17174456f7ed4864e9c4aa25f7d5d8b86aa123b4628328610d6930c9c5d6bd
24 DIST testfixtures-6.8.2.tar.gz 110838 BLAKE2B 4b83a1459aec4bc4b4dcdff48603958bfd115806ce0c567faad37ac273e93096cf964af08d24b98c1743d6302d1b2f6f9c9498023c781ab3e9170e2eda74cefe SHA512 ce6561d976a0b8f79ae72aaca6f5ffa8d1cae30ad73d3d88625ed4fe55da5f0a913785fa3e9aeb4268dfb243a7b74dddc262554521a71c766089383aa5b0e022
25
26 diff --git a/dev-python/testfixtures/testfixtures-6.14.0.ebuild b/dev-python/testfixtures/testfixtures-6.14.0.ebuild
27 deleted file mode 100644
28 index 3367b0ca55c..00000000000
29 --- a/dev-python/testfixtures/testfixtures-6.14.0.ebuild
30 +++ /dev/null
31 @@ -1,56 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{6,7,8} )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests"
42 -HOMEPAGE="https://pypi.org/project/testfixtures/ https://github.com/Simplistix/testfixtures"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -SLOT="0"
46 -LICENSE="MIT"
47 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
48 -IUSE="doc test"
49 -RESTRICT="!test? ( test )"
50 -
51 -DEPEND="
52 - dev-python/setuptools[${PYTHON_USEDEP}]
53 - doc? (
54 - dev-python/sphinx[${PYTHON_USEDEP}]
55 - )
56 - test? (
57 - dev-python/django[${PYTHON_USEDEP}]
58 - dev-python/pytest[${PYTHON_USEDEP}]
59 - dev-python/pytest-django[${PYTHON_USEDEP}]
60 - dev-python/sybil[${PYTHON_USEDEP}]
61 - >=dev-python/twisted-18[${PYTHON_USEDEP}]
62 - dev-python/zope-component[${PYTHON_USEDEP}]
63 - )"
64 -
65 -python_prepare_all() {
66 - # Prevent un-needed download during build, fix Makefile for doc build
67 - sed -e '/'sphinx.ext.intersphinx'/d' -i docs/conf.py || die
68 -
69 - # remove test that tests the stripped zope-component test_components.ComponentsTests
70 - rm -f testfixtures/tests/test_components.py docs/components.txt || die
71 - distutils-r1_python_prepare_all
72 -}
73 -
74 -python_compile_all() {
75 - use doc && emake -C docs html
76 -}
77 -
78 -python_test() {
79 - PYTHONPATH="." \
80 - DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings \
81 - pytest -vv || die
82 -}
83 -
84 -python_install_all() {
85 - use doc && HTML_DOCS=( docs/_build/html/. )
86 - distutils-r1_python_install_all
87 -}