sci-libs/libbraiding: new library for braid group computation.

François Bissey had an ebuild for the latest version of this package
in the sage-on-gentoo overlay, so I've imported that after adding a
few comments and an EAPI=7 bump.

Closes: https://bugs.gentoo.org/705432
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2020-01-14 20:45:58 -05:00
parent 35aa5d3b81
commit 78db3420a5
3 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST libbraiding-1.0.tar.gz 377140 BLAKE2B 93520ca1af05dfe77028d3a8d94e94fb4b387662c0f71048db5aa8b1dcc4115996be2ac95108c01a574095cdaba97db1997a65e98a64f87230dda4ae1b6bd8cb SHA512 0fb389d4483b665165bf9ef8dc770b51884eb4ab576c4ca06944080d87ddae806bcf4ebee1fd586f97de171d2ec79c89aeef86ffdeac10eed49ffd0541989ee6

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Expose the functionality of cbraid as a shared library"
HOMEPAGE="https://github.com/miguelmarco/libbraiding"
# The github release is missing the generated autotools files, like the
# ./configure script. Rather than involve autotools.eclass, let's just
# get it from sage.
SRC_URI="http://files.sagemath.org/spkg/upstream/${PN}/${P}.tar.gz"
# A few source headers still say GPLv2, but I believe that to be an
# oversight: https://github.com/jeanluct/cbraid/issues/4
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs"
src_configure(){
econf $(use_enable static-libs static)
}
src_install(){
default
find "${ED}" -name '*.la' -delete || die
}

View File

@@ -0,0 +1,31 @@
<?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>
<longdescription lang="en">
This is a project to expose the functionality of the cbraid
program as a shared library. The original goal was to include it
as a component of SageMath, but it can be used in any other C++
program.
</longdescription>
<upstream>
<remote-id type="github">miguelmarco/libbraiding</remote-id>
</upstream>
</pkgmetadata>