Package Details: exercism 3.3.0-3

Git Clone URL: https://aur.archlinux.org/exercism.git (read-only, click to copy)
Package Base: exercism
Description: Command line tool for exercism.io
Upstream URL: https://github.com/exercism/cli
Licenses: MIT
Submitter: squarfed
Maintainer: severen
Last Packager: severen
Votes: 12
Popularity: 0.001096
First Submitted: 2018-10-07 17:40 (UTC)
Last Updated: 2024-02-20 08:17 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

rhipilaf commented on 2022-11-22 10:55 (UTC)

Even of the 3.0.13-1 version is written out of date, it is possible to install it with yay, and then run the command : sudo exercism upgrade which upgrades exercism to the last version directly (for me to the 3.1.0 version). You can test your version of exercism with exercism version

Eremiell commented on 2022-09-26 16:24 (UTC)

Seems like the completion scripts are being put into wrong place. I figured this the hard way of deciding to write one and only after some initial attempts realising I may want to look up if there're any open issues or PRs, after which I found out there's an official script shipped, and from there that it's being packaged and even present on my system, just not kicking in. Possibly check where exercism-bin is putting these as that seems to be where about every other package puts them as well.

flacks commented on 2020-01-07 02:22 (UTC)

Hi there - Would you consider switching the dependency on go-pie to go? You can still build PIE binaries by building exercism using:

  go build \
    -buildmode pie \
    -ldflags "-extldflags $LDFLAGS" \
    -trimpath \
    -o out/exercism \
    exercism/main.go

The first flag is what go-pie does by default. AIUI, according to this task https://bugs.archlinux.org/task/60928, it seems like some TUs want to eliminate go-pie and have go build PIE by default (and instead have a go-nopie package in place for builds incompatible with PIE for some reason).

The other 2 flags are meant to enable reproducible builds, and were referenced from https://wiki.archlinux.org/index.php/Go_package_guidelines#Flags_and_build_options. I can confirm by verifying with namcap that the three flags together produce reproducible binary builds.

ekkelett commented on 2019-11-27 13:33 (UTC)

Here's a patch for an update to 3.0.13.

From 42a2fea73cb1b67e25f19af9ec5815c7cb43462f Mon Sep 17 00:00:00 2001
From: "Thor K. H" <thor@roht.no>
Date: Wed, 27 Nov 2019 14:31:32 +0100
Subject: [PATCH] Update to 3.0.13 and remove dep

---
 .SRCINFO | 7 +++----
 PKGBUILD | 8 ++++----
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 9748eaa..3595ab9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
 pkgbase = exercism
    pkgdesc = Command line client for https://exercism.io
-   pkgver = 3.0.10
+   pkgver = 3.0.13
    pkgrel = 2
    url = https://github.com/exercism/cli
    arch = i686
    arch = x86_64
    license = MIT
-   makedepends = dep
    makedepends = go-pie
    depends = glibc
-   source = https://github.com/exercism/cli/archive/v3.0.10.tar.gz
-   sha256sums = 0dbb34ba3bb3571fbc75fa9f5cb0b061317589a98a1af12fe7318a2c4cdbda5b
+   source = https://github.com/exercism/cli/archive/v3.0.13.tar.gz
+   sha256sums = ecc27f272792bc8909d14f11dd08f0d2e9bde4cc663b3769e00eab6e65328a9f

 pkgname = exercism

diff --git a/PKGBUILD b/PKGBUILD
index ae92a3b..49413d7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,17 @@
 # Maintainer: Federico Squartini <federico.squartini at gmail dot com>
+# Contributor: Thor K. Høgås <thor at roht dot no>

 pkgname=exercism
-pkgver=3.0.10
+pkgver=3.0.13
 pkgrel=2
 pkgdesc="Command line client for https://exercism.io"
 arch=("i686" "x86_64")
 url="https://github.com/exercism/cli"
 license=("MIT")
 depends=('glibc')
-makedepends=('dep' 'go-pie')
+makedepends=('go-pie')
 source=("https://github.com/exercism/cli/archive/v${pkgver}.tar.gz")
-sha256sums=('0dbb34ba3bb3571fbc75fa9f5cb0b061317589a98a1af12fe7318a2c4cdbda5b')
+sha256sums=('ecc27f272792bc8909d14f11dd08f0d2e9bde4cc663b3769e00eab6e65328a9f')

 prepare() {
   export GOPATH="$srcdir"/.gopath
@@ -21,7 +22,6 @@ prepare() {
 build() {
   export GOPATH="$srcdir"/.gopath
   cd "$GOPATH"/src/github.com/exercism/cli
-  dep ensure
   go build -o out/exercism exercism/main.go
 }

-- 
2.24.0

squarfed commented on 2018-10-08 10:08 (UTC) (edited on 2018-10-08 10:17 (UTC) by squarfed)

There is another exercism package on aur, which ships the official binary. Instead this one builds from source.