From 25c1059f37bc54853db82c7836f7a87a9e02ad8b Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 6 Nov 2020 11:12:45 +0100 Subject: sys-libs/liburing: Revbump to add sub-slot for ABI changes Bug: https://bugs.gentoo.org/752132 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Lars Wendler --- sys-libs/liburing/liburing-0.7-r1.ebuild | 55 ++++++++++++++++++++++++++++++++ sys-libs/liburing/liburing-0.7.ebuild | 55 -------------------------------- 2 files changed, 55 insertions(+), 55 deletions(-) create mode 100644 sys-libs/liburing/liburing-0.7-r1.ebuild delete mode 100644 sys-libs/liburing/liburing-0.7.ebuild (limited to 'sys-libs') diff --git a/sys-libs/liburing/liburing-0.7-r1.ebuild b/sys-libs/liburing/liburing-0.7-r1.ebuild new file mode 100644 index 000000000000..716d25c0489c --- /dev/null +++ b/sys-libs/liburing/liburing-0.7-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal toolchain-funcs + +DESCRIPTION="Efficient I/O with io_uring" +HOMEPAGE="https://github.com/axboe/liburing" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/axboe/liburing.git" +else + SRC_URI="https://git.kernel.dk/cgit/${PN}/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +fi +LICENSE="MIT" +SLOT="0/1.0.7" # liburing.so version + +IUSE="static-libs" +# fsync test hangs forever +RESTRICT="test" + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + local myconf=( + --prefix="${EPREFIX}/usr" + --libdir="${EPREFIX}/usr/$(get_libdir)" + --libdevdir="${EPREFIX}/usr/$(get_libdir)" + --mandir="${EPREFIX}/usr/share/man" + --cc="$(tc-getCC)" + ) + # No autotools configure! "econf" will fail. + TMPDIR="${T}" ./configure "${myconf[@]}" +} + +multilib_src_compile() { + emake V=1 AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" +} + +multilib_src_install_all() { + einstalldocs + + if ! use static-libs ; then + find "${ED}" -type f -name "*.a" -delete || die + fi +} + +multilib_src_test() { + emake V=1 runtests +} diff --git a/sys-libs/liburing/liburing-0.7.ebuild b/sys-libs/liburing/liburing-0.7.ebuild deleted file mode 100644 index 8c9918f03cca..000000000000 --- a/sys-libs/liburing/liburing-0.7.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib-minimal toolchain-funcs - -DESCRIPTION="Efficient I/O with io_uring" -HOMEPAGE="https://github.com/axboe/liburing" -if [[ "${PV}" == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/axboe/liburing.git" -else - SRC_URI="https://git.kernel.dk/cgit/${PN}/snapshot/${P}.tar.bz2" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" -fi -LICENSE="MIT" -SLOT="0" - -IUSE="static-libs" -# fsync test hangs forever -RESTRICT="test" - -src_prepare() { - default - multilib_copy_sources -} - -multilib_src_configure() { - local myconf=( - --prefix="${EPREFIX}/usr" - --libdir="${EPREFIX}/usr/$(get_libdir)" - --libdevdir="${EPREFIX}/usr/$(get_libdir)" - --mandir="${EPREFIX}/usr/share/man" - --cc="$(tc-getCC)" - ) - # No autotools configure! "econf" will fail. - TMPDIR="${T}" ./configure "${myconf[@]}" -} - -multilib_src_compile() { - emake V=1 AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" -} - -multilib_src_install_all() { - einstalldocs - - if ! use static-libs ; then - find "${ED}" -type f -name "*.a" -delete || die - fi -} - -multilib_src_test() { - emake V=1 runtests -} -- cgit v1.2.3-65-gdbad