* update elixir to 1.18.2-2

This commit is contained in:
Alexander Baldeck 2025-02-17 14:00:49 +01:00
parent 5678bff1f0
commit 36e7b5d950
2 changed files with 50 additions and 21 deletions

View File

@ -1,13 +1,25 @@
pkgbase = elixir
pkgdesc = a functional meta-programming aware language built on top of the Erlang VM
pkgver = 1.18.1
pkgrel = 1
pkgdesc = A dynamic, functional language for building scalable and maintainable applications
pkgver = 1.18.2
pkgrel = 2
url = https://elixir-lang.org
arch = any
license = Apache-2.0
checkdepends = erlang-dialyzer
checkdepends = erlang-eunit
checkdepends = git
depends = erlang-nox
source = elixir-1.18.1.tar.gz::https://github.com/elixir-lang/elixir/archive/v1.18.1.tar.gz
sha256sums = 4235a63c615c7c787d85a5167db28a58ec9f5a579f9b3fd853fc6f4d886c209e
makedepends = erlang-compiler
makedepends = erlang-crypto
makedepends = erlang-erts
makedepends = erlang-inets
makedepends = erlang-kernel
makedepends = erlang-parsetools
makedepends = erlang-public_key
makedepends = erlang-sasl
makedepends = erlang-stdlib
makedepends = erlang-tools
makedepends = erlang-xmerl
source = elixir-1.18.2.tar.gz::https://github.com/elixir-lang/elixir/archive/v1.18.2.tar.gz
sha256sums = efc8d0660b56dd3f0c7536725a95f4d8b6be9f11ca9779d824ad79377753e916
pkgname = elixir

View File

@ -5,31 +5,48 @@
# Contributor: Gilbert Kennen <gilbert firewatcher org>
pkgname=elixir
pkgver=1.18.1
pkgrel=1
pkgdesc="a functional meta-programming aware language built on top of the Erlang VM"
pkgver=1.18.2
pkgrel=2
pkgdesc="A dynamic, functional language for building scalable and maintainable applications"
url="https://elixir-lang.org"
license=('Apache-2.0')
arch=(any)
depends=('erlang-nox')
checkdepends=('git')
makedepends=(
'erlang-compiler'
'erlang-crypto'
'erlang-erts'
'erlang-inets'
'erlang-kernel'
'erlang-parsetools'
'erlang-public_key'
'erlang-sasl'
'erlang-stdlib'
'erlang-tools'
'erlang-xmerl'
)
checkdepends=(
'erlang-dialyzer'
'erlang-eunit'
'git'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/elixir-lang/elixir/archive/v${pkgver}.tar.gz")
sha256sums=('4235a63c615c7c787d85a5167db28a58ec9f5a579f9b3fd853fc6f4d886c209e')
sha256sums=('efc8d0660b56dd3f0c7536725a95f4d8b6be9f11ca9779d824ad79377753e916')
build() {
cd "${pkgname}-${pkgver}"
make
cd "${pkgname}-${pkgver}"
make
}
check() {
cd "${pkgname}-${pkgver}"
ERL_EPMD_PORT=5369 make test
# The elixir test suite starts up epmd and then doesn't kill it again afterwards.
epmd -port 5369 -kill
cd "${pkgname}-${pkgver}"
export ERL_EPMD_PORT=5369
make test
# The elixir test suite starts up epmd and then doesn't kill it again
# afterwards.
epmd -port $ERL_EPMD_PORT -kill
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
}