diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2020-08-12 16:29:11 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-08-12 16:29:11 -0400 |
commit | cf8616b021a79c5317ecedc2e28f4c8592b21f09 (patch) | |
tree | 53e12efc0b80ddfe92d7a067a7aab03c341fb8a9 | |
parent | app-admin/apg: Maintainer retired (diff) | |
download | gentoo-cf8616b021a79c5317ecedc2e28f4c8592b21f09.tar.gz gentoo-cf8616b021a79c5317ecedc2e28f4c8592b21f09.tar.bz2 gentoo-cf8616b021a79c5317ecedc2e28f4c8592b21f09.zip |
sci-libs/libhomfly: new library for homfly polynomial computation.
This package is used by SageMath, and sage will soon be able to use a
system copy of libhomfly when it exists. Having libhomfly available in
Gentoo therefore avoids pointless rebuilds of it for Gentoo users of
SageMath. Thanks are due to François Bissey, whose ebuild was imported
more or less verbatim from the sage-on-gentoo overlay.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-rw-r--r-- | sci-libs/libhomfly/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/libhomfly/libhomfly-1.02.6.ebuild | 29 | ||||
-rw-r--r-- | sci-libs/libhomfly/metadata.xml | 24 |
3 files changed, 54 insertions, 0 deletions
diff --git a/sci-libs/libhomfly/Manifest b/sci-libs/libhomfly/Manifest new file mode 100644 index 000000000000..e40e3f0519c7 --- /dev/null +++ b/sci-libs/libhomfly/Manifest @@ -0,0 +1 @@ +DIST libhomfly-1.02r6.tar.gz 359354 BLAKE2B 7b60c54e56777dc4b81240cbdd63726591323dc6d841f8d56d641ea304d9a4c1c3ffb3078fc54861f22b5007b36bd32c5f397e2fe8d40f10362eca8d08ba4915 SHA512 44f81815a0ba4c0358d433eb9769944af2ee02790d78aaa08e791d03ba68ba3dcf0389b4287f687211e6a7ba84e1bea3d2ebe69fc8bb4f12d677b7f54872d618 diff --git a/sci-libs/libhomfly/libhomfly-1.02.6.ebuild b/sci-libs/libhomfly/libhomfly-1.02.6.ebuild new file mode 100644 index 000000000000..717bc354d1d4 --- /dev/null +++ b/sci-libs/libhomfly/libhomfly-1.02.6.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV=$(ver_rs 2 r) +MY_P="${PN}-${MY_PV}" +DESCRIPTION="Library to compute the homfly polynomial of a link" +HOMEPAGE="https://github.com/miguelmarco/libhomfly" +SRC_URI="https://github.com/miguelmarco/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static-libs" + +DEPEND="dev-libs/boehm-gc" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure(){ + econf $(use_enable static-libs static) +} + +src_install(){ + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-libs/libhomfly/metadata.xml b/sci-libs/libhomfly/metadata.xml new file mode 100644 index 000000000000..e02bf222cf6c --- /dev/null +++ b/sci-libs/libhomfly/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + <!-- + mjo: François maintained this package in the sage-on-gentoo overlay + long before I moved it into ::gentoo. You don't need an ACK from me + to merge his changes. + --> + <maintainer type="person"> + <email>frp.bissey@gmail.com</email> + <name>François Bissey</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + + <upstream> + <remote-id type="github">miguelmarco/libhomfly</remote-id> + </upstream> +</pkgmetadata> |