Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/datrie/
Date: Thu, 31 Dec 2020 17:26:57
Message-Id: 1609435321.c9d924c16cd035cbbb89e4a813d33666075eebc7.epsilon-0@gentoo
1 commit: c9d924c16cd035cbbb89e4a813d33666075eebc7
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Wed Dec 30 16:28:38 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Thu Dec 31 17:22:01 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c9d924c1
7
8 dev-python/datrie: new dep
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
13
14 dev-python/datrie/datrie-0.8.2.ebuild | 31 +++++++++++++++++++++++++++++++
15 dev-python/datrie/metadata.xml | 12 ++++++++++++
16 2 files changed, 43 insertions(+)
17
18 diff --git a/dev-python/datrie/datrie-0.8.2.ebuild b/dev-python/datrie/datrie-0.8.2.ebuild
19 new file mode 100644
20 index 000000000..de547910d
21 --- /dev/null
22 +++ b/dev-python/datrie/datrie-0.8.2.ebuild
23 @@ -0,0 +1,31 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +PYTHON_COMPAT=( python3_{7,8,9} )
30 +
31 +inherit distutils-r1
32 +
33 +DESCRIPTION="Implements a topological sort algorithm"
34 +HOMEPAGE="https://gitlab.com/ericvsmith/toposort"
35 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
36 +
37 +LICENSE="LGPL-2+"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +
41 +BDEPEND="
42 + dev-python/cython[${PYTHON_USEDEP}]
43 + test? (
44 + dev-python/hypothesis[${PYTHON_USEDEP}]
45 + )
46 +"
47 +
48 +distutils_enable_tests pytest
49 +
50 +python_prepare_all() {
51 + # do not depend on pytest-runner
52 + sed -i "/pytest-runner/d" setup.py || die
53 + distutils-r1_python_prepare_all
54 +}
55
56 diff --git a/dev-python/datrie/metadata.xml b/dev-python/datrie/metadata.xml
57 new file mode 100644
58 index 000000000..a399a3d31
59 --- /dev/null
60 +++ b/dev-python/datrie/metadata.xml
61 @@ -0,0 +1,12 @@
62 +<?xml version="1.0" encoding="UTF-8"?>
63 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
64 +<pkgmetadata>
65 + <maintainer type="project">
66 + <email>sci@g.o</email>
67 + <name>Gentoo Science Project</name>
68 + </maintainer>
69 + <upstream>
70 + <remote-id type="github">pytries/datrie</remote-id>
71 + <remote-id type="pypi">datrie</remote-id>
72 + </upstream>
73 +</pkgmetadata>