Date: Sunday, December 5, 2021 @ 16:01:46 Author: archange Revision: 1065184
Python 3.10 rebuild Modified: python-qtconsole/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-05 15:50:58 UTC (rev 1065183) +++ PKGBUILD 2021-12-05 16:01:46 UTC (rev 1065184) @@ -4,7 +4,7 @@ _pkgname=qtconsole pkgname=python-qtconsole pkgver=5.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="Qt-based console for Jupyter with support for rich media output" arch=(any) url="https://qtconsole.readthedocs.io/" @@ -22,9 +22,16 @@ ) makedepends=(python-setuptools) checkdepends=(python-pytest python-pytest-qt python-flaky xorg-server-xvfb) -source=(https://github.com/jupyter/${_pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('90e6eedb84f1e3ddc775599d9f14fe7fb68e55f2b849e9006a5c4706f869f7c4') +source=(https://github.com/jupyter/${_pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz + ${pkgname}-py3.10.patch::https://github.com/jupyter/qtconsole/pull/513.patch) +sha256sums=('90e6eedb84f1e3ddc775599d9f14fe7fb68e55f2b849e9006a5c4706f869f7c4' + '971fc34f2eada8ca6c0d1260dd7c6ce6be1082ae3eab2d31912b125e35eb239c') +prepare() { + cd ${_pkgname}-${pkgver} + patch -p1 < ../${pkgname}-py3.10.patch +} + build() { cd ${_pkgname}-${pkgver} python setup.py build