dev-crystal/crustache: new package, add 2.4.4

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-11-08 23:28:16 +05:00
parent e7d853d986
commit 4fba6fa73a
3 changed files with 47 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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>