From 751190fdc7ba7aba2fd9c94a6b426c4f345383ad Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Tue, 12 Nov 2019 20:58:34 -0500 Subject: [PATCH] dev-libs/leveldb: drop old EAPIs Signed-off-by: Aaron Bauman --- dev-libs/leveldb/leveldb-1.15.0-r1.ebuild | 59 -------------------- dev-libs/leveldb/leveldb-1.15.0.ebuild | 52 ----------------- dev-libs/leveldb/leveldb-1.17.ebuild | 68 ----------------------- dev-libs/leveldb/leveldb-1.18.ebuild | 65 ---------------------- dev-libs/leveldb/leveldb-1.9.0-r5.ebuild | 56 ------------------- dev-libs/leveldb/leveldb-1.9.0-r6.ebuild | 57 ------------------- 6 files changed, 357 deletions(-) delete mode 100644 dev-libs/leveldb/leveldb-1.15.0-r1.ebuild delete mode 100644 dev-libs/leveldb/leveldb-1.15.0.ebuild delete mode 100644 dev-libs/leveldb/leveldb-1.17.ebuild delete mode 100644 dev-libs/leveldb/leveldb-1.18.ebuild delete mode 100644 dev-libs/leveldb/leveldb-1.9.0-r5.ebuild delete mode 100644 dev-libs/leveldb/leveldb-1.9.0-r6.ebuild diff --git a/dev-libs/leveldb/leveldb-1.15.0-r1.ebuild b/dev-libs/leveldb/leveldb-1.15.0-r1.ebuild deleted file mode 100644 index f2ea73b72f90..000000000000 --- a/dev-libs/leveldb/leveldb-1.15.0-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="a fast key-value storage library written at Google" -HOMEPAGE="https://github.com/google/leveldb" -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="+snappy static-libs +tcmalloc" - -DEPEND="tcmalloc? ( dev-util/google-perftools ) - snappy? ( - app-arch/snappy - static-libs? ( app-arch/snappy[static-libs] ) - )" -RDEPEND="${DEPEND}" - -src_prepare() { - cp "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" "${S}/patch" - sed -i 's/\(^ SHARED_MINOR =\).*/\1 15/' "${S}/patch" - epatch "${S}/patch" -} - -src_configure() { - # These vars all get picked up by build_detect_platform - # which the Makefile runs for us automatically. - tc-export AR CC CXX - export OPT="-DNDEBUG ${CPPFLAGS}" - # Probably needs more filling out - export TARGET_OS - case ${CHOST} in - *) TARGET_OS="Linux";; - esac - export USE_SNAPPY=$(usex snappy) - export USE_TCMALLOC=no -} - -src_compile() { - emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a libmemenv.SHARED -} - -src_test() { - emake check -} - -src_install() { - insinto /usr/include - doins -r include/* helpers/memenv/memenv.h - dolib.so libleveldb*$(get_libname)* - use static-libs && dolib.a libleveldb.a - dolib.a libmemenv.a - dolib.so libmemenv*$(get_libname)* -} diff --git a/dev-libs/leveldb/leveldb-1.15.0.ebuild b/dev-libs/leveldb/leveldb-1.15.0.ebuild deleted file mode 100644 index 0b1c19884483..000000000000 --- a/dev-libs/leveldb/leveldb-1.15.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="a fast key-value storage library written at Google" -HOMEPAGE="https://github.com/google/leveldb" -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+snappy static-libs +tcmalloc" - -DEPEND="tcmalloc? ( dev-util/google-perftools ) - snappy? ( - app-arch/snappy - static-libs? ( app-arch/snappy[static-libs] ) - )" -RDEPEND="${DEPEND}" - -src_configure() { - # These vars all get picked up by build_detect_platform - # which the Makefile runs for us automatically. - tc-export AR CC CXX - export OPT="-DNDEBUG ${CPPFLAGS}" - # Probably needs more filling out - export TARGET_OS - case ${CHOST} in - *) TARGET_OS="Linux";; - esac - export USE_SNAPPY=$(usex snappy) - export USE_TCMALLOC=no -} - -src_compile() { - emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a -} - -src_test() { - emake check -} - -src_install() { - insinto /usr/include - doins -r include/* helpers/memenv/memenv.h - dolib.so libleveldb*$(get_libname)* - use static-libs && dolib.a libleveldb.a - dolib.a libmemenv.a -} diff --git a/dev-libs/leveldb/leveldb-1.17.ebuild b/dev-libs/leveldb/leveldb-1.17.ebuild deleted file mode 100644 index 932d7cd196df..000000000000 --- a/dev-libs/leveldb/leveldb-1.17.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs versionator - -GITCRAP="e353fbc7ea81" - -DESCRIPTION="a fast key-value storage library written at Google" -HOMEPAGE="https://github.com/google/leveldb" -#SRC_URI="https://${PN}.googlecode.com/archive/${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI="https://dev.gentoo.org/~floppym/dist/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+snappy static-libs +tcmalloc" - -DEPEND="tcmalloc? ( dev-util/google-perftools ) - snappy? ( - app-arch/snappy - static-libs? ( app-arch/snappy[static-libs] ) - )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}-${GITCRAP}" - -src_prepare() { - local SHARED_MINOR=$(get_version_component_range 2) - cp "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" "${S}/patch" - sed -i "s/\(^ SHARED_MINOR =\).*/\1 ${SHARED_MINOR}/" "${S}/patch" - epatch "${S}/patch" - - # lacks execution bit - chmod +x "${S}"/build_detect_platform || die -} - -src_configure() { - # These vars all get picked up by build_detect_platform - # which the Makefile runs for us automatically. - tc-export AR CC CXX - export OPT="-DNDEBUG ${CPPFLAGS}" - # Probably needs more filling out - export TARGET_OS - case ${CHOST} in - *) TARGET_OS="Linux";; - esac - export USE_SNAPPY=$(usex snappy) - export USE_TCMALLOC=no -} - -src_compile() { - emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a libmemenv.SHARED -} - -src_test() { - emake check -} - -src_install() { - insinto /usr/include - doins -r include/* helpers/memenv/memenv.h - dolib.so libleveldb*$(get_libname)* - use static-libs && dolib.a libleveldb.a - dolib.a libmemenv.a - dolib.so libmemenv*$(get_libname)* -} diff --git a/dev-libs/leveldb/leveldb-1.18.ebuild b/dev-libs/leveldb/leveldb-1.18.ebuild deleted file mode 100644 index 4d12e3776624..000000000000 --- a/dev-libs/leveldb/leveldb-1.18.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs versionator - -DESCRIPTION="a fast key-value storage library written at Google" -HOMEPAGE="https://github.com/google/leveldb" -SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+snappy static-libs +tcmalloc" - -DEPEND="tcmalloc? ( dev-util/google-perftools ) - snappy? ( - app-arch/snappy - static-libs? ( app-arch/snappy[static-libs] ) - )" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.18-mips.patch - - local SHARED_MINOR=$(get_version_component_range 2) - sed \ - -e "s/\(^ SHARED_MINOR =\).*/\1 ${SHARED_MINOR}/" \ - "${FILESDIR}/${PN}-1.9.0-memenv-so.patch" > memenv-so.patch - epatch memenv-so.patch - - # lacks execution bit - chmod +x build_detect_platform || die -} - -src_configure() { - # These vars all get picked up by build_detect_platform - # which the Makefile runs for us automatically. - tc-export AR CC CXX - export OPT="-DNDEBUG ${CPPFLAGS}" - # Probably needs more filling out - export TARGET_OS - case ${CHOST} in - *) TARGET_OS="Linux";; - esac - export USE_SNAPPY=$(usex snappy) - export USE_TCMALLOC=no -} - -src_compile() { - emake $(usex static-libs 'libmemenv.a' 'LIBRARY=') all libmemenv.SHARED -} - -src_test() { - emake check -} - -src_install() { - insinto /usr/include - doins -r include/* helpers/memenv/memenv.h - dolib.so libleveldb*$(get_libname)* - use static-libs && dolib.a libleveldb.a libmemenv.a - dolib.so libmemenv*$(get_libname)* -} diff --git a/dev-libs/leveldb/leveldb-1.9.0-r5.ebuild b/dev-libs/leveldb/leveldb-1.9.0-r5.ebuild deleted file mode 100644 index 6a25a27fc933..000000000000 --- a/dev-libs/leveldb/leveldb-1.9.0-r5.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="a fast key-value storage library written at Google" -HOMEPAGE="https://github.com/google/leveldb" -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~ppc ~ppc64 x86" -IUSE="+snappy static-libs" - -DEPEND=" - snappy? ( - app-arch/snappy - static-libs? ( app-arch/snappy[static-libs] ) - )" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.9.0-configure.patch -} - -src_configure() { - # These vars all get picked up by build_detect_platform - # which the Makefile runs for us automatically. - tc-export AR CC CXX - export OPT="-DNDEBUG ${CPPFLAGS}" - # Probably needs more filling out - export TARGET_OS - case ${CHOST} in - *) TARGET_OS="Linux";; - esac - export USE_SNAPPY=$(usex snappy) - export USE_TCMALLOC=no -} - -src_compile() { - emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a -} - -src_test() { - emake check -} - -src_install() { - insinto /usr/include - doins -r include/* helpers/memenv/memenv.h - dolib.so libleveldb*$(get_libname)* - use static-libs && dolib.a libleveldb.a - dolib.a libmemenv.a -} diff --git a/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild b/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild deleted file mode 100644 index 397354b0f635..000000000000 --- a/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="a fast key-value storage library written at Google" -HOMEPAGE="https://github.com/google/leveldb" -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~ppc ~ppc64 x86" -IUSE="+snappy static-libs" - -DEPEND=" - snappy? ( - app-arch/snappy - static-libs? ( app-arch/snappy[static-libs] ) - )" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.9.0-configure.patch - epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch -} - -src_configure() { - # These vars all get picked up by build_detect_platform - # which the Makefile runs for us automatically. - tc-export AR CC CXX - export OPT="-DNDEBUG ${CPPFLAGS}" - # Probably needs more filling out - export TARGET_OS - case ${CHOST} in - *) TARGET_OS="Linux";; - esac - export USE_SNAPPY=$(usex snappy) - export USE_TCMALLOC=no -} - -src_compile() { - emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a -} - -src_test() { - emake check -} - -src_install() { - insinto /usr/include - doins -r include/* helpers/memenv/memenv.h - dolib.so libleveldb*$(get_libname)* - use static-libs && dolib.a libleveldb.a - dolib.a libmemenv.a -} -- 2.26.2