Package Details: python-node-semver 0.8.1-2

Git Clone URL: https://aur.archlinux.org/python-node-semver.git (read-only, click to copy)
Package Base: python-node-semver
Description: python version of node-semver
Upstream URL: https://github.com/podhmo/python-node-semver
Licenses: MIT
Conflicts: python-semver
Submitter: suridaj
Maintainer: suridaj
Last Packager: suridaj
Votes: 26
Popularity: 0.147066
First Submitted: 2016-11-26 01:49 (UTC)
Last Updated: 2022-12-01 09:53 (UTC)

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

1 2 Next › Last »

suridaj commented on 2022-12-01 09:37 (UTC)

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.

FederAndInk commented on 2022-11-30 23:37 (UTC)

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)

FabioLolix commented on 2022-04-24 12:16 (UTC)

Hello, you need to rename the source as $pkgname-$pkgver instead of $pkgname

suridaj commented on 2021-09-28 13:50 (UTC)

@ImperatorStorm Patch applied, thank you!

ImperatorStorm commented on 2021-09-24 05:47 (UTC) (edited on 2021-09-24 05:47 (UTC) by ImperatorStorm)

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"
> }

suridaj commented on 2021-09-16 22:01 (UTC)

Missed that in hurry, thank you. Should be fixed now.

enagvoqfenr commented on 2021-09-16 20:34 (UTC)

@suridaj the source var must also be changed to https://github.com/podhmo/python-node-semver/archive/refs/tags/$pkgver.tar.gz

suridaj commented on 2021-09-16 12:22 (UTC)

@AWHetter, thanks for the report. Please see if you can build the package now.

AWhetter commented on 2021-09-16 05:15 (UTC)

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.