1 |
commit: a445cb19ce62190ec42aa9dda0617507ca20ac96 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 19 19:06:39 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 19 19:12:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a445cb19 |
7 |
|
8 |
dev-python/gsd: add 2.6.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.6.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/gsd/Manifest b/dev-python/gsd/Manifest |
17 |
index 58f2073ace29..8cd6ab218629 100644 |
18 |
--- a/dev-python/gsd/Manifest |
19 |
+++ b/dev-python/gsd/Manifest |
20 |
@@ -1,2 +1,3 @@ |
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 |
+DIST gsd-v2.6.0.tar.gz 105895 BLAKE2B d320829fb3a1d44feb637bf1c567908f74f0a0c82502b6af147921b547aca8fb0082cc185872398c5fbaefb6b797c0595ead9d1c8ce73ad3a72b961cb18f2a7f SHA512 968bdd0d2c3aeb993d0a91c3e69c17bcf8d8f0e6ff70cf3ff18655a87320cf522174e98996f5688ee205ac2ce2036b7cf7c1b4b21286a481ac21aa4a94ec38f6 |
24 |
|
25 |
diff --git a/dev-python/gsd/gsd-2.6.0.ebuild b/dev-python/gsd/gsd-2.6.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..f0c47aecddbe |
28 |
--- /dev/null |
29 |
+++ b/dev-python/gsd/gsd-2.6.0.ebuild |
30 |
@@ -0,0 +1,39 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_P=${P/-/-v} |
42 |
+DESCRIPTION="GSD - file format specification and a library to read and write it" |
43 |
+HOMEPAGE=" |
44 |
+ https://github.com/glotzerlab/gsd/ |
45 |
+ https://pypi.org/project/gsd/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://github.com/glotzerlab/gsd/releases/download/v${PV}/${MY_P}.tar.gz |
49 |
+" |
50 |
+S=${WORKDIR}/${MY_P} |
51 |
+ |
52 |
+LICENSE="Apache-2.0" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~x86" |
55 |
+ |
56 |
+DEPEND=" |
57 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+RDEPEND="${DEPEND}" |
60 |
+BDEPEND=" |
61 |
+ dev-python/cython[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+python_test() { |
67 |
+ cd "${T}" || die |
68 |
+ epytest --pyargs gsd |
69 |
+} |