1 |
commit: 9cbcf088df92a4813be1f66442ab31957c8f5b6b |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 27 12:45:26 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Sep 27 16:47:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cbcf088 |
7 |
|
8 |
dev-python/oslo-db: add 11.0.0, drop 8.4.0 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/oslo-db/Manifest | 2 +- |
13 |
...{oslo-db-8.4.0.ebuild => oslo-db-11.0.0.ebuild} | 53 ++++++++++++++++------ |
14 |
2 files changed, 40 insertions(+), 15 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/oslo-db/Manifest b/dev-python/oslo-db/Manifest |
17 |
index bf2d526aa..396d500a6 100644 |
18 |
--- a/dev-python/oslo-db/Manifest |
19 |
+++ b/dev-python/oslo-db/Manifest |
20 |
@@ -1 +1 @@ |
21 |
-DIST oslo.db-8.4.0.tar.gz 172209 BLAKE2B f1f72347ec8c8b2ca452c54fdf9a843d0d31ebbb1356c39cd494dbacbab28e899d63568214fa73f14a8d838c4ce4137d19ee4fd6133344a17f584346775c3013 SHA512 7a64554de2b97ed3edbf4de81bd47a3bab0429c0b7f5708238c5b920010464236cca4a170a591890112706c2968b0cf1885563782c3a1925fb5767569ac1ccd6 |
22 |
+DIST oslo.db-11.0.0.tar.gz 178177 BLAKE2B faae25bf421972cb26c517d035060bdeaa2136cab2409909c96069a31eadab4307366547e9a053afda1a98eec9c5dbebcea5f77600b6861b5114ee69ffbaeeb2 SHA512 ebcd4b5f6c705d81572b8817ebe90a225a999600663b7523fb22e5158caa48db35395928296fcdff949f661e57bbbd6298ae35632541dfe5605d28360e590efb |
23 |
|
24 |
diff --git a/dev-python/oslo-db/oslo-db-8.4.0.ebuild b/dev-python/oslo-db/oslo-db-11.0.0.ebuild |
25 |
similarity index 50% |
26 |
rename from dev-python/oslo-db/oslo-db-8.4.0.ebuild |
27 |
rename to dev-python/oslo-db/oslo-db-11.0.0.ebuild |
28 |
index df699ef90..65a42e487 100644 |
29 |
--- a/dev-python/oslo-db/oslo-db-8.4.0.ebuild |
30 |
+++ b/dev-python/oslo-db/oslo-db-11.0.0.ebuild |
31 |
@@ -1,50 +1,75 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
# Distributed under the terms of the GNU General Public License v2 |
35 |
|
36 |
-EAPI=7 |
37 |
-PYTHON_COMPAT=( python3_{7,8} ) |
38 |
+EAPI=8 |
39 |
+ |
40 |
DISTUTILS_USE_SETUPTOOLS=bdepend |
41 |
+PYTHON_COMPAT=( python3_8 ) |
42 |
|
43 |
inherit distutils-r1 |
44 |
|
45 |
DESCRIPTION="OpenStack Common DB Code" |
46 |
-HOMEPAGE="https://launchpad.net/oslo" |
47 |
+HOMEPAGE=" |
48 |
+ https://pypi.org/project/oslo.db |
49 |
+ https://opendev.org/openstack/oslo.db |
50 |
+ https://launchpad.net/oslo.db |
51 |
+" |
52 |
SRC_URI="mirror://pypi/${PN:0:1}/oslo.db/oslo.db-${PV}.tar.gz" |
53 |
S="${WORKDIR}/oslo.db-${PV}" |
54 |
|
55 |
LICENSE="Apache-2.0" |
56 |
SLOT="0" |
57 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
58 |
+KEYWORDS="~amd64" |
59 |
IUSE="+sqlite mysql postgres" |
60 |
-REQUIRED_USE="|| ( mysql postgres sqlite )" |
61 |
|
62 |
-DEPEND=" |
63 |
- >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
64 |
- !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
65 |
-" |
66 |
RDEPEND=" |
67 |
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
68 |
- !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}] |
69 |
>=dev-python/alembic-0.9.6[${PYTHON_USEDEP}] |
70 |
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] |
71 |
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] |
72 |
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}] |
73 |
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] |
74 |
sqlite? ( |
75 |
- >=dev-python/sqlalchemy-1.2.0[sqlite,${PYTHON_USEDEP}] |
76 |
+ >=dev-python/sqlalchemy-1.4.0[sqlite,${PYTHON_USEDEP}] |
77 |
) |
78 |
mysql? ( |
79 |
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
80 |
- >=dev-python/sqlalchemy-1.2.0[sqlite,${PYTHON_USEDEP}] |
81 |
+ >=dev-python/sqlalchemy-1.4.0[sqlite,${PYTHON_USEDEP}] |
82 |
) |
83 |
postgres? ( |
84 |
>=dev-python/psycopg-2.8[${PYTHON_USEDEP}] |
85 |
- >=dev-python/sqlalchemy-1.2.0[sqlite,${PYTHON_USEDEP}] |
86 |
+ >=dev-python/sqlalchemy-1.4.0[sqlite,${PYTHON_USEDEP}] |
87 |
) |
88 |
>=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] |
89 |
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] |
90 |
" |
91 |
|
92 |
+DEPEND=" |
93 |
+ ${RDEPEND} |
94 |
+ >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] |
95 |
+ test? ( |
96 |
+ >=dev-python/hacking-3.0.1[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/eventlet-0.18.2[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/testtools-2.0.0[${PYTHON_USEDEP}] |
104 |
+ >=dev-python/bandit-1.6.0[${PYTHON_USEDEP}] |
105 |
+ >=dev-python/pifpaf-0.10.0[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] |
107 |
+ >=dev-python/psycopg-2.8.0[${PYTHON_USEDEP}] |
108 |
+ ) |
109 |
+" |
110 |
+ |
111 |
+REQUIRED_USE=" |
112 |
+ || ( mysql postgres sqlite ) |
113 |
+ test? ( mysql ) |
114 |
+" |
115 |
+ |
116 |
+distutils_enable_tests pytest |
117 |
+ |
118 |
python_prepare_all() { |
119 |
sed -i '/^testresources/d' requirements.txt || die |
120 |
sed -i '/^testscenarios/d' requirements.txt || die |