commit:     c9d924c16cd035cbbb89e4a813d33666075eebc7
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Dec 30 16:28:38 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Dec 31 17:22:01 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c9d924c1

dev-python/datrie: new dep

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/datrie/datrie-0.8.2.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-python/datrie/metadata.xml        | 12 ++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/datrie/datrie-0.8.2.ebuild 
b/dev-python/datrie/datrie-0.8.2.ebuild
new file mode 100644
index 000000000..de547910d
--- /dev/null
+++ b/dev-python/datrie/datrie-0.8.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Implements a topological sort algorithm"
+HOMEPAGE="https://gitlab.com/ericvsmith/toposort";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]
+       test? (
+               dev-python/hypothesis[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # do not depend on pytest-runner
+       sed -i "/pytest-runner/d" setup.py || die
+       distutils-r1_python_prepare_all
+}

diff --git a/dev-python/datrie/metadata.xml b/dev-python/datrie/metadata.xml
new file mode 100644
index 000000000..a399a3d31
--- /dev/null
+++ b/dev-python/datrie/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="project">
+               <email>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">pytries/datrie</remote-id>
+               <remote-id type="pypi">datrie</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to