From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1138101-garchives=archives.gentoo.org@lists.gentoo.org>
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 343D0138350
	for <garchives@archives.gentoo.org>; Wed, 15 Jan 2020 13:53:11 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6CEE2E0844;
	Wed, 15 Jan 2020 13:53:10 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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 43D11E0844
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Jan 2020 13:53:10 +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 AD33234E08E
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Jan 2020 13:53:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5890192
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Jan 2020 13:53:06 +0000 (UTC)
From: "Michael Orlitzky" <mjo@gentoo.org>
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" <mjo@gentoo.org>
Message-ID: <1579096228.78db3420a50b36bcc4d24b8dbb98ae4a30677dd2.mjo@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libbraiding/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-libs/libbraiding/Manifest sci-libs/libbraiding/libbraiding-1.0.ebuild sci-libs/libbraiding/metadata.xml
X-VCS-Directories: sci-libs/libbraiding/
X-VCS-Committer: mjo
X-VCS-Committer-Name: Michael Orlitzky
X-VCS-Revision: 78db3420a50b36bcc4d24b8dbb98ae4a30677dd2
X-VCS-Branch: master
Date: Wed, 15 Jan 2020 13:53:06 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: efa56e4c-def5-4781-94cd-d57fdffb6879
X-Archives-Hash: 51fbd86f621ae2f3ba8fc31521bf132b

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>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>