diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-11-08 23:28:16 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-11-08 23:28:16 +0500 |
commit | 4fba6fa73a9eeb3a05793c00fff99af50fee7afb (patch) | |
tree | f6675ed43ac55de6ed1c41524f0ac23a74fb0eb3 | |
parent | dev-crystal/habitat: new package, add 0.4.7 (diff) | |
download | guru-4fba6fa73a9eeb3a05793c00fff99af50fee7afb.tar.gz guru-4fba6fa73a9eeb3a05793c00fff99af50fee7afb.tar.bz2 guru-4fba6fa73a9eeb3a05793c00fff99af50fee7afb.zip |
dev-crystal/crustache: new package, add 2.4.4
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
-rw-r--r-- | dev-crystal/crustache/Manifest | 2 | ||||
-rw-r--r-- | dev-crystal/crustache/crustache-2.4.4.ebuild | 37 | ||||
-rw-r--r-- | dev-crystal/crustache/metadata.xml | 8 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-crystal/crustache/Manifest b/dev-crystal/crustache/Manifest new file mode 100644 index 000000000..f63e89534 --- /dev/null +++ b/dev-crystal/crustache/Manifest @@ -0,0 +1,2 @@ +DIST crustache-2.4.4.tar.gz 11130 BLAKE2B e44a16a9a93326d0be2ef4f7dc956c4a27fcaec4bfdce728b9fa8bd12a3d6eab4a5d16507505892fbb11bd6b1e6fb8ae8a89da28c3300f5b181962050b6814fc SHA512 32aa4473df8b97f313b1d90efa53e977730659f6bc820428cac80e99d541cd1028507c9e791d7fe89f5c65a6df9bd4e9759dccebfcfddffc169f4c35537431cc +DIST mustache-spec-1.3.0.tar.gz 24076 BLAKE2B 59802ae5cc88de0ada189c15b4437a2f982c38e641ecd5310a5bef8b1c74fb5d05312abec8e77619665e09e55fb26477869aadda7d1ccd1e64d37b531a3cd540 SHA512 289db4695d73592843cce3765bd4a123c0951c0eb04b78b7efcb2518e3aedcbc5869f5f066a5584781796f992a6881efe58030ecd1474094ae3b056610ac0a4f diff --git a/dev-crystal/crustache/crustache-2.4.4.ebuild b/dev-crystal/crustache/crustache-2.4.4.ebuild new file mode 100644 index 000000000..877774f27 --- /dev/null +++ b/dev-crystal/crustache/crustache-2.4.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shards + +SPEC_PV="1.3.0" +DESCRIPTION="{{Mustache}} for Crystal" +HOMEPAGE="https://github.com/MakeNowJust/crustache" +SRC_URI=" + https://github.com/makenowjust/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + test? ( + https://github.com/mustache/spec/archive/refs/tags/v${SPEC_PV}.tar.gz -> mustache-spec-${SPEC_PV}.tar.gz + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +#RESTRICT="!test? ( test )" + +# interpolation test fails +RESTRICT="test" + +DOCS=( {CHANGELOG,README}.md ) + +src_unpack() { + default + + if use test; then + cd "${S}" || die + rmdir spec/mustache-spec || die + mv "${WORKDIR}"/spec-${SPEC_PV} spec/mustache-spec || die + fi +} diff --git a/dev-crystal/crustache/metadata.xml b/dev-crystal/crustache/metadata.xml new file mode 100644 index 000000000..7ebbd0334 --- /dev/null +++ b/dev-crystal/crustache/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> +</pkgmetadata> |