diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-01-19 22:51:28 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-01-19 22:57:18 +0100 |
commit | 91fdeb9d870acb2e67c7369987b65beb9c0244d7 (patch) | |
tree | f8aa278ee709b8a9e8584c733eec1104651c1f32 | |
parent | 323202e3dce36faf9a62b3cf9413633b67323a6f (diff) | |
download | abslibre-91fdeb9d870acb2e67c7369987b65beb9c0244d7.tar.gz abslibre-91fdeb9d870acb2e67c7369987b65beb9c0244d7.tar.bz2 abslibre-91fdeb9d870acb2e67c7369987b65beb9c0244d7.zip |
pcr: python-redmine: rebuild for python 3.10
On Parabola x86_64 we currently have python 3.10:
$ pacman -sS ^python$
core/python 3.10.1-2 [installed]
Next generation of the python high-level scripting language
and python-redmine 2.3.0:
$ pacman -sS python-redmine
pcr/python-redmine 2.3.0-1 [installed]
Python library for communicating with a Redmine project management application
but if we try to import redmine in python3 it fails:
$ python3
Python 3.10.1 (main, Dec 18 2021, 23:53:45) [GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import redmine
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'redmine'
This is because python-redmine has been built against python 3.9:
$ pacman -Q -l python-redmine
python-redmine /usr/
python-redmine /usr/lib/
python-redmine /usr/lib/python3.9/
[...]
so rebuilding it should normally fix this issue.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | pcr/python-redmine/PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pcr/python-redmine/PKGBUILD b/pcr/python-redmine/PKGBUILD index e0fbd9eba..d8726309a 100644 --- a/pcr/python-redmine/PKGBUILD +++ b/pcr/python-redmine/PKGBUILD @@ -3,14 +3,14 @@ # Contributor(Aur): Sebastien Leduc <sebastien@sleduc.fr> # parabola changes and rationale: -# - Bumped version to 2.3.0 -# Patch status: sent in Aur, waiting review: -# https://aur.archlinux.org/pkgbase/python-redmine/#news +# - No changes beside pkgrel+=.parabola1 which is only +# meant to recompile the package if needed. pkgbase='python-redmine' pkgname=('python-redmine' 'python2-redmine') pkgver=2.3.0 pkgrel=1 +pkgrel+=.parabola1 pkgdesc="Python library for communicating with a Redmine project management application" arch=("any") url="https://${pkgbase}.com/" |