























This seems to hide the module from community/python-semver maybe this should be marked as conflicting with it? I've just spent quite some time to debug this, having an import issue: ImportError: cannot import name 'VersionInfo' from 'semver' (/usr/lib/python3.10/site-packages/semver/__init__.py)
Hello, you need to rename the source as $pkgname-$pkgver instead of $pkgname
@ImperatorStorm Patch applied, thank you!
Package broke recently, this patch should fix it
1a2
> # Contributor: Imperator Storm <30777770+ImperatorStorm@users.noreply.github.com>
5c6
< pkgrel=4
---
> pkgrel=5
10c11
< depends=()
---
> depends=('python')
12c13
< source=(https://github.com/podhmo/python-node-semver/archive/$pkgver.tar.gz)
---
> source=(python-node-semver.tar.gz::https://github.com/podhmo/python-node-semver/archive/$pkgver.tar.gz)
21c22
< cd "$srcdir/python-node-semver-$pkgver"
---
> cd "$srcdir/$pkgname-$pkgver"
23,25c24,25
< # install -m755 -d "${pkgdir}/usr/share/licenses/$pkgname"
< # install -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/"
< }
\ No newline at end of file
---
> install -D -m644 "$srcdir/$pkgname-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
> }
Missed that in hurry, thank you. Should be fixed now.
@AWHetter, thanks for the report. Please see if you can build the package now.
This is failing to build for me since the repository got renamed to python-node-semver. The sha512sum I now get is "ef6e7cac219a3170676d33af70b7f3d17798285ceea495345746489261987f0e41cfcd3d05ebc333477813404fd0b2028c037d71270fd01142d448bec672643b", and I had to change the various URLs in the PKGBUILD as well.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Thank you for reporting, that is indeed a significant problem.
Apparently the author of python-node-semver is aware of the issue: https://github.com/podhmo/python-node-semver/issues/39
0.9.0rc1 brings a fix which is not backwards compatible as it renames the Python package. This is why I am hesitant to package it as 0.9.0 is not officially released and it is unclear if it ever will be: https://github.com/podhmo/python-node-semver/issues/45
For now I will do as you suggest and mark this package as conflicting with community/python-semver. As this packages seems to only be used by Conan (?), let us see where Conan 2.0 takes us.