Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gsd/
Date: Thu, 23 Jun 2022 07:19:25
Message-Id: 1655968751.ba72f1bc573cb2e52fa452ba399347e1fa1bedd7.mgorny@gentoo
1 commit: ba72f1bc573cb2e52fa452ba399347e1fa1bedd7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 23 05:56:33 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 23 07:19:11 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba72f1bc
7
8 dev-python/gsd: Bump to 2.5.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/gsd/Manifest | 1 +
13 dev-python/gsd/gsd-2.5.3.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/gsd/Manifest b/dev-python/gsd/Manifest
17 index 91cfffe0c474..58f2073ace29 100644
18 --- a/dev-python/gsd/Manifest
19 +++ b/dev-python/gsd/Manifest
20 @@ -1 +1,2 @@
21 DIST gsd-v2.5.2.tar.gz 105448 BLAKE2B 408e66a91ea056e8c863e23dae439009e5f802f38d5e2a3b89bbb07c574ad61827fa9c2767729c37dcc8fa7ecb1fc3be922755da0ac0dc922ead2a365ce66a10 SHA512 2a2afb56b9f836608523b2946a0d2ca94511457506d02038d496b374ccb96dc0daad6435f9ee63b0937837b725d6288325c066d75d2ac0b0c6d9da4beb9eb082
22 +DIST gsd-v2.5.3.tar.gz 106104 BLAKE2B 39cadcca6a6660c736be8ce576b45d86a82a499bd21b6c818dcc6d307750940a8be85fdd63883d7aac9a416f5eddc55793ca2ab0da0b2373901c394d63ebe3f7 SHA512 3e3d5f8dece5553a4bc68b23aff8320b99169da5b995d1655da85c37e84a9e69d30f73ed3925e2e49b1c97dc875c594258dd15f3669337ca4c91914cab90d49c
23
24 diff --git a/dev-python/gsd/gsd-2.5.3.ebuild b/dev-python/gsd/gsd-2.5.3.ebuild
25 new file mode 100644
26 index 000000000000..30df9f182655
27 --- /dev/null
28 +++ b/dev-python/gsd/gsd-2.5.3.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[${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 +}