1 |
commit: 203cebff05e15bffa37ddf0c93eafeffa47fdefe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 08:50:04 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 08:50:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203cebff |
7 |
|
8 |
dev-python/tempora: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tempora/Manifest | 2 -- |
13 |
dev-python/tempora/tempora-3.0.0.ebuild | 55 --------------------------------- |
14 |
dev-python/tempora/tempora-4.0.0.ebuild | 42 ------------------------- |
15 |
3 files changed, 99 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest |
18 |
index 45faf134a62..b18d5a91b95 100644 |
19 |
--- a/dev-python/tempora/Manifest |
20 |
+++ b/dev-python/tempora/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST tempora-3.0.0.tar.gz 21500 BLAKE2B 7bf241d5ab60c78c0ea56df6b28e33504200eb5427cdffaf9d5f34da202c3ba4550fa4dcc48874ee870345fa5a10f2b874687fe7de2bbe049b1c14d05161b0e0 SHA512 2d397c1d17bb4c502817ad0278090137fb8ca00273c63a7336200ed7e621a99cd5c954cdc2da00d06eba34ed4f079429f5ddc68b928cc83feacb2335f995e1b7 |
23 |
-DIST tempora-4.0.0.tar.gz 47217 BLAKE2B 3f8489c584768c074874fd299d11ca71b51c646f07792ac910dbd3fa76c309a866e599204364bbc06e6589a6fa046d3150bff05c9d3beb9b427ff409e2c27fe6 SHA512 59792bf03b4ccbdd5b849f0f6b9a0b5f2672e1cc3076b85449b8f183524d23de05588c3a8185550cdb9e52cc610e29db18ed151b8c5f5f25438de41015cc595e |
24 |
DIST tempora-4.0.1.tar.gz 20978 BLAKE2B 1216472a3e03fe0856f598478267647a2a9f8f6b6e28a0e48fc9f66877303da053d1a7e793b812fa8b0909b219a669cd8d82759dfd2c0793d43cc2d086993a8c SHA512 1ee954a7053db2dc0a94637453613851806cc4582f04019e303e13566a842c2710f3c364fd54d8832d4ce2a5eaac29121db9c474b407d5b92e4f8b8ff43b03df |
25 |
|
26 |
diff --git a/dev-python/tempora/tempora-3.0.0.ebuild b/dev-python/tempora/tempora-3.0.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index e457ce52409..00000000000 |
29 |
--- a/dev-python/tempora/tempora-3.0.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,55 +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=( pypy3 python3_{6,7,8,9} ) |
38 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-MY_PN="${PN/-/.}" |
43 |
-DESCRIPTION="Objects and routines pertaining to date and time" |
44 |
-HOMEPAGE="https://github.com/jaraco/tempora" |
45 |
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
46 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
47 |
- |
48 |
-LICENSE="MIT" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86" |
51 |
-IUSE="test" |
52 |
-RESTRICT="!test? ( test )" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] |
56 |
- dev-python/pytz[${PYTHON_USEDEP}] |
57 |
-" |
58 |
-BDEPEND=" |
59 |
- test? ( |
60 |
- ${RDEPEND} |
61 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
62 |
- dev-python/freezegun[${PYTHON_USEDEP}] |
63 |
- ) |
64 |
-" |
65 |
- |
66 |
-distutils_enable_sphinx docs \ |
67 |
- ">=dev-python/jaraco-packaging-3.2" \ |
68 |
- ">=dev-python/rst-linker-1.9" |
69 |
- |
70 |
-python_prepare_all() { |
71 |
- # avoid a setuptools_scm dependency |
72 |
- sed -i "s:use_scm_version=True:version='${PV}',name='${PN//-/.}':" setup.py || die |
73 |
- sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+)[[:space:]]*::" \ |
74 |
- setup.cfg || die |
75 |
- |
76 |
- distutils-r1_python_prepare_all |
77 |
-} |
78 |
- |
79 |
-python_test() { |
80 |
- # Override pytest options to skip flake8 |
81 |
- # Skip a test that requires pytest-freezegun |
82 |
- # because it seems to be poorly maintained |
83 |
- PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \ |
84 |
- --deselect tempora/__init__.py::tempora.get_nearest_year_for_day \ |
85 |
- || die "tests failed with ${EPYTHON}" |
86 |
-} |
87 |
|
88 |
diff --git a/dev-python/tempora/tempora-4.0.0.ebuild b/dev-python/tempora/tempora-4.0.0.ebuild |
89 |
deleted file mode 100644 |
90 |
index e15f8e99b97..00000000000 |
91 |
--- a/dev-python/tempora/tempora-4.0.0.ebuild |
92 |
+++ /dev/null |
93 |
@@ -1,42 +0,0 @@ |
94 |
-# Copyright 1999-2020 Gentoo Authors |
95 |
-# Distributed under the terms of the GNU General Public License v2 |
96 |
- |
97 |
-EAPI=7 |
98 |
- |
99 |
-PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) |
100 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
101 |
- |
102 |
-inherit distutils-r1 |
103 |
- |
104 |
-MY_PN="${PN/-/.}" |
105 |
-DESCRIPTION="Objects and routines pertaining to date and time" |
106 |
-HOMEPAGE="https://github.com/jaraco/tempora" |
107 |
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
108 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
109 |
- |
110 |
-LICENSE="MIT" |
111 |
-SLOT="0" |
112 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ~ppc64 sparc x86" |
113 |
- |
114 |
-RDEPEND=" |
115 |
- >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] |
116 |
- dev-python/pytz[${PYTHON_USEDEP}] |
117 |
-" |
118 |
-BDEPEND=" |
119 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
120 |
- dev-python/toml[${PYTHON_USEDEP}] |
121 |
- test? ( |
122 |
- dev-python/freezegun[${PYTHON_USEDEP}] |
123 |
- dev-python/pytest-freezegun[${PYTHON_USEDEP}] |
124 |
- ) |
125 |
-" |
126 |
- |
127 |
-distutils_enable_tests pytest |
128 |
-distutils_enable_sphinx docs \ |
129 |
- ">=dev-python/jaraco-packaging-3.2" \ |
130 |
- ">=dev-python/rst-linker-1.9" |
131 |
- |
132 |
-src_prepare() { |
133 |
- sed -i -e 's:--flake8 --black --cov --mypy::' pytest.ini || die |
134 |
- distutils-r1_src_prepare |
135 |
-} |