From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3DF1B1382C5 for ; Wed, 9 Dec 2020 20:26:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6470AE09B4; Wed, 9 Dec 2020 20:26:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4FC13E09B4 for ; Wed, 9 Dec 2020 20:26:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE5EB3406DD for ; Wed, 9 Dec 2020 20:26:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70B95473 for ; Wed, 9 Dec 2020 20:26:15 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1607545567.dce36de55ade7598eaddbeb2047bea53a498056a.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cddlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/cddlib/cddlib-094m.ebuild X-VCS-Directories: sci-libs/cddlib/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: dce36de55ade7598eaddbeb2047bea53a498056a X-VCS-Branch: master Date: Wed, 9 Dec 2020 20:26:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 069c9b18-6723-495c-abd4-412692a5c3c1 X-Archives-Hash: 349c9bc3556f9b45fa7413792ee914a1 commit: dce36de55ade7598eaddbeb2047bea53a498056a Author: Michael Orlitzky gentoo org> AuthorDate: Wed Dec 9 20:13:43 2020 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Wed Dec 9 20:26:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce36de5 sci-libs/cddlib: new upstream version 0.94m. This version moves the header files to a soon-to-be-standard location (so that Debian, Fedora, et cetera don't all have to move them) and is going to break some consumers as a result. For that reason, I opted not to package the previous version right away. This version, however, contains a critical bug fix as well. So users need the option to upgrade. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Michael Orlitzky gentoo.org> sci-libs/cddlib/cddlib-094m.ebuild | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/sci-libs/cddlib/cddlib-094m.ebuild b/sci-libs/cddlib/cddlib-094m.ebuild new file mode 100644 index 00000000000..73468ab72e6 --- /dev/null +++ b/sci-libs/cddlib/cddlib-094m.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# This should have been dealt with versionator in the direction +# 0.94x -> 094x - now we are screwed. +MY_PV="0.94j" +MY_P="${PN}-${MY_PV}" +DESCRIPTION="C library implementing the Double Description Method" +HOMEPAGE="https://www.inf.ethz.ch/personal/fukudak/cdd_home/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs tools" + +DEPEND="dev-libs/gmp:0" +RDEPEND="dev-libs/gmp:0=" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + + if ! use tools; then + rm "${ED}"/usr/bin/* || die + fi + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + # Nobody wants the dvi/ps manual... + rm "${ED}/usr/share/doc/${PF}"/cddlibman.{dvi,ps} || die + + # since the PDF manual is installed by default. + if ! use doc; then + rm "${ED}/usr/share/doc/${PF}"/cddlibman.pdf || die + fi + + # The docs and examples are *both* installed by default, so we + # have to remove the examples if the user doesn't want them. + docompress -x "/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} + if ! use examples; then + rm -r "${ED}/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} || die + fi +}