Date: Tuesday, April 18, 2023 @ 07:57:26
  Author: felixonmars
Revision: 1447182

upgpkg: python-oslo-db 12.3.1-2: rebuild with python 3.11

Modified:
  python-oslo-db/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-18 07:53:52 UTC (rev 1447181)
+++ PKGBUILD    2023-04-18 07:57:26 UTC (rev 1447182)
@@ -4,20 +4,28 @@
 pkgname=python-oslo-db
 pkgver=12.3.1
 _commit=b689b6320cdb7dbbb366bf35f23083814f5e79ec
-pkgrel=1
+pkgrel=2
 pkgdesc="OpenStack Database Pattern Library"
 arch=('any')
 url="https://pypi.python.org/pypi/oslo.db/$pkgver";
 license=('Apache')
-depends=('python-six' 'python-pbr' 'python-alembic' 'python-debtcollector' 
'python-oslo-i18n'
-         'python-oslo-config' 'python-oslo-utils' 'python-sqlalchemy' 
'python-sqlalchemy-migrate'
-         'python-stevedore')
+depends=('python-pbr' 'python-alembic' 'python-debtcollector' 
'python-oslo-i18n'
+         'python-oslo-config' 'python-oslo-utils' 'python-sqlalchemy' 
'python-stevedore')
 makedepends=('git' 'python-setuptools')
-checkdepends=('python-testresources' 'python-oslotest' 'python-oslo-context')
+checkdepends=('python-testresources' 'python-testscenarios' 'python-eventlet' 
'python-oslotest'
+              'python-oslo-context' 'python-stestr' 'python-testtools' 
'pifpaf')
+optdepends=('python-testresources: for sqlalchemy test fixtures'
+            'python-testscenarios: for sqlalchemy test fixtures')
 options=('!emptydirs')
 source=("git+https://github.com/openstack/oslo.db.git#commit=$_commit";)
 sha512sums=('SKIP')
 
+prepare() {
+  cd oslo.db
+  # remove sqlalchemy-migrate
+  git cherry-pick -n 94d6e24ca19b0116eed00d5ccdb8a538918c6dcf
+}
+
 build() {
   cd oslo.db
   python setup.py build

Reply via email to