commit:     257028bafdc26abb11325a87c40dedb70ead9c44
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Jan 27 01:48:10 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Wed Jan 27 01:48:10 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=257028ba

dev-libs/half: bump to EAPI 7

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-libs/half/half-2.1.0.ebuild | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/dev-libs/half/half-2.1.0.ebuild b/dev-libs/half/half-2.1.0.ebuild
index 588ee7e94..023316aab 100644
--- a/dev-libs/half/half-2.1.0.ebuild
+++ b/dev-libs/half/half-2.1.0.ebuild
@@ -1,24 +1,20 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-
-inherit unpacker
+EAPI=7
 
 DESCRIPTION="Half-precision floating-point library"
 HOMEPAGE="http://half.sourceforge.net/";
-SRC_URI="https://downloads.sourceforge.net/project/half/half/${PV}/half-${PV}.zip";
+SRC_URI="https://downloads.sourceforge.net/project/half/half/${PV}/${P}.zip";
+S="${WORKDIR}"
 
 LICENSE="MIT"
 KEYWORDS="~amd64"
 SLOT="0"
 
-DEPEND="app-arch/unzip"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
+BDEPEND="app-arch/unzip"
 
 src_install() {
-       insinto /usr/include
-       doins include/half.hpp
+       cd include
+       doheader half.hpp
 }

Reply via email to