commit:     78db3420a50b36bcc4d24b8dbb98ae4a30677dd2
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 01:45:58 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 13:50:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78db3420

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 <AT> gentoo.org>

 sci-libs/libbraiding/Manifest               |  1 +
 sci-libs/libbraiding/libbraiding-1.0.ebuild | 28 ++++++++++++++++++++++++++
 sci-libs/libbraiding/metadata.xml           | 31 +++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/sci-libs/libbraiding/Manifest b/sci-libs/libbraiding/Manifest
new file mode 100644
index 00000000000..65b1c811bcd
--- /dev/null
+++ b/sci-libs/libbraiding/Manifest
@@ -0,0 +1 @@
+DIST libbraiding-1.0.tar.gz 377140 BLAKE2B 
93520ca1af05dfe77028d3a8d94e94fb4b387662c0f71048db5aa8b1dcc4115996be2ac95108c01a574095cdaba97db1997a65e98a64f87230dda4ae1b6bd8cb
 SHA512 
0fb389d4483b665165bf9ef8dc770b51884eb4ab576c4ca06944080d87ddae806bcf4ebee1fd586f97de171d2ec79c89aeef86ffdeac10eed49ffd0541989ee6

diff --git a/sci-libs/libbraiding/libbraiding-1.0.ebuild 
b/sci-libs/libbraiding/libbraiding-1.0.ebuild
new file mode 100644
index 00000000000..591115bbc22
--- /dev/null
+++ b/sci-libs/libbraiding/libbraiding-1.0.ebuild
@@ -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
+}

diff --git a/sci-libs/libbraiding/metadata.xml 
b/sci-libs/libbraiding/metadata.xml
new file mode 100644
index 00000000000..1b46fd9baaa
--- /dev/null
+++ b/sci-libs/libbraiding/metadata.xml
@@ -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>m...@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.bis...@gmail.com</email>
+    <name>François Bissey</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-ma...@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>

Reply via email to