Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/snuggs/
Date: Tue, 18 Jan 2022 16:37:58
Message-Id: 1642523867.00f4b8580ff4f674371314ce2ca7f2366dbfc0c5.andrewammerlaan@gentoo
1 commit: 00f4b8580ff4f674371314ce2ca7f2366dbfc0c5
2 Author: Thomas Bettler <thomas.bettler <AT> gmail <DOT> com>
3 AuthorDate: Sun Jan 16 10:57:30 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 18 16:37:47 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=00f4b858
7
8 dev-python/snuggs: new 1.4.7
9
10 dep for dev-python/rasterio
11
12 status: test pass, works for me
13 Signed-off-by: Thomas Bettler <thomas.bettler <AT> gmail.com>
14 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
15
16 dev-python/snuggs/metadata.xml | 17 +++++++++++++++++
17 dev-python/snuggs/snuggs-1.4.7.ebuild | 26 ++++++++++++++++++++++++++
18 2 files changed, 43 insertions(+)
19
20 diff --git a/dev-python/snuggs/metadata.xml b/dev-python/snuggs/metadata.xml
21 new file mode 100644
22 index 000000000..19390156e
23 --- /dev/null
24 +++ b/dev-python/snuggs/metadata.xml
25 @@ -0,0 +1,17 @@
26 +<?xml version="1.0" encoding="UTF-8"?>
27 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
28 +<pkgmetadata>
29 + <maintainer type="project">
30 + <email>sci@g.o</email>
31 + <name>Gentoo Science Project</name>
32 + </maintainer>
33 + <longdescription lang="en">
34 + Snuggs library parses S-expressions using numpy. Available function
35 + include arithmetic and logical operators. Also members of the numpy
36 + module such as "asarray()", "mean()" and "where" are available.
37 +</longdescription>
38 + <upstream>
39 + <remote-id type="github">mapbox/snuggs</remote-id>
40 + <remote-id type="pypi">snuggs</remote-id>
41 + </upstream>
42 +</pkgmetadata>
43
44 diff --git a/dev-python/snuggs/snuggs-1.4.7.ebuild b/dev-python/snuggs/snuggs-1.4.7.ebuild
45 new file mode 100644
46 index 000000000..ebae883ff
47 --- /dev/null
48 +++ b/dev-python/snuggs/snuggs-1.4.7.ebuild
49 @@ -0,0 +1,26 @@
50 +# Copyright 1999-2022 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=8
54 +
55 +PYTHON_COMPAT=( python3_{8..10} )
56 +DISTUTILS_USE_PEP517="setuptools"
57 +inherit distutils-r1
58 +
59 +DESCRIPTION="S-expressions for numpy"
60 +HOMEPAGE="https://github.com/mapbox/snuggs"
61 +SRC_URI="https://github.com/mapbox/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
62 +
63 +LICENSE="MIT"
64 +SLOT="0"
65 +KEYWORDS="~amd64 ~x86"
66 +
67 +RDEPEND="
68 + dev-python/numpy[${PYTHON_USEDEP}]
69 + dev-python/pyparsing[${PYTHON_USEDEP}]
70 +"
71 +BDEPEND="
72 + test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )
73 +"
74 +
75 +distutils_enable_tests pytest