Using makepkg -s
, I'm getting the ModuleNotFoundError: No module named 'requests'
error mentioned below. This seems to be because makepkg is running the fetch_version() function before resolving make dependencies.
Search Criteria
Package Details: olympus-bin 4338-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/olympus-bin.git (read-only, click to copy) |
---|---|
Package Base: | olympus-bin |
Description: | A mod manager for Celeste |
Upstream URL: | https://github.com/EverestAPI/Olympus |
Licenses: | MIT |
Submitter: | Majora320 |
Maintainer: | crab2313 |
Last Packager: | crab2313 |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2021-02-09 23:17 (UTC) |
Last Updated: | 2024-09-23 06:41 (UTC) |
Dependencies (5)
- love (love10AUR)
- lua51-lsqlite3AUR
- python (python37AUR, python311AUR, python310AUR) (make)
- python-requests (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
Required by (0)
Sources (1)
Latest Comments
bravely_beep commented on 2024-08-25 18:05 (UTC)
coolreader18 commented on 2022-05-11 23:03 (UTC)
And this is a curl/jq script that does the same thing but doesn't require python:
curl -sSf "https://dev.azure.com/EverestAPI/Olympus/_apis/build/builds" \
| jq -e '[.value[] | select(.sourceBranch == "refs/heads/stable") | .id] | max'
coolreader18 commented on 2022-05-11 22:55 (UTC)
Like I think even something like this should work (can move pkgver() below the header just to make it nicer as well)
diff --git a/PKGBUILD b/PKGBUILD
index da8ade3..eb8853a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Moses Miller <Majora320@gmail.com>
-fetch_version() {
+pkgver() {
python <<EOF
import requests,json
@@ -20,7 +20,7 @@ EOF
}
pkgname=olympus-bin
-pkgver=$(fetch_version)
+pkgver=2551
pkgrel=1
pkgdesc='A mod manager for Celeste'
arch=('x86_64')
coolreader18 commented on 2022-05-11 22:52 (UTC)
Is there a reason you're not using the pkgver()
function to fetch the current version?
ThePirate42 commented on 2022-03-22 14:37 (UTC)
I encountered a packaging error:
[pietro@notgreen olympus-bin]$ makepkg -sirc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'requests'
==> ERRORE: pkgver non può essere vuoto.
(the last part translates to "ERROR: pkgver can't be empty")
crab2313 commented on 2022-03-04 09:25 (UTC)
If you encountered wrong checksum error like this:
==> Validating source files with sha256sums...
olympus-bin-2551.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
Please run updpkgsums and build it again. Also, please flag this package out of date since there is a new stable build.
cerise commented on 2021-11-28 20:25 (UTC)
Download link is broken again, here's an updated PKGBUILD.
crab2313 commented on 2021-07-06 02:01 (UTC)
The download link is broken.
Pinned Comments
crab2313 commented on 2022-03-04 09:25 (UTC)
If you encountered wrong checksum error like this:
Please run updpkgsums and build it again. Also, please flag this package out of date since there is a new stable build.