diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/nihtest/nihtest-1.8.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-util/shards/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/shards/shards-0.19.0.ebuild | 58 |
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-util/nihtest/nihtest-1.8.0.ebuild b/dev-util/nihtest/nihtest-1.8.0.ebuild index 30b4efa7fcd1..bbebeb8a042b 100644 --- a/dev-util/nihtest/nihtest-1.8.0.ebuild +++ b/dev-util/nihtest/nihtest-1.8.0.ebuild @@ -21,7 +21,7 @@ SRC_URI+=" " LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ppc ppc64 ~riscv sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-util/shards/Manifest b/dev-util/shards/Manifest index 2f5620299fa9..55a9155ce350 100644 --- a/dev-util/shards/Manifest +++ b/dev-util/shards/Manifest @@ -1,2 +1,3 @@ DIST crystal-molinillo-0.2.0.tar.gz 23959 BLAKE2B 257dcca66583db87a802b27b1f100e226eb0b6ac53708d110040d7b5560f429a82f11595e303af4922f22917d922d60ea380fb395d254dc3b3ce24f4183395b6 SHA512 7c00a6a3ee4864b712ad8b703557f10498ba0b25491a55ae2f6c02d574034ec5bf8b87df777c3d34eb9cc4c87eebdcf6567c153e9edf3bc3c1b9ac4306ce3dc2 DIST shards-0.18.0.tar.gz 79910 BLAKE2B 8ca2a79d89f5eb7202a8f86d39817a5d60bababbcc7a02450b30d0e0923b6e6e07db0accdc53b7de1fb9f238db797f8b6737f195666abaae5d208b884c0e86c0 SHA512 99f325792ab13bb1301e29b5b9cc09b10bb081c85d5f67e1a2d9dddd9b1118e23048630ffb7a8a740924b119f774cf22a8f3f223338a82a5c242460bb68f2eb7 +DIST shards-0.19.0.tar.gz 83062 BLAKE2B 47992a417af66b36653884af932e9405a82797bddea7e8780b5af1c707e6394a35d21c485947343fadca51192d454494caad9a2e363ce5d028b05bd4253b8efa SHA512 eff822acc0e0a385a77ca8795bc365741ee2923ffc36f91802f2e48b49f21d15bd3c490496f1fdb87830271e822c489e8b6f35e09908a275b3a7da3c8df3de0d diff --git a/dev-util/shards/shards-0.19.0.ebuild b/dev-util/shards/shards-0.19.0.ebuild new file mode 100644 index 000000000000..0f0cbfd373dc --- /dev/null +++ b/dev-util/shards/shards-0.19.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multiprocessing toolchain-funcs + +CRYSTAL_MOLINILLO_PV="0.2.0" +CRYSTAL_MOLINILLO_P="crystal-molinillo-${CRYSTAL_MOLINILLO_PV}" + +DESCRIPTION="Dependency manager for the Crystal language" +HOMEPAGE="https://github.com/crystal-lang/shards/" +SRC_URI=" + https://github.com/crystal-lang/shards/archive/v${PV}.tar.gz + -> ${P}.tar.gz + https://github.com/crystal-lang/crystal-molinillo/archive/v${CRYSTAL_MOLINILLO_PV}.tar.gz + -> ${CRYSTAL_MOLINILLO_P}.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" # Missing files in the tarball. + +RDEPEND=" + >dev-lang/crystal-0.11.1 + dev-libs/libyaml:= +" +DEPEND=" + ${RDEPEND} +" + +DOCS=( CHANGELOG.md README.md SPEC.md ) + +QA_PREBUILT=".*" # Generated by Crystal. + +src_prepare() { + default + + # bundle crystal-molinillo to bootstrap 'shards' + mkdir -p lib || die + ln -s "../../${CRYSTAL_MOLINILLO_P}" lib/molinillo || die + + tc-export CC +} + +src_compile() { + emake release=1 \ + FLAGS="--link-flags=\"${LDFLAGS}\" --verbose --threads $(makeopts_jobs)" +} + +src_install() { + exeinto /usr/bin + doexe "bin/${PN}" + + doman man/* + einstalldocs +} |
