Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gsd/
Date: Wed, 30 Nov 2022 19:42:08
Message-Id: 1669837316.ce99357ea02fc2610e5d6015774fd7ef5782d834.arthurzam@gentoo
1 commit: ce99357ea02fc2610e5d6015774fd7ef5782d834
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 19:19:53 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 19:41:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce99357e
7
8 dev-python/gsd: add 2.7.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/gsd/Manifest | 1 +
13 dev-python/gsd/gsd-2.7.0.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/gsd/Manifest b/dev-python/gsd/Manifest
17 index 9e307130cdcc..32a3b9a47193 100644
18 --- a/dev-python/gsd/Manifest
19 +++ b/dev-python/gsd/Manifest
20 @@ -1 +1,2 @@
21 DIST gsd-v2.6.1.tar.gz 106134 BLAKE2B 2b2e54c9ee654f384340c642e52a9c154520490c48ec87b31a7186b2ccd494cf4918620c999456d03e128a0b36b588e4dc180904f5f553aef832e7e217e60a56 SHA512 732d291e410a47885449584bf09521398075e3074c4abe49301f07f4cb30a6841c2ddc8431d8aadbc4896f61cf32605b22422b7278da26827c303b4f6476e459
22 +DIST gsd-v2.7.0.tar.gz 106584 BLAKE2B 9a37d04f2c975d84f8f2d23080cd934bcec3025e8a3047483a809527bc51424c5729966482bafe9c996c8e4c7c7f1594fc8292316f46dd676e6a88ad7b0360c2 SHA512 042c3ce97183068031a754e3e5676effd4d1e30406ac24e06510c72d2ceef22fdb8c62866cf7884aa578f18eadb1f7cb5385ebddfc8ede426a4fee6ecb7fb9fa
23
24 diff --git a/dev-python/gsd/gsd-2.7.0.ebuild b/dev-python/gsd/gsd-2.7.0.ebuild
25 new file mode 100644
26 index 000000000000..fd7b6e2d2c6e
27 --- /dev/null
28 +++ b/dev-python/gsd/gsd-2.7.0.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_P=${P/-/-v}
41 +DESCRIPTION="GSD - file format specification and a library to read and write it"
42 +HOMEPAGE="
43 + https://github.com/glotzerlab/gsd/
44 + https://pypi.org/project/gsd/
45 +"
46 +SRC_URI="
47 + https://github.com/glotzerlab/gsd/releases/download/v${PV}/${MY_P}.tar.gz
48 +"
49 +S=${WORKDIR}/${MY_P}
50 +
51 +LICENSE="Apache-2.0"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +DEPEND="
56 + >=dev-python/numpy-1.23.4[${PYTHON_USEDEP}]
57 +"
58 +RDEPEND="
59 + ${DEPEND}
60 +"
61 +BDEPEND="
62 + dev-python/cython[${PYTHON_USEDEP}]
63 +"
64 +
65 +distutils_enable_tests pytest
66 +
67 +python_test() {
68 + cd "${T}" || die
69 + epytest --pyargs gsd
70 +}