1 |
commit: f38faa162d6b25028e38e71fc1015ca63eb71159 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 05:54:35 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 07:50:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f38faa16 |
7 |
|
8 |
dev-python/gsd: Bump to 2.5.0 |
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.0.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/gsd/Manifest b/dev-python/gsd/Manifest |
17 |
index 17518b905cd..3215684416a 100644 |
18 |
--- a/dev-python/gsd/Manifest |
19 |
+++ b/dev-python/gsd/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST gsd-v2.4.1.tar.gz 113343 BLAKE2B 5d87fe5dbac037aeccf2ef800fc18accb1888606ed904b15910480032edaaa21bed3adf264e17ea5dc42f6600321c838c15e73617a1d8f49fb9a8e5e79a0bff4 SHA512 47982500160dc2a125ae2d796fccb1fb31fa501f059c8dee9be1342713d62e3d6ce71b534dbc91daedbf6981299efa4b81382afa13283d647c0848bbd3591c91 |
22 |
DIST gsd-v2.4.2.tar.gz 111622 BLAKE2B a4e08cc03ced2158818cf35e3f827d819b2248de52a21060e06a8d47810e2cf80fc25c9033c8b231b58c723ae794b9066261fdfcc5d19713a916ec9aa31adddc SHA512 8db05903bfcfc45bf1ffc326ffe67ce4d980a2b91596256fa29d006c73f742ac69b829ea2f4b7e1508bf5279c584fd66316e2e0776236bdce791e2cb46093ed3 |
23 |
+DIST gsd-v2.5.0.tar.gz 105537 BLAKE2B dbd9cef142405bae4e99c180f6b7c65cb60240fe45e200643b8efd388c72830a70d97c649fdb686afeed4eb44386cbe68165ed105bd67424f1cbd3657159c16a SHA512 f5eda751bdfa4d3eae980029fe5594fc5698d68265784f089b0997441c18f58d70d71cf52a0b4fd208708aba0162164d1f640440964b6e211db856f10c7c0c67 |
24 |
|
25 |
diff --git a/dev-python/gsd/gsd-2.5.0.ebuild b/dev-python/gsd/gsd-2.5.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..c74dbc1734f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/gsd/gsd-2.5.0.ebuild |
30 |
@@ -0,0 +1,29 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_P=${P/-/-v} |
40 |
+DESCRIPTION="GSD - file format specification and a library to read and write it" |
41 |
+HOMEPAGE="https://github.com/glotzerlab/gsd" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/glotzerlab/gsd/releases/download/v${PV}/${MY_P}.tar.gz" |
44 |
+S="${WORKDIR}/${MY_P}" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]" |
51 |
+RDEPEND=${DEPEND} |
52 |
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+python_test() { |
57 |
+ cd "${BUILD_DIR}"/lib || die |
58 |
+ epytest gsd/test |
59 |
+} |