1 |
commit: b759c063d1b4c437265fc470c466a9b40aa459f4 |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Sat Sep 26 09:30:54 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Sep 26 09:30:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b759c063 |
7 |
|
8 |
dev-python/pyvote: new package |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
dev-python/pyvote/ChangeLog | 10 ++++++++++ |
14 |
dev-python/pyvote/metadata.xml | 19 +++++++++++++++++++ |
15 |
dev-python/pyvote/pyvote-0.1.ebuild | 24 ++++++++++++++++++++++++ |
16 |
3 files changed, 53 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pyvote/ChangeLog b/dev-python/pyvote/ChangeLog |
19 |
new file mode 100644 |
20 |
index 000000000..4f5fced11 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/pyvote/ChangeLog |
23 |
@@ -0,0 +1,10 @@ |
24 |
+ 08 May 2020; <chymera@g.o> pyvote-0.1.ebuild: |
25 |
+ dev-python/pyvote: updated pPYTHON_COMPAT |
26 |
+ |
27 |
+ 10 Apr 2020; <chymera@g.o> -pyvote-9999.ebuild, pyvote-0.1.ebuild: |
28 |
+ dev-python/pyvote: dropped python2 support And removed live ebuild |
29 |
+ |
30 |
+*trimesh-3.3.5 (04 Nov 2019) |
31 |
+ |
32 |
+ 04 Nov 2019; <chymera@g.o> +metadata.xml, +trimesh-3.3.5.ebuild: |
33 |
+ dev-python/trimesh: version bump ahead of Genoo Science |
34 |
|
35 |
diff --git a/dev-python/pyvote/metadata.xml b/dev-python/pyvote/metadata.xml |
36 |
new file mode 100644 |
37 |
index 000000000..7e567469c |
38 |
--- /dev/null |
39 |
+++ b/dev-python/pyvote/metadata.xml |
40 |
@@ -0,0 +1,19 @@ |
41 |
+<?xml version='1.0' encoding='UTF-8'?> |
42 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
43 |
+<pkgmetadata> |
44 |
+ <maintainer type="person"> |
45 |
+ <email>horea.christ@×××××.com</email> |
46 |
+ <name>Horea Christian</name> |
47 |
+ </maintainer> |
48 |
+ <maintainer type="project"> |
49 |
+ <email>sci@g.o</email> |
50 |
+ <name>Gentoo Science Project</name> |
51 |
+ </maintainer> |
52 |
+ <longdescription lang="en"> |
53 |
+ This package provides a Python module and a Bash interface which can |
54 |
+ compute the probability of a 2-choice popular election being decided by |
55 |
+ one vote. Predictions are based on either a series of forecasts, a beta |
56 |
+ (or normal) probability density function for outcomes, or a fixed |
57 |
+ outcome probability. |
58 |
+ </longdescription> |
59 |
+</pkgmetadata> |
60 |
|
61 |
diff --git a/dev-python/pyvote/pyvote-0.1.ebuild b/dev-python/pyvote/pyvote-0.1.ebuild |
62 |
new file mode 100644 |
63 |
index 000000000..6b52d0e28 |
64 |
--- /dev/null |
65 |
+++ b/dev-python/pyvote/pyvote-0.1.ebuild |
66 |
@@ -0,0 +1,24 @@ |
67 |
+# Copyright 1999-2020 Gentoo Authors |
68 |
+# Distributed under the terms of the GNU General Public License v2 |
69 |
+ |
70 |
+EAPI=7 |
71 |
+ |
72 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
73 |
+ |
74 |
+inherit distutils-r1 |
75 |
+ |
76 |
+DESCRIPTION="Estimate the probability of votes changing election outcomes" |
77 |
+HOMEPAGE="https://github.com/TheChymera/pyvote.git" |
78 |
+SRC_URI="https://github.com/TheChymera/pyvote/archive/${PV}.tar.gz -> ${P}.tar.gz" |
79 |
+ |
80 |
+LICENSE="GPL-3" |
81 |
+SLOT="0" |
82 |
+KEYWORDS="~amd64 ~x86" |
83 |
+IUSE="test" |
84 |
+ |
85 |
+DEPEND="" |
86 |
+RDEPEND=" |
87 |
+ dev-python/argh[${PYTHON_USEDEP}] |
88 |
+ dev-python/mpmath[${PYTHON_USEDEP}] |
89 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
90 |
+" |