Search Criteria
Package Details: fortls 3.1.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/fortls.git (read-only, click to copy) |
---|---|
Package Base: | fortls |
Description: | A modern Language Server for Fortran. |
Upstream URL: | https://github.com/gnikit/fortls |
Keywords: | fortran |
Licenses: | MIT |
Conflicts: | fortran-language-server |
Provides: | fortran-language-server |
Submitter: | fosskers |
Maintainer: | fosskers |
Last Packager: | fosskers |
Votes: | 4 |
Popularity: | 0.002467 |
First Submitted: | 2022-03-04 08:48 (UTC) |
Last Updated: | 2024-07-10 02:31 (UTC) |
Dependencies (5)
- python-json5
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-setuptools-scm (make)
- python-wheel (make)
Required by (1)
- ford (optional)
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
fosskers commented on 2023-10-11 07:32 (UTC)
Hi @MarsSeed, thanks for the report. I've forwarded the suggestion upstream: https://github.com/fortran-lang/fortls/issues/326
MarsSeed commented on 2023-10-10 13:09 (UTC)
This needs depends=
python-packaging
.Also please kindly patch
pyproject.toml
to remove the line containing"setuptools_scm_git_archive"
.That module is long deprecated, and its functionality is included in
python-setuptools-scm
. Also, the module is broken with the upcoming version of python-setuptools-scm 8.x+, already in extra-testing repo.After making the above change, this package should only have makedepends=python-setuptools-scm.
Bevan commented on 2023-08-31 18:34 (UTC) (edited on 2023-08-31 18:38 (UTC) by Bevan)
Sorry, that comment was premature. As stated earlier in the comments, the version output by "fortls --version" is incorrect without python-setuptools-scm. So that is indeed required as a build dependency. But python-setuptools-scm-git-archive seems unnecessary to me.
Original (wrong) comment: After changing the source to the pypi tarball, neither python-setuptools-scm nor python-setuptools-scm-git-archive are required for me to build this. Just python-setuptools is sufficient.
fosskers commented on 2023-08-29 08:58 (UTC)
My pleasure! This update also fixed the
json5
issue that was previously reported.cphyc commented on 2023-08-29 08:55 (UTC)
Hi @fosskers, works like a charm, thanks for the quick fix!
fosskers commented on 2023-08-29 08:53 (UTC)
Hi @cphyc, thanks for the report. It should be fixed now. Can you confirm?
cphyc commented on 2023-08-29 08:29 (UTC) (edited on 2023-08-29 08:33 (UTC) by cphyc)
The package doesn't build currently and fails with an error about setuptools-scm being unable to detect the version. This can be fixed by using the pypi archive rather than the github one (and updating the hash accordingly) + add python-setuptools-scm-git-archive as a make dependency.
The origin of the issue seems to be that the github archive is missing some metadata that is present in the pypi's tarball. Anyways, the patch below works fine and
fortls --version
then returns the correct output, i.e.2.13.0
(as of 29/08/23).fosskers commented on 2022-06-19 17:31 (UTC)
I'm strangely unable to reproduce that, even though I don't have
python-json5
installed, but there's something else strange going on involving the package version. The upstream author pushed out updates fairly regularly, so perhaps let's wait for 2.10.0.ciappi commented on 2022-06-19 12:28 (UTC)
@fosskers, thank for the package. I think you need python-json5 in the dependencies.
newsboost commented on 2022-06-17 22:24 (UTC)
@fosskers okay, thanks! It's weird it works sometimes, must be a combination of already installed python-packages or cache or something. I think maybe it's safer to grab the files from https://pypi.org/project/fortls/#files - and then maybe (I haven't tested it), we'll have more luck with the dependencies: setuptools_scm_git_archive and maybe setuptools_scm[toml]... I think these are the ones causing the problem, based on the current package source files - although I'm no expert in this field and didn't test it (just read something similar using google, where they also wrote that pypi.org is better)...
« First ‹ Previous 1 2 3 Next › Last »