commit:     9cf11e97ad62e100d334ae50d58d5772e6aaa7a7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 21 08:52:20 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 09:15:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf11e97

dev-python/mrcfile: New dep of GridDataFormats, v1.3.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/mrcfile/Manifest             |  1 +
 dev-python/mrcfile/metadata.xml         | 13 +++++++++++++
 dev-python/mrcfile/mrcfile-1.3.0.ebuild | 29 +++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dev-python/mrcfile/Manifest b/dev-python/mrcfile/Manifest
new file mode 100644
index 000000000000..3b4864e0e13d
--- /dev/null
+++ b/dev-python/mrcfile/Manifest
@@ -0,0 +1 @@
+DIST mrcfile-1.3.0.gh.tar.gz 148140808 BLAKE2B 
8ede240df4a3d0132a3bfa230377f496db84c56074450e5744c696158b2afd2c091719fbb314a04eff7f21f10eaeaa9cc6347e45bf82b0c4972db4ecc4a111a4
 SHA512 
57fff6e7c71b41681c94c60fbb69d0712ec7e342329624d8c20e212560eaa0f2b573d02ec5fcce39b9b7077e66d9bab463afc227d6b1f24134eddb17e56fdff1

diff --git a/dev-python/mrcfile/metadata.xml b/dev-python/mrcfile/metadata.xml
new file mode 100644
index 000000000000..742869cca186
--- /dev/null
+++ b/dev-python/mrcfile/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>pyt...@gentoo.org</email>
+               <name>Python</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="pypi">mrcfile</remote-id>
+               <remote-id type="github">ccpem/mrcfile</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/mrcfile/mrcfile-1.3.0.ebuild 
b/dev-python/mrcfile/mrcfile-1.3.0.ebuild
new file mode 100644
index 000000000000..b220244e71b1
--- /dev/null
+++ b/dev-python/mrcfile/mrcfile-1.3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="MRC2014 file format I/O library"
+HOMEPAGE="
+       https://pypi.org/project/mrcfile/
+       https://github.com/ccpem/mrcfile/
+"
+SRC_URI="
+       https://github.com/ccpem/mrcfile/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       >=dev-python/numpy-1.12.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest

Reply via email to