mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-cpp/units: add 2.3.4
Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST units-2.3.3.tar.gz 1612045 BLAKE2B f81461e28d2cfe331ada2a0d1c0276d6a6c52825f2ec28caf2160e80aaa343ccc947892fe6be6133c5a80f277ac1767df49b66a10ad3ed573b57e6af16acd385 SHA512 40d803e6bb17f4bb46a0136c7753ae25a0d3ce352dbff3843b0c231e94eb8bade1de65d5b988589607fb12b11e4bfa762708a68839f2d7dccb45440672d09031
|
||||
DIST units-2.3.4.tar.gz 1125818 BLAKE2B dd84266bdfba116d7f675600a6dbf3925fd071892ffdfec11392b70b74026dab96628c606d48a5284a8c1661a390245543083eebd9691896008154a8c3fca037 SHA512 2280782fe020fb60fe16f304105de73b30fa51c36e075bfa9b4d0c9d585936084802dd8cca6b1967ad10c7ad949afce27937050184151c2a67f2113f14c38c1b
|
||||
|
||||
28
dev-cpp/units/units-2.3.4.ebuild
Normal file
28
dev-cpp/units/units-2.3.4.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A compile-time, header-only, dimensional analysis and unit conversion library"
|
||||
HOMEPAGE="https://github.com/nholthaus/units"
|
||||
SRC_URI="https://github.com/nholthaus/units/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.3.3-disable-failing-tests.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs+=(
|
||||
-DBUILD_TESTS="$(usex test ON OFF)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user