From f7b88537dd7155af39ec67794518d2d169d70a39 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Fri, 31 May 2024 16:25:15 +0200 Subject: app-misc/i2bits: fix UnusedInherits, SRC_URI Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/36921 Signed-off-by: Conrad Kostecki --- app-misc/i2bits/Manifest | 2 +- app-misc/i2bits/i2bits-0.1.0-r1.ebuild | 22 ---------------------- app-misc/i2bits/i2bits-0.1.0-r2.ebuild | 24 ++++++++++++++++++++++++ 3 files changed, 25 insertions(+), 23 deletions(-) delete mode 100644 app-misc/i2bits/i2bits-0.1.0-r1.ebuild create mode 100644 app-misc/i2bits/i2bits-0.1.0-r2.ebuild (limited to 'app-misc') diff --git a/app-misc/i2bits/Manifest b/app-misc/i2bits/Manifest index 4dbd61bbd846..f690e95c7e42 100644 --- a/app-misc/i2bits/Manifest +++ b/app-misc/i2bits/Manifest @@ -1 +1 @@ -DIST i2bits-0.1.0.tar.gz 2649 BLAKE2B 050e7eddadc4e8b4e1da50128b735adbe6fbace35a06709fd2f31db3e8ffb672b3d51eced0ecb9c87c3566d32c9aac7a431c641e53597ee55ae431328dfbee48 SHA512 9f7b2fe8ca66740cae081c3f74f0c5d67d956c8cd2b5f39cb7306e58a8f75d6d5848dd640e7e514638dda6f3d1efe5f292605dc4fddffe5e530bbd5f173a1db9 +DIST i2bits-0.1.0-bb.tar.gz 3007 BLAKE2B 51f866c7d91a1aedf88f0e30bb4847fe659b6abbaea1972a11d4d91cdb053a2b2add2fbe81a9eb9e1246e2373a332ed012ea80cd247548dc34106075d0a53d25 SHA512 ccd5518e05c13727a1698177d485d26ac2f7adc8e49350a9395df28cb5431b74ddf4603ef242ad5f7703e8184346871b70fc03afc506a8d65df9db010c1cb7b4 diff --git a/app-misc/i2bits/i2bits-0.1.0-r1.ebuild b/app-misc/i2bits/i2bits-0.1.0-r1.ebuild deleted file mode 100644 index 2e699e116f58..000000000000 --- a/app-misc/i2bits/i2bits-0.1.0-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Utility to convert hex or dec to binary format" -HOMEPAGE="https://bitbucket.org/PascalRD/i2bits/" -SRC_URI="http://unixdev.ru/src/${P}.tar.gz" - -LICENSE="WTFPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -src_prepare() { - sed -e "s/^set(CMAKE_C_FLAGS.*/set(CMAKE_C_FLAGS \"${CFLAGS}\")/" \ - -e "1s/^/project(${PN})\n/" \ - -i CMakeLists.txt || die "can't patch CMakeLists.txt" - - cmake_src_prepare -} diff --git a/app-misc/i2bits/i2bits-0.1.0-r2.ebuild b/app-misc/i2bits/i2bits-0.1.0-r2.ebuild new file mode 100644 index 000000000000..174e9897fc84 --- /dev/null +++ b/app-misc/i2bits/i2bits-0.1.0-r2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +COMMIT="4c613505b2cb" +DESCRIPTION="Utility to convert hex or dec to binary format" +HOMEPAGE="https://bitbucket.org/PascalRD/i2bits/" +SRC_URI="https://bitbucket.org/PascalRD/i2bits/get/${COMMIT}.tar.gz -> ${P}-bb.tar.gz" +S="${WORKDIR}/PascalRD-${PN}-${COMMIT}" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +src_prepare() { + sed -e "s/^set(CMAKE_C_FLAGS.*/set(CMAKE_C_FLAGS \"${CFLAGS}\")/" \ + -e "1s/^/project(${PN})\n/" \ + -i CMakeLists.txt || die "can't patch CMakeLists.txt" + + cmake_src_prepare +} -- cgit v1.2.3-65-gdbad