Date: Tuesday, February 7, 2023 @ 08:58:28 Author: arojas Revision: 1395989
upgpkg: python-envisage 6.1.0-2: Fix compatibility with traits 6.4 (FS#77409) Modified: python-envisage/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-07 08:48:52 UTC (rev 1395988) +++ PKGBUILD 2023-02-07 08:58:28 UTC (rev 1395989) @@ -1,28 +1,34 @@ -# Maintainer: Andrzej Giniewicz <[email protected]> +# Maintainer: +# Contributor: Andrzej Giniewicz <[email protected]> pkgname=python-envisage pkgver=6.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Extensible Application Framework" -arch=('any') +arch=(any) url="https://github.com/enthought/envisage" -license=('BSD') -depends=('python-apptools') -makedepends=('python-setuptools') +license=(BSD) +depends=(python-apptools python-traitsui) +makedepends=(python-build python-installer python-setuptools python-wheel) optdepends=('ipython: for IPython shell plugin') -source=("envisage-$pkgver.tar.gz::https://github.com/enthought/envisage/archive/${pkgver}.tar.gz") -sha256sums=('4576e5e1028a2bc2f2c8dc253af9d4b2b615bca694707cc185f2a052d6b0b6d4') +source=(https://github.com/enthought/envisage/archive/$pkgver/$pkgname-$pkgver.tar.gz + https://github.com/enthought/envisage/commit/f23ea386.patch) +sha256sums=('4576e5e1028a2bc2f2c8dc253af9d4b2b615bca694707cc185f2a052d6b0b6d4' + 'fab5b1ed3eed0baed51731b2001bee89743f43ee2b8ea4fc7838a1650586c0a4') +prepare() { + cd envisage-$pkgver + patch -p1 < ../f23ea386.patch # Fix compatibility with traits 6.4 +} + build() { cd envisage-$pkgver - - python setup.py build + python -m build --wheel --no-isolation } package() { cd envisage-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl - python setup.py install --root="$pkgdir"/ --optimize=1 - install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
