* [gentoo-commits] proj/sci:master commit in: dev-python/hopcroftkarp/files/, dev-python/hopcroftkarp/
@ 2020-09-24 18:44 Aisha Tammy
0 siblings, 0 replies; only message in thread
From: Aisha Tammy @ 2020-09-24 18:44 UTC (permalink / raw
To: gentoo-commits
commit: 609da66bf7c8950365b55d192df18bcb38f1023e
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Sep 24 18:41:40 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Sep 24 18:41:40 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=609da66b
dev-python/hopcroftkarp: max matching on bipartite graph
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
.../files/hopcroftkarp-1.2.5_p1-setup_py.patch | 13 +++++++++++++
.../hopcroftkarp/hopcroftkarp-1.2.5_p1.ebuild | 22 ++++++++++++++++++++++
dev-python/hopcroftkarp/metadata.xml | 12 ++++++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-python/hopcroftkarp/files/hopcroftkarp-1.2.5_p1-setup_py.patch b/dev-python/hopcroftkarp/files/hopcroftkarp-1.2.5_p1-setup_py.patch
new file mode 100644
index 000000000..b76b882e9
--- /dev/null
+++ b/dev-python/hopcroftkarp/files/hopcroftkarp-1.2.5_p1-setup_py.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index 552ab4e..022b5d3 100644
+--- a/setup.py
++++ b/setup.py
+@@ -10,7 +10,7 @@ setup(
+ url='https://github.com/sofiat-olaosebikan/hopcroftkarp',
+ license = 'GPL',
+ keywords = 'hopcroftkarp algorithm, maximum cardinality matching, bipartite graphs',
+- packages=find_packages(),
++ packages=[ 'hopcroftkarp' ],
+ zip_safe=True,
+ package_dir={'hopcroftkarp': 'hopcroftkarp'},
+ test_suite='test',
diff --git a/dev-python/hopcroftkarp/hopcroftkarp-1.2.5_p1.ebuild b/dev-python/hopcroftkarp/hopcroftkarp-1.2.5_p1.ebuild
new file mode 100644
index 000000000..5077b4790
--- /dev/null
+++ b/dev-python/hopcroftkarp/hopcroftkarp-1.2.5_p1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="python frontend for the fast ripser tda tool"
+HOMEPAGE="https://ripser.scikit-tda.org/"
+COMMIT="2846e1dd3265d95d2bddb0cf4190b830cbb4efe6"
+SRC_URI="https://github.com/sofiatolaosebikan/hopcroftkarp/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COMMIT}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-setup_py.patch )
+
+distutils_enable_tests pytest
diff --git a/dev-python/hopcroftkarp/metadata.xml b/dev-python/hopcroftkarp/metadata.xml
new file mode 100644
index 000000000..2f2c0b51c
--- /dev/null
+++ b/dev-python/hopcroftkarp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@aisha.cc</email>
+ <name>Aisha Tammy</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-24 18:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-24 18:44 [gentoo-commits] proj/sci:master commit in: dev-python/hopcroftkarp/files/, dev-python/hopcroftkarp/ Aisha Tammy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox