commit: cf8616b021a79c5317ecedc2e28f4c8592b21f09
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 20:29:11 2020 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 20:29:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8616b0
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 <AT> gentoo.org>
sci-libs/libhomfly/Manifest | 1 +
sci-libs/libhomfly/libhomfly-1.02.6.ebuild | 29 +++++++++++++++++++++++++++++
sci-libs/libhomfly/metadata.xml | 24 ++++++++++++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/sci-libs/libhomfly/Manifest b/sci-libs/libhomfly/Manifest
new file mode 100644
index 00000000000..e40e3f0519c
--- /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 00000000000..717bc354d1d
--- /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 00000000000..e02bf222cf6
--- /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>[email protected]</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>[email protected]</email>
+ <name>François Bissey</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+
+ <upstream>
+ <remote-id type="github">miguelmarco/libhomfly</remote-id>
+ </upstream>
+</pkgmetadata>