diff --git a/dev-lang/janet/Manifest b/dev-lang/janet/Manifest new file mode 100644 index 0000000000..37b876947f --- /dev/null +++ b/dev-lang/janet/Manifest @@ -0,0 +1 @@ +DIST janet-1.16.1.tar.gz 493490 BLAKE2B 7542644a647d9d2ddd73d8e284f749cdad1900b8df2797c99a2f176c93eca412427b7f571493cfe62f64dd9c90bd12d8506b0f4b6b485ab2d3633e989e735cd9 SHA512 f4be0703676acad8896e41b46d79c4f6d99990c487028f1fd1abd681f756db119a06a5d6a0653b9301afcd62f45d6f1bb7876b9613c0ea28d7199e310a52895d diff --git a/dev-lang/janet/janet-1.16.1.ebuild b/dev-lang/janet/janet-1.16.1.ebuild new file mode 100644 index 0000000000..1181913ec4 --- /dev/null +++ b/dev-lang/janet/janet-1.16.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="Janet is a functional and imperative programming language" +HOMEPAGE="https://janet-lang.org/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/janet-lang/${PN}.git" +else + SRC_URI="https://github.com/janet-lang/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" diff --git a/dev-lang/janet/janet-9999.ebuild b/dev-lang/janet/janet-9999.ebuild new file mode 100644 index 0000000000..1181913ec4 --- /dev/null +++ b/dev-lang/janet/janet-9999.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="Janet is a functional and imperative programming language" +HOMEPAGE="https://janet-lang.org/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/janet-lang/${PN}.git" +else + SRC_URI="https://github.com/janet-lang/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="MIT" +SLOT="0" diff --git a/dev-lang/janet/metadata.xml b/dev-lang/janet/metadata.xml new file mode 100644 index 0000000000..ad2f8814e4 --- /dev/null +++ b/dev-lang/janet/metadata.xml @@ -0,0 +1,21 @@ + + + + + xgqt@riseup.net + Maciej Barć + + + Janet is a functional and imperative programming language + and bytecode interpreter. It is a lisp-like language, + but lists are replaced by other data structures (arrays, + tables (hash table), struct (immutable hash table), tuples). + The language also supports bridging to native code written in C, + meta-programming with macros, and bytecode assembly. + + + https://github.com/janet-lang/janet + https://janet-lang.org/docs + janet-lang/janet + +